Hi,
I am displaying two different series in a Area type of WebChart in .Net Webforms. On the X-axis I am displaying Date and on Y-axis I am displaying Quantity. The two series shows the Quantity values in the Graph. The problem is that for many cases the dates are not displayed in ascending order or the order it is read from the excel file. Sometimes, it comes in random order & sometimes ascending order. I need the Chart to display data always on the ascending order of date. Although the data is stored in ascending order, I am not able to understand the erratic display of dates.
Please let me know if you have an idea.
Thanks
Gagan
Date Order Problem for two series in a WebChart
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Gagan,
You can try setting series's XValues being sorted in ascending order before populating them, for example:
You can try setting series's XValues being sorted in ascending order before populating them, for example:
Code: Select all
WebChart1.Chart[0].XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |