From: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com> Date: Fri, 13 Aug 2021 12:28:10 +0000 (+0200) Subject: Add number to the title scale padding as input type (#9546) X-Git-Tag: v3.5.1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85cddc89283e5b2783b01b4107bcaf6eb8ab21b4;p=thirdparty%2FChart.js.git Add number to the title scale padding as input type (#9546) --- diff --git a/types/index.esm.d.ts b/types/index.esm.d.ts index 41095e03d..53eb57487 100644 --- a/types/index.esm.d.ts +++ b/types/index.esm.d.ts @@ -2901,7 +2901,7 @@ export interface CartesianScaleOptions extends CoreScaleOptions { text: string | string[]; color: Color; font: FontSpec; - padding: { + padding: number | { top: number; bottom: number; };