This function only used for Line and Bar chart type only.

Set the precision of chart by giving number.


chart_set_precision(chart, precision)
Argument Description
chart The chart id to set to.
precision The number of precision lines.

Return: True


This function can be used to set how many number of chart line. Chart line will help you to see the value of chart for more spesifics. For default the precision of chart is set to 5.


chartBalanced = chart_create(chart_bar, 32, 16, 448, 256);
chart_set_precision(chartBalanced, 6);

The above code will set the precision of the chart indexed in the variable "chartBalanced".

results matching ""

    No results matching ""