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.
Unfortunately, activation email could not send to your email. Please try again.

Reverse order in legend

Thread ID:

Created:

Updated:

Platform:

Replies:

103089 Mar 29,2012 11:39 AM Apr 26,2012 02:26 AM WPF 3
loading
Tags: Chart
Olivier VAYSSIE
Asked On March 29, 2012 11:39 AM

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

Michael Prabhu M [Syncfusion]
Replied On April 18, 2012 11:16 AM

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

Olivier VAYSSIE
Replied On April 23, 2012 08:58 AM

Hello,

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

Cordially,

Olivier Vayssié


Michael Prabhu M [Syncfusion]
Replied On April 26, 2012 02:26 AM

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.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;