This section is regarding Methods and Properties available in Chart Toolbar element.
Example :Method | Description | Example |
---|---|---|
get(String propertyName) | Returns the specified property of toolbar | chart.toolbar.get(“backgroundColor”); |
set(String propertyName, Mixed value [,Boolean updateChart = true]) | Sets the specified property of toolbar & optionally updates (default) the chart. | chart.toolbar.set(“fontColor”, “red”); |
All toolbar options become available as properties after Chart renders. You can access them either via get method or dot notation. But you can change / set those values only via set method.
Please refer to toolbar options for complete list of properties available.
Also See: