ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  maximum data points of surface charts.
Posted by Alex Chu on Aug-07-2012 10:42
Hi

what's the maximum data points that surface charts can handle it...?
I use surface chart to plot a 3D wafer thickness, and I can't show the 3D image when I load
data points more than ~48000 points. I tried 46000 points and it's ok.
development environment is classic asp.

regards

alex.

  Re: maximum data points of surface charts.
Posted by Peter Kwan on Aug-08-2012 01:19
Hi Alex,

I remembered there was a known bug that limits the SurfaceChart to 46341 points for scattered data (as opposed to gridded data). However, it should have been solved for quite sometime. I have just tested with ChartDirector Ver 5.1 (the latest version) using a 251 x 251 grid (total 63001 points), and also tested using 63001 scattered points, and in both cases it works in my machine.

Are you using ChartDirector Ver 5.1 (the latest version) or some older version of ChartDirector? May be you can try if the limit is 46341 points to check if this it the cause of the error.

For your information, the code below is the random (x, y) points I used for testing. (The z values are not random but is a function of (x, y).) The code only works on ChartDirector Ver 5.1 (the RanSeries random series generator is a new class in ChartDirector Ver 5.1). May be you can check your code using random data to see if it works.

Set r = cd.RanSeries(999)
dataX = r.getSeries(251 * 251, -10, 10)
dataY = r.getSeries(251 * 251, -10, 10)
ReDim dataZ(UBound(dataX))
For i = 0 To Ubound(dataX)
    x = dataX(i)
    y = dataY(i)
    dataZ(i) = x * Sin(y) + y * Sin(x)
Next

If the above still does not solve the problem, is it possible to inform me the data you are using? (Try to open a text file, and write three lines Join(dataX, ","), Join(dataY, ",") and Join(dataZ, ",").)

Regards
Peter Kwan