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

Message ListMessage List     Post MessagePost Message

  Define plot area size for dynamic size of y-axis value width
Posted by Dilip Agarwal on Sep-05-2013 14:11
Attachments:
Hi Peter,

As in the attached image you can watch that y-axis values does not show properly due to
large values. So is it possible that plot area will adjust automatically according to large
values of y-axis.
y-Axis value issue.jpg

  Re: Define plot area size for dynamic size of y-axis value width
Posted by Peter Kwan on Sep-05-2013 23:54
Hi Dilip,

Yes. You may use XYChart.packPlotArea to adjust the plot area, so that the plot area together with the axis labels stay within a bounding box.

There are a number of examples demonstrating the use of XYChart.packPlotArea in ChartDirector, such as "Gradient Bar Shading", "Missing Data Points", "Bars with Marks" and a few others. May be you can use them as reference.

Hope this can help.

Regards
Peter Kwan