Hi seafree,
ChartDirector will auto-scale the axis based on your data. If in your application, you need
the top limit to be always 100, you can use Axis.setLinearScale. For example:
#x-axis is 0 to 100
$c->xAxis()->setLinearScale(0, 100, 10);
or
#Lower limit is automatically determined. Upper limit is 100.
$c->xAxis()->setLinearScale($perlchardir::NoValue, 100);
Hope this can help.
Regards
Peter Kwan |