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
140
How to order the contents of the legend of my XamPieChart
posted

I would like to be able to order the contents of the legend of my XamPieChart. The legend data is numerical in category i.e. 0,1,2,3,4 etc.

Can I do this?

It does not look good as 4,2,1,0,5 etc

Parents
  • 30945
    Offline posted

    Hello Gill,

     

    Thank you for your post. I have been looking into the appearance that you are trying to achieve and the XamPieChart is ordering the items in the Legend, based on their position in the chart itself. What I can suggest, in order to order the items in the Legend is ordering the items in your data source. I have created a sample application for you, that shows how you can implement this approach.

     

    Please let me know if you need any further assistance on the matter,

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    PieChartOrdering.zip
Reply Children
No Data