This section is regarding Methods and Properties available in StockChart Navigator element.
Examples :Method | Description | Example |
---|---|---|
get(String propertyName) | Returns the specified property of navigator. | stockChart.navigator.get(“verticalAlign”) |
set(String propertyName, Mixed value [,Boolean updateChart = true]) | Sets the specified property of navigator & optionally updates (default) the StockChart. | stockChart.navigator.set(“verticalAlign”, “top”) |
addTo(String arrayName, Object options [, Number index = array.length]) | Adds a new element of given type to the specified array. | stockChart.navigator.addTo(“data”, {dataPoint: []}) |
Can be accessed via get method or dot notation.
Property | Description | Example |
---|---|---|
bounds | Bounding rectangle of navigator: {x1, x2, y1, y2} | stockChart.navigator.bounds / stockChart.navigator.get(“bounds”) |
All Navigator 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 Navigator Element for complete list of properties available.
Also See: