Labels support string[] and string[][]

As seen here http://www.chartjs.org/samples/latest/scales/multiline-labels.html. [source, see line 29](view-source:http://www.chartjs.org/samples/latest/scales/multiline-labels.html).
This commit is contained in:
ziga
2017-07-06 17:00:03 -07:00
committed by GitHub
parent 135c72d992
commit 9dc26b65bd
+1 -1
View File
@@ -130,7 +130,7 @@ declare namespace Chart {
}
interface ChartData {
labels?: string[];
labels?: string[] | string[][];
datasets?: ChartDataSets[];
}