This section is regarding Methods and Properties available in the buttonStyle element.
Examples:Method | Description | Example |
---|---|---|
get(String propertyName) | Returns the specified property of buttonStyle. | stockChart.rangeSelector.buttonStyle.get(“width”); |
set(String propertyName, Mixed value [,Boolean updateChart = true]) | Sets the specified property of buttonStyle & optionally updates (default) the StockChart. | stockChart.rangeSelector.buttonStyle.set(“labelFontColor”, “blue”); |
All Button Style options become available as properties after StockChart is rendered. 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 Button Style Element for complete list of properties available.