Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
StackedBarSeries label on center
posted

Hi,

We are using XamDataGrid with UnboundField. This UnboundField column contains XamDataChart with StackedBarSeries.

We have to show count/number in center of stacked bar series chart. We are able to do it using MarkerTemplate.

But if count is less eg. 2 the how to show it in center with tooltip for count? Is there any way to give LabelsPosition as "BestFit" available for RingSeries.

Please find attached POC and screenshot for reference

POC.zip
Parents
No Data
Reply
  • 34510
    Offline posted

    Hi Avinash,

    I added a converter to your project that is used to adjust the Label's Margin if there is not enough space to display the marker text.  If the area is too small then I adjust the Label Margin so that it displays on the right side of the divide making it visible.

    Let me know if you have any questions.

    POC.zip
Children