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

Message ListMessage List     Post MessagePost Message

  Dual Y-Axis
Posted by JC on Dec-30-2008 05:52
Using the "Pareto Chart" as a example.

How can we add more space between the chart title and the "Frequency" Y-Axis.  If you set the Pareto chart in 3D, the YAxis2 is higher up then the YAxis?

  Re: Dual Y-Axis
Posted by Peter Kwan on Dec-30-2008 15:41
Hi JC,

You may move the plot area down by using a large y-coordinate for the top-left corner to the plot area. For example, in the original sample code for the Pareto chart, the plot area is set as:

' Set the plotarea at (50, 40) and of 300 x 150 pixels in size, with a silver
' background color.
c.setPlotArea(50, 40, 300, 150, Chart.silverColor())

You may change the (50, 40) to (50, 60), like:

' Set the plotarea at (50, 60) and of 300 x 130 pixels in size, with a silver
' background color.
c.setPlotArea(50, 60 300, 130, Chart.silverColor())

Hope this can help.

Regards
Peter Kwan