This section is regarding Methods and Properties available in StockChart Toolbar element.
Example :Method | Description | Example |
---|---|---|
get(String propertyName) | Returns the specified property of toolbar | stockChart.toolbar.get(“backgroundColor”); |
set(String propertyName, Mixed value [,Boolean updateChart = true]) | Sets the specified property of toolbar & optionally updates (default) the StockChart. | stockChart.toolbar.set(“fontColor”, “red”); |
All toolbar options become available as properties after StockChart 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: