]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix: Typo 'is less' -> 'are lesser' (#9755)
authorAtharva Deshpande <atharva01.903@gmail.com>
Sat, 16 Oct 2021 19:41:27 +0000 (01:11 +0530)
committerGitHub <noreply@github.com>
Sat, 16 Oct 2021 19:41:27 +0000 (22:41 +0300)
* Fix: Typo 'is less' -> 'are lesser'

* Update plugin.decimation.js

src/plugins/plugin.decimation.js

index 1deb0efd2e42ce037d320c54fa2f7d1bcf1fc325..20fbb44b93ad574714a594b1e56db9e4ed29e7a1 100644 (file)
@@ -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);
   }