Settings

Settings configuration element can specify chart behavior.

Example
"settings": {
	"asyncRendering": false,
	"renderingTimeout": 10000,
	"syncRenderingInterval": 50,
	"handleRenderingErrors": true,
	"xDensityPadding": 4
}


Configuration

ElementNotes
fitModel

This setting defines which strategy to use to embed a chart into a container. Possible values: minimalentire-viewfit-widthfit-heightnormal (default value).

xDensityPaddingThese settings control minimal padding between tick text and tick border on ordinal scale. It is 0.25 by default.
yDensityPadding
animationSpeedControls the duration of elements animation. By default it is 750 ms. Set 0 to disable animation.
asyncRenderingSetting true will make a chart render asynchronously by small synchronous chunks, making a browser more responsive to user interactions.
renderingTimeoutAn 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.
syncRenderingIntervalA minimal interval of synchronous rendering chunks.