From ee16c1edbc80c3ce2020bc4cd54f9fc35ccc0d08 Mon Sep 17 00:00:00 2001 From: etimberg Date: Sun, 7 Feb 2016 19:55:32 -0500 Subject: [PATCH] Update docs for #1144 --- docs/02-Line-Chart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/02-Line-Chart.md b/docs/02-Line-Chart.md index d3e89dcb3..00e10a7c4 100644 --- a/docs/02-Line-Chart.md +++ b/docs/02-Line-Chart.md @@ -107,7 +107,7 @@ var data = { }; ``` -The line chart requires an array of labels for each of the data points. This is shown on the X axis. +The line chart requires an array of labels. This labels are shown on the X axis. There must be one label for each data point. More labels than datapoints are allowed, in which case the line ends at the last data point. The data for line charts is broken up into an array of datasets. Each dataset has a colour for the fill, a colour for the line and colours for the points and strokes of the points. These colours are strings just like CSS. You can use RGBA, RGB, HEX or HSL notation. The label key on each dataset is optional, and can be used when generating a scale for the chart.