Hi,
We are using tee chart for .net (Version 4.1.2013.7302)
We are facing problem while setting customized axis labels for error series. We are specifying labels while adding data in series.
Following is the data added in series. As it can be seen, for 4th and last point there are no labels specified.
While plotting chart with this series data, TeeChart sorts it in ascending order of x values, but it does not sort labels correctly.
This happens only when there exists empty label for one or more points.
series1.Add(0, 49, 10,"A",Color.Red);
series1.Add(1, 51, 11, "B", Color.Black);
series1.Add(5, 53, 12, "C", Color.Yellow);
series1.Add(3, 55, 13, "", Color.Green);
series1.Add(4, 57, 14, "E", Color.HotPink);
series1.Add(6, 59, 14, "", Color.Ivory);
Attached zip contains form application with this data. Clicking “Editor” button on launched form will bring up chart editor.
There on “Data” tab, we could see data is sorted but not the labels accordingly.
This problem does not occur if we specify labels for all points.
Could you please verify is this a bug or are we missing something?
Also, is there any existing way to avoid such sorting of data or if there is not any, is there any alternative to consider labels also while sorting?
Thanks,
Chandran
Labels for error series sorted incorrectly
Labels for error series sorted incorrectly
- Attachments
-
- WindowsFormsApplication2.zip
- Sample application to test label problem
- (16.6 KiB) Downloaded 574 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Labels for error series sorted incorrectly
It probably is a bug, yes, although the simplest way to work around this for the moment is to use, e.g.Chandran wrote: Could you please verify is this a bug or are we missing something?
Also, is there any existing way to avoid such sorting of data or if there is not any, is there any alternative to consider labels also while sorting?
Code: Select all
series1.Add(3, 55, 13, " ", Color.Green);
Code: Select all
series1.Add(3, 55, 13, "", Color.Green);
Best Regards,
Christopher Ireland / 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 |