]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
type grouped option for bar chart (#10590)
authorJacco van den Berg <jaccoberg2281@gmail.com>
Thu, 18 Aug 2022 06:16:13 +0000 (08:16 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Aug 2022 06:16:13 +0000 (09:16 +0300)
types/index.d.ts

index fa904455af3ea28a4852df2b91efcfad4bfadd29..6f3eb79b375039339bf6de22622318c843d3c1b8 100644 (file)
@@ -133,6 +133,12 @@ export interface BarControllerDatasetOptions
    * @default 'circle;
    */
   pointStyle: PointStyle;
+
+  /**
+   * Should the bars be grouped on index axis
+   * @default true
+   */
+  grouped: boolean;
 }
 
 export interface BarControllerChartOptions {