]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Clarifying threshold requirement in the docs for decimation (#10516)
authorM4sterShake <maxborkowski@gmail.com>
Mon, 25 Jul 2022 12:44:17 +0000 (13:44 +0100)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 12:44:17 +0000 (15:44 +0300)
Co-authored-by: Max Borkowski <max.borkowski@lexisnexisrisk.com>
docs/configuration/decimation.md

index 703ea5c4d29b36ee61b634e7e0ec4e555bb15949..fe8fa24bc7ad68414bf3b6579d666347ca12c0bd 100644 (file)
@@ -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