mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
Allow borderWidth and borderColor to be indexed
Useful only for bar charts, see http://www.chartjs.org/docs/latest/charts/bar.html
This commit is contained in:
4
types/chart.js/index.d.ts
vendored
4
types/chart.js/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user