Allow lineWidth of GridLineOptions to be an array of numbers (#34878)

This commit is contained in:
HaveFunWP
2019-04-23 14:04:24 -05:00
committed by Pranav Senthilnathan
parent f1871a347c
commit f429a76527
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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]
}
}
]
+1 -1
View File
@@ -412,7 +412,7 @@ declare namespace Chart {
color?: ChartColor;
borderDash?: number[];
borderDashOffset?: number;
lineWidth?: number;
lineWidth?: number | number[];
drawBorder?: boolean;
drawOnChartArea?: boolean;
drawTicks?: boolean;