We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Reverse order in legend

Hello,

When using a chart Bar with one series by items (see the sample inclosed), the series are displayed going from bottom to top of the screen. If we display a legend on the side (left or right), the series in the legend are displayed going from top to bottom of the screen. Is there a way to reverse the order of the display in the legend sa as to have the same direction betwwen the chart and the legend ?

Cordially,

Olivier Vayssié



BarLegend_bdfb6ee9.zip

3 Replies

MP Michael Prabhu M Syncfusion Team April 18, 2012 03:16 PM UTC

Hi Olivier,

Sorry for the delay in getting back at this.

We have analyzed your requirement and it can be achieved by over ridding the datatemplate of legend and adding the items in reverse order.

Based on it we have created a sample, Please find the attached sample.

Thanks,
Michael Prabhu



BarLegend_ed1f986a.zip


OV Olivier VAYSSIE April 23, 2012 12:58 PM UTC

Hello,

Thank you for your answer. That is exactly what we wanted to achieve.

Cordially,

Olivier Vayssié



MP Michael Prabhu M Syncfusion Team April 26, 2012 06:26 AM UTC

Hi Olivier,

Thanks for the update,We are glad that your requirement is complete.
Please let us know if you need further assistance on this.
Thanks,
Michael Prabhu.


Loader.
Live Chat Icon For mobile
Up arrow icon