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

Message ListMessage List     Post MessagePost Message

  Transparent Series Shown in LegendBox
Posted by Andrew Leamon on Sep-16-2011 03:44
Attachments:
I have several transparent series in my chart.  I am using them to shade the area between
the lines and do not want the actual lines to be drawn.  These series are listed in the
LegendBox even though they are not visible.  Is there some way to remove them from the
LegendBox?  Please see the attached image:
Screen shot 2011-09-15 at 3.43.47 PM.png

  Re: Transparent Series Shown in LegendBox
Posted by Peter Kwan on Sep-16-2011 23:11
Hi Andrew,

If you do not give the series names, then there will be no legend box entry for these series.

For example:

//This series will have a legend box entry "aaa"
c.addLineLayer(myData, Chart.Transparent, "aaa");

//This series will not have a legend box
c.addLineLayer(myData2, Chart.Transparent);

Hope this can help.

Regards
Peter Kwan