From: M4sterShake Date: Mon, 25 Jul 2022 12:44:17 +0000 (+0100) Subject: Clarifying threshold requirement in the docs for decimation (#10516) X-Git-Tag: v3.9.0~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c5606162288b928a49d80ee2a1edcd2bc4a0382;p=thirdparty%2FChart.js.git Clarifying threshold requirement in the docs for decimation (#10516) Co-authored-by: Max Borkowski --- diff --git a/docs/configuration/decimation.md b/docs/configuration/decimation.md index 703ea5c4d..fe8fa24bc 100644 --- a/docs/configuration/decimation.md +++ b/docs/configuration/decimation.md @@ -37,6 +37,7 @@ To use the decimation plugin, the following requirements must be met: 3. The X axis for the dataset must be either a [`'linear'`](../axes/cartesian/linear.md) or [`'time'`](../axes/cartesian/time.md) type axis 4. Data must not need parsing, i.e. [`parsing`](../general/data-structures.md#dataset-configuration) must be `false` 5. The dataset object must be mutable. The plugin stores the original data as `dataset._data` and then defines a new `data` property on the dataset. +6. There must be more points on the chart than the threshold value. Take a look at the Configuration Options for more information. ## Related Samples