]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Add number to the title scale padding as input type (#9546)
authorJacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Fri, 13 Aug 2021 12:28:10 +0000 (14:28 +0200)
committerGitHub <noreply@github.com>
Fri, 13 Aug 2021 12:28:10 +0000 (08:28 -0400)
types/index.esm.d.ts

index 41095e03d9d7f4d41554c5fd968c1ddc70f91f0b..53eb57487b1b8e0cca32f35c16f3d86f028066e7 100644 (file)
@@ -2901,7 +2901,7 @@ export interface CartesianScaleOptions extends CoreScaleOptions {
     text: string | string[];
     color: Color;
     font: FontSpec;
-    padding: {
+    padding: number | {
       top: number;
       bottom: number;
     };