Make it clear that labels need to be specified when using a category axis on a line chart

This commit is contained in:
etimberg
2017-04-22 14:47:00 -04:00
committed by Evert Timberg
parent f7d2d7536a
commit a75ae13b07

View 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[]