]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Make it clear that labels need to be specified when using a category axis on a line...
authoretimberg <evert.timberg@gmail.com>
Sat, 22 Apr 2017 18:47:00 +0000 (14:47 -0400)
committerEvert Timberg <evert.timberg+github@gmail.com>
Sun, 23 Apr 2017 11:28:40 +0000 (07:28 -0400)
docs/charts/line.md

index f838bac0dd2e37d7d65f623a1a4082ec693219b6..a64f436cfdb6400107ea7f9fbbbbdbd43cebde8f 100644 (file)
@@ -142,7 +142,7 @@ The `data` property of a dataset for a line chart can be passed in two formats.
 data: [20, 10]
 ```
 
-When the `data` array is an array of numbers, the x axis is generally a [category](../axes/cartesian/category.md#Category Axis). The points are placed onto the axis using their position in the array.
+When the `data` array is an array of numbers, the x axis is generally a [category](../axes/cartesian/category.md#Category Axis). The points are placed onto the axis using their position in the array. When a line chart is created with a category axis, the `labels` property of the data object must be specified.
 
 ### Point[]