Settings
Settings configuration element can specify chart behavior.
Example
"settings": { "asyncRendering": false, "renderingTimeout": 10000, "syncRenderingInterval": 50, "handleRenderingErrors": true, "xDensityPadding": 4 }
Configuration
Element | Notes |
---|---|
fitModel | This setting defines which strategy to use to embed a chart into a container. Possible values: minimal, entire-view, fit-width, fit-height, normal (default value). |
xDensityPadding | These settings control minimal padding between tick text and tick border on ordinal scale. It is 0.25 by default. |
yDensityPadding | |
animationSpeed | Controls the duration of elements animation. By default it is 750 ms. Set 0 to disable animation. |
asyncRendering | Setting true will make a chart render asynchronously by small synchronous chunks, making a browser more responsive to user interactions. |
renderingTimeout | An interval (ms) after which the rendering will be paused, and user will be prompt to continue or cancel. Setting this option to 0 will disable the pause. |
syncRenderingInterval | A minimal interval of synchronous rendering chunks. |