This section is regarding Methods and Properties available in the StockChart Title element.
Examples :Method | Description | Example |
---|---|---|
get(String propertyName) | Returns the specified property of title | stockChart.title.get(“text”) |
set(String propertyName, Mixed value [,Boolean updateStockChart = true]) | Sets the specified property of title and optionally (default) updates the StockChart | stockChart.title.set(“text”, “Modified Title”); |
remove() | Removes title of the StockChart | stockChart.title.remove(); |
Can be accessed via get method or dot notation.
Property | Description | Example |
---|---|---|
bounds | Bounding rectangle of title: {x1, x2, y1, y2} | stockChart.title.bounds / stockChart.title.get(“bounds”) |
After the StockChart is rendered, all title options become available as properties. 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 Title Element for complete list of properties that are available.
Also See: