setConfig() Method
Description
Updates chart configuration.
If any operation such as settings applying is being processed it will be aborted. See Replacing Chart Configuration on the Fly and Set configuration as XML String or JS Object articles for more information about updating chart configuration.
Parameters
- config:Object or XML String
New chart configuration. See <stock> node description in XML Reference or stock object description in JSON Reference for more information.
Returns
Boolean.
Note: Whether 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