From: Francisco Neves Date: Mon, 8 Sep 2014 16:49:19 +0000 (+0100) Subject: Update docs for toggle Horizontal/Vertical Lines feature X-Git-Tag: v1.0.1~1^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F611%2Fhead;p=thirdparty%2FChart.js.git Update docs for toggle Horizontal/Vertical Lines feature --- diff --git a/docs/01-Line-Chart.md b/docs/01-Line-Chart.md index 3dc606337..a4b6394ab 100644 --- a/docs/01-Line-Chart.md +++ b/docs/01-Line-Chart.md @@ -66,6 +66,12 @@ These are the customisation options specific to Line charts. These options are m //Number - Width of the grid lines scaleGridLineWidth : 1, + //Boolean - Whether to show horizontal lines (except X axis) + scaleShowHorizontalLines: true, + + //Boolean - Whether to show vertical lines (except Y axis) + scaleShowVerticalLines: true, + //Boolean - Whether the line is curved between points bezierCurve : true, diff --git a/docs/02-Bar-Chart.md b/docs/02-Bar-Chart.md index b4253e746..80b1999e5 100644 --- a/docs/02-Bar-Chart.md +++ b/docs/02-Bar-Chart.md @@ -65,6 +65,12 @@ These are the customisation options specific to Bar charts. These options are me //Number - Width of the grid lines scaleGridLineWidth : 1, + //Boolean - Whether to show horizontal lines (except X axis) + scaleShowHorizontalLines: true, + + //Boolean - Whether to show vertical lines (except Y axis) + scaleShowVerticalLines: true, + //Boolean - If there is a stroke on each bar barShowStroke : true, @@ -140,4 +146,4 @@ Calling `removeData()` on your Chart instance will remove the first value for al ```javascript myBarChart.removeData(); // The chart will now animate and remove the first bar -``` \ No newline at end of file +```