This section is regarding Methods and Properties available in Range Buttons element.
Examples:Method | Description | Example |
---|---|---|
get(String propertyName) | Returns the specified property of buttons. | stockChart.rangeSelector.button[0].get(“rangeType”); |
set(String propertyName, Mixed value [,Boolean updateChart = true]) | Sets the specified property of buttons & optionally updates (default) the StockChart. | stockChart.rangeSelector.button[0].set(“range”, 6); |
All Buttons options become available as properties after StockChart Render. 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 Buttons Element for complete list of properties available.
Also See: