mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
Fix: Typo 'is less' -> 'are lesser' (#9755)
* Fix: Typo 'is less' -> 'are lesser' * Update plugin.decimation.js
This commit is contained in:
parent
12d5e4c7e7
commit
30e66bc50e
@ -10,7 +10,7 @@ function lttbDecimation(data, start, count, availableWidth, options) {
|
||||
* The original implementation is MIT licensed.
|
||||
*/
|
||||
const samples = options.samples || availableWidth;
|
||||
// There is less points than the threshold, returning the whole array
|
||||
// There are less points than the threshold, returning the whole array
|
||||
if (samples >= count) {
|
||||
return data.slice(start, start + count);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user