mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Allow lineWidth of GridLineOptions to be an array of numbers (#34878)
This commit is contained in:
committed by
Pranav Senthilnathan
parent
f1871a347c
commit
f429a76527
@@ -59,7 +59,8 @@ const chart: Chart = new Chart(ctx, {
|
||||
borderDash: [5, 15],
|
||||
borderDashOffset: 2,
|
||||
zeroLineBorderDash: [5, 15],
|
||||
zeroLineBorderDashOffset: 2
|
||||
zeroLineBorderDashOffset: 2,
|
||||
lineWidth: [1, 2, 3]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Vendored
+1
-1
@@ -412,7 +412,7 @@ declare namespace Chart {
|
||||
color?: ChartColor;
|
||||
borderDash?: number[];
|
||||
borderDashOffset?: number;
|
||||
lineWidth?: number;
|
||||
lineWidth?: number | number[];
|
||||
drawBorder?: boolean;
|
||||
drawOnChartArea?: boolean;
|
||||
drawTicks?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user