drawScatterScale Manual does not scale properly.
I am having a problem with the manual scale. Defining the parameters for the axis' boundaries does not seem to be applying. The chart instead picks a rounded number to begin and end on.
This would not be an issue, but I am also using the defined boundaries for a custom CSS image map that utilizes JS to fill some fields to define a new plot.
The scale is defined in the code example:
Code:
$myScatter->drawScatterScale(array("XLabelsRotation"=>45, "GridR"=>128, "GridG"=>128, "GridB"=>128,"Mode"=>SCALE_MODE_MANUAL, "ManualScale"=>$AxisBoundaries))
$AxisBoundaries is an array generated automatically to provide the actual min and max for the series. In the case of the image included in the post the min and max for the X and Y axis are:
X: 1327067856.5556 -> 1328648912.9048
Y: 88.87962962963 -> 243.00925925926
So my question is how does the pchart determine what to round to? I could then apply this to the image map.