I noticed when a Nan is added to either the begining or end of a series it makes the chart graph a flat line, inserting Nan's in the middle works as expected, there is a break in the graph drawn and it doesn't make the chart graph a flat line
the following code demonstrating this is using c#
//breaks the chart
axTChart1.Series(0).AddNullXY(0, null, "");
Random rnd = new Random();
for (int i = 1; i < 25; i++)
{
axTChart1.Series(0).AddNullXY((double)i, (double)rnd.Next(100), "");
}
//works as expected
axTChart1.Series(0).AddNullXY(25, null, "");
for (int i = 26; i < 50; i++)
{
axTChart1.Series(0).AddNullXY((double)i, (double)rnd.Next(100), "");
}
//breaks the chart
axTChart1.Series(0).AddNullXY(51, null, "");
adding nan's to the begining or end of a series doesn't work
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi jer_m,
This seems the same problem as described here. We will try to fix this for the next maintenance release.
This seems the same problem as described here. We will try to fix this for the next maintenance release.
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 |