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

Message ListMessage List     Post MessagePost Message

  Limit data to y-axis maximum value
Posted by Jonathan Thomas on Mar-09-2011 04:57
I am using a dataset as my line chart datasource.  On this chart, we are showing data with a y-axis scaled 50 to 300.  In the odd case, we have a data point > 300.  This shows a line off the chart, through the title, etc.  We don't want to adjust the scale, for display reasons.

Is there any way to have the values > than the y-axis max cut off?  Or do I need to go through the data in the code?

Thanks

  Re: Limit data to y-axis maximum value
Posted by Peter Kwan on Mar-09-2011 14:42
Hi Jonathan,

You may use XYChart.setClipping to clip the line to the plot area. For example, in Java/C#:

c.setClipping();

Hope this can help.

Regards
Peter Kwan