setSettings() Method
Description
Updates chart visual settings.
See Replacing Chart Configuration on the Fly article for more information about updating chart configuration.
Parameters
- settings:Object or XML String
New settings. See <settings> node description in XML Reference or settings object description in JSON Reference for more information.
- preserveSelectedRange:Boolean
Sets whether to preserve the selected range or not.
Returns
Boolean.
Note: If the return value is true the command was processed successfully, the command failed to be processed due to component busy state otherwise.
Samples
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample