setXMLFile() Method
Description
Sets chart XML configuration file path.
You can replace current configuration by the newest using this method. If any operation such as settings applying is being processed it will be aborted. See Set Configuration as XML/JSON File article for more information about configurations files and Replacing Chart Configuration on the Fly article for more information about changing chart configuration on demand.
Parameters
- path:String
Path to the XML configuration file
- [optional] rebuildObjectModel:Boolean
Sets whether the component should rebuild object model after XML configuration applying.
Returns
Boolean.
Note: If the return value is true the command was processed successfully, the command failed to be processed otherwise.
Samples
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample