chart_set_enable_legend

Enables or disables the use of chart legend.

Syntax

chart_set_enable_legend(chart, enable)
Argument Description
chart The chart id to add to.
enable Whether the chart legend is enable (true) or not (false).

Return: True

Description

This function can be used to enable show the chart legend (true) or not (false). A chart legend is used to show the chart series information.

Example

chart_set_enable_legend(chartBalanced, false);

This will set the chart indexed in the variable "chart Balanced" to disable the legend.

results matching ""

    No results matching ""