![]() |
Language Reference » Dataset functions » setAxisUnit
|
|
Latest updates
Toolbox
Google AdSense
|
setAxisUnit - Define the unit of one Y Axis This function allows you to set the unit associated to one Y Axis. This unit will be displayed when the axis display mode is set to AXIS_FORMAT_UNIT. Values on this axis are automatically computed by the scaling algorithm.
Calling this function
setAxisUnit($AxisID,$Unit); Where : AxisID is the ID of the axis we want to edit.
Unit is the unit of this axis. Sample script /* Create the pData object */ $MyData = new pData(); /* The default axis unit will be celsius degrees */ $MyData->setAxisUnit(0,"°C");
© Copyrights
Components used on this web site : Famfamfam icons has been made by Mark James, Rounded corners lite has been coded by Cameron Cooke and Tim Hutchison, SyntaxHighlighter has
been written by Alex Gorbatchev. pChart and this web site have been created by Jean-Damien POGOLOTTI. This documentation contains 185 pages and 56 comments. 415 users have registered.
This page has been rendered in 0,02 seconds. Wiki revision 1.37.
|