]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Add align to interface of scale title config (#9634)
authorDavid Sandoz <david@sandoz.pro>
Wed, 8 Sep 2021 11:26:43 +0000 (13:26 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Sep 2021 11:26:43 +0000 (07:26 -0400)
types/index.esm.d.ts

index 5ea417ea3187f245abf69aa5198fb8d93780cc13..19a7009fb97eed2770104487a599890aea28ee57 100644 (file)
@@ -2905,6 +2905,7 @@ export interface CartesianScaleOptions extends CoreScaleOptions {
 
   title: {
     display: boolean;
+    align: 'start' | 'center' | 'end';
     text: string | string[];
     color: Color;
     font: FontSpec;