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
65
Chart and sorting
posted

I have a 2D bar chart on a web page which has presorted data from a DataSet. My DataSet has the data sorted descending byt the chart always shows it as ascending. Is there and explicit way to set the bar display to sort by highest value? What could be causing this to display in the reverse order.

 TIA

Parents
No Data
Reply
  • 28496
    Offline posted

    this is a "legacy compatibility" issue where the control's behavior does not make much sense, but we have chosen to preserve it, to avoid breaking existing applications which rely on this quirk.

    the best workaround is to just create a DataView and change the sort on that column, then set the chart's DataSource to that DataView.

Children