From 4048e1f80e2b7806ec96bb7aef993f6931ff2349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20K=C3=BCndig?= Date: Thu, 13 Oct 2016 15:30:57 +0200 Subject: [PATCH] Added barThickness to ChartXAxe interface in chart.js The `barThickness` option was missing in the definition file. See https://github.com/chartjs/Chart.js/blob/03735563f44e1ae108f83b9c7ee946f8818c92c3/src/controllers/controller.bar.js#L165 or https://github.com/chartjs/Chart.js/blob/8e37a11e398f69a67d7f549e113944f74a58030a/docs/04-Bar-Chart.md#chart-options --- chart.js/chart.js.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/chart.js/chart.js.d.ts b/chart.js/chart.js.d.ts index a4ab162747..9bf41eeaae 100644 --- a/chart.js/chart.js.d.ts +++ b/chart.js/chart.js.d.ts @@ -345,6 +345,7 @@ interface ChartXAxe { stacked?: boolean; categoryPercentage?: number; barPercentage?: number; + barThickness?: number; gridLines?: GridLineOptions; position?: string; ticks?: TickOptions;