]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Update stacked option's typing (#8656)
authorcoyotte508 <coyotte508@gmail.com>
Wed, 17 Mar 2021 14:26:30 +0000 (15:26 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Mar 2021 14:26:30 +0000 (10:26 -0400)
types/index.esm.d.ts

index 0bafe17e6b0235afbdfe1043037d7af2784d501b..2d3f4e2cba75160dbcbe3ab7e88d1519809257e3 100644 (file)
@@ -2723,7 +2723,7 @@ export interface CartesianScaleOptions extends CoreScaleOptions {
    *   If true, data will be comprised between datasets of data
    * @default false
    */
-  stacked?: boolean;
+  stacked?: boolean | 'single';
 
   ticks: TickOptions & {
     /**