From b7a9669cf28a55afba0756700324ca64c7d7fa04 Mon Sep 17 00:00:00 2001 From: etimberg Date: Sat, 22 Apr 2017 14:47:00 -0400 Subject: [PATCH] Make it clear that labels need to be specified when using a category axis on a line chart --- docs/charts/line.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/charts/line.md b/docs/charts/line.md index f838bac0dd2..a64f436cfdb 100644 --- a/docs/charts/line.md +++ b/docs/charts/line.md @@ -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[]