chart_set_precision

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

Set the precision of chart by giving number.

Syntax

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

Return: True

Description

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.

Example

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 ""