Hi,
I have a simple application with a horizontal bar with labels. You can see in my screenshot 1 how I created the bar series and how the result looks like.
When I modify the sorting of this horizontal bar (by default it's set to 'descending') towards sorting 'None', the sorting appears as ascending and the X-axis displays now the Y-value... very strange (see screenshot 2).
Can someone figure out or explain what's going on?
Thanks.
Series labels and sorting
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Series labels and sorting
Hello,
Yes, this appears to be a small defect in the Chart Editor which is now resolved. You will note that at runtime the code works correctly, e.g.DaVinci wrote: Can someone figure out or explain what's going on?
Code: Select all
HorizBar bar;
private void InitializeChart()
{
bar = new HorizBar(tChart1.Chart);
bar.Add(50, 0, "fifty");
bar.Add(80, 1, "eighty");
bar.Add(70, 2, "seventy");
bar.Add(60, 3, "sixty");
}
private void button4_Click(object sender, EventArgs e)
{
bar.XValues.Order = ValueListOrder.Ascending;
bar.CheckOrder();
}
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 |
Re: Series labels and sorting
Thanks for the clarification.