* Setting correct decimated values when below threshold
* Using existing function for cleaning decimated data
* Cleaning decimated only on current dataset
* Reordering decimation clean to avoid allocation
* Filtering data before decimation
Using only points between the currently displayed x-axis for the decimation algorithm.
Allows better resolution, especially if using a zoom
If data are outside range, they will not be displayed, hence the line graph will not show the trend at extremities
* Fix LTTB algorithm
* Adding test file
* Simplifying count algorithm for decimation plugin
* Correct decimation plugin documentation
* The default for decimation is `false`.
* Added a sample for data decimation
* Corrected an issue in the decimation plugin when switched from enabled to disabled
* Update plugin to use it's own tooltip context
* Scriptable tooltip option types
* Tests
* Update types to use UnionToIntersection
* Update TooltipItem to use UnionToIntersection
* fix: Decimation plugin no longer changes the data order
fix: Decimation plugin no longer duplicates data points
* Use nullOrUndef helper instead of direct check
* Compute averageX value when decimating data using minMax decimation
* Place last point of interval at real X
This reduces the fuzziness on screens with devicePixelRatio > 1
* Create a new hook to enable data decimation
The `beforeElementUpdate` hook can be used to decimate data. The chart
elements will not be created until after this hook has fired ensuring that
if decimation occurs, only the needed elements will be created.
* Address code review feedback
* Rename hook to beforeElementsUpdate
* Simplify parsing logic
* Add decimation plugin to the core
* Allow a dataset to specify a different data key
* Decimation plugin uses the dataKey feature
* Refactor the decimation plugin to support configurable algorithms
* Lint the plugin changes
* Tests for the dataKey feature
* Convert test files to tabs
* Standardize on tabs in ts files
* Remove the dataKey feature
* Replace dataKey usage in decimation plugin
We define a new descriptor for the `data` key allowing the
plugin to be simpler.
* Disable decimation when indexAxis is Y
* Simplify the decimation width approximation
* Resolve the indexAxis correctly in all cases
* Initial documentation
* Reverse check
* Update TS definitions for new plugin options
* Move defineProperty after bailouts
* Add destroy hook