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

Message ListMessage List     Post MessagePost Message

  Different no of points in array set for multiple line
Posted by Stephen on Jan-14-2011 11:28
Hi Peter,
I have a multiple line chart, say 2 lines.
one has 100 points (array) and one only has 50 points, they both within the same period of date.
say 1/1/2010 - 31/12/2010

what can i do to make them work?
I would like to assume the missing point to use the same data from previous point.

thx a lot
Stephen

  Re: Different no of points in array set for multiple line
Posted by Peter Kwan on Jan-15-2011 01:42
Hi Stephen,

ChartDirector can plot lines with different number of data points normally. Typically, you just need to provide the x and y coordinates of the data points for the two lines, and ChartDirector will put the points in the correct position and join them with lines.

You may refer to the sample code "Uneven Data Points" for an example. (You may look for "Uneven Data Points" from the ChartDirector documentation index.)

Hope this can help.

Regards
Peter Kwan