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

Message ListMessage List     Post MessagePost Message

  Probelm with symbol line chart
Posted by Yukinight on Jul-18-2011 09:36
Hello,
As we know, we need a list to show a line, for example, data0 = [60.2, 51.7, 0, 48.6, 56.2, 68.9, 52.8], but if I want to draw a line just show several specific points, for example, data0=[20, ,30, ,46,58,12], there are some points I do not want to show. How can I set the list?
Any help would be appreciated.

  Re: Probelm with symbol line chart
Posted by Peter Kwan on Jul-19-2011 01:10
Hi Yukinight,

Do you mean you want to draw the line itself using all the points, but draw the symbols only using some of the points?

First, add a scatter layer using the points that you want to have the symbols. The scatter layer will provide the symbols. If you do not have x-coordinates, you may use an empty array of the x-coordinates in addScatterLayer.

Then, add a line layer using all the points for the line, but do not add any symbol.

Now you have a line with all the points, and the symbols on only some of the points.

Hope this can help.

Regards
Peter Kwan