Hi,
I tried to plot a waterall series and I set the number of data to be 20000, it can be plotted correctly, but when I changed the data number to be 20010, access violation occured. After some tries, I found the data limit seems to be 20001. Is there any way I can plot more than 2001 data number in a waterfall series? Here is my code where m_nPtNum is the number of data
m_chart1.AddSeries(scWaterfall);
m_chart1.Series(0).GetAsWaterfall().GetPen().SetColor(RGB(0,0,255));
m_chart1.Series(0).GetAsWaterfall().SetWireFrame(TRUE);
m_chart1.Series(0).GetAsWaterfall().GetWaterLines().SetVisible(FALSE);
m_chart1.Series(0).GetAsWaterfall().SetIrregularGrid(TRUE);
COleSafeArray saXValues;
COleSafeArray saYValues;
COleSafeArray saZValues;
saXValues.CreateOneDim(VT_R8,m_nPtNum,m_fXValues);
saYValues.CreateOneDim(VT_R8,m_nPtNum,m_fYValues);
saZValues.CreateOneDim(VT_R8,m_nPtNum,m_fZValues);
m_chart1.Series(index).GetAsWaterfall().AddArrayXYZ(saXValues,saYValues,saZValues);
David
Waterfall series data number limit
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi David,
At the present moment, the limit of cells for such series is 20000. This could be increased provided the machines where such grids are used support handling this ammount of data as this kind of series are very slow when they are so big. Anyway, I'll add your request to the list to be considered for inclusion in next releases.
At the present moment, the limit of cells for such series is 20000. This could be increased provided the machines where such grids are used support handling this ammount of data as this kind of series are very slow when they are so big. Anyway, I'll add your request to the list to be considered for inclusion in next releases.
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi David,
I've been investigating the issue further now. As I told you before, we could certainly increase the max number of cells allowed to be plotted. However, after doing some tests here I found waterfall series can plot many more than 20000 points, for example, the code below works fine for me here with latest TeeChart Pro v8 ActiveX maintenance release available.
However, plotting such series styles with a very big number of points takes a lot of time to render them.
I've been investigating the issue further now. As I told you before, we could certainly increase the max number of cells allowed to be plotted. However, after doing some tests here I found waterfall series can plot many more than 20000 points, for example, the code below works fine for me here with latest TeeChart Pro v8 ActiveX maintenance release available.
Code: Select all
m_Chart1.AddSeries(scWaterfall);
for (int x=1; x<200; x++)
for (int z=1; z<1000; z++)
m_Chart1.Series(0).GetAsWaterfall().AddXYZ(x, 5, z, "", clTeeColor);
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 |