Decimation
The decimation plugin can be used with line charts to automatically decimate data at the start of the chart lifecycle. Before enabling this plugin, review the requirements to ensure that it will work with the chart you want to create.
Namespace: options.plugins.decimation
Enabled¶
Is decimation enabled? Default false
Algorithm¶
Decimation algorithm to use. Default 'min-max'
Samples¶
If the 'lttb'
algorithm is used, this is the number of samples in the output dataset.
Defaults to the canvas width to pick 1
sample per pixel.
Threshold¶
If the number of samples in the current axis range is above this value, the decimation will be triggered.
Defaults to 4
times the canvas width.
The number of point after decimation can be higher than the threshold value.