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

Message ListMessage List     Post MessagePost Message

  How to set Logarithmic to x axis
Posted by Suwit on Nov-26-2012 16:05
To dear ll .
  plz. help me to set Logarithmic scale to X axis in ChartDirector on PHP function.

  Re: How to set Logarithmic to x axis
Posted by Peter Kwan on Nov-27-2012 00:37
Hi Suwit,

If your x-coordinates are numbers (the x-coordinates being passed to ChartDirector  using Layer.setXData), then you can use Axis.setLogScale, Axis.setLogScale2 or Axis.setLogScale3 to configure the x-axis to be log scale. For example:

$c->xAxis->setLogScale3();

Hope this can help.

Regards
Peter Kwan