Merge pull request #21367 from tchandelle/chart_js_indexable_options

[chart.js] Allow borderWidth and borderColor to be indexed
This commit is contained in:
Daniel Rosenwasser
2017-11-09 12:23:50 -08:00
committed by GitHub
+2 -2
View File
@@ -411,8 +411,8 @@ declare namespace Chart {
interface ChartDataSets {
cubicInterpolationMode?: 'default' | 'monotone';
backgroundColor?: ChartColor | ChartColor[];
borderWidth?: number;
borderColor?: ChartColor;
borderWidth?: number | number[];
borderColor?: ChartColor | ChartColor[];
borderCapStyle?: string;
borderDash?: number[];
borderDashOffset?: number;