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

Message ListMessage List     Post MessagePost Message

  line graph extending above y axis limits
Posted by Aaron McMillan on Dec-02-2010 13:44
Attachments:
Hi Peter,
I know this is probably an easy one but. I have two line graphs and some marks which i use too divide the graph into three regions. I have the line graphs so the data is dynamic  this all works fine except for when I get a calculated value of greater than 10 my y axis limit than the line pokes out into nowhere is there a way to suppress anything above the y axis maximum. also can I give names to the interline layers.
graph.JPG

  Re: line graph extending above y axis limits
Posted by Peter Kwan on Dec-02-2010 16:33
Hi Aaron,

It depends on how you draw the line. If the line is drawn using a line layer (using XYChart.addLineLayer or XYChart.addLineLayer2), you may use XYChart.setClipping to clip all layers to the plot area. For example, in VB/VBScript:

Call c.setClipping()

Hope this can help.

Regards
Peter Kwan