From: Evert Timberg Date: Sat, 26 Mar 2016 14:57:43 +0000 (-0400) Subject: Fix doc titles X-Git-Tag: v2.0.0~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f39fa53a7e5547cc608670ed64514948d60999e5;p=thirdparty%2FChart.js.git Fix doc titles --- diff --git a/docs/00-Getting-Started.md b/docs/00-Getting-Started.md index 4d5ca3195..011308c8e 100644 --- a/docs/00-Getting-Started.md +++ b/docs/00-Getting-Started.md @@ -3,7 +3,7 @@ title: Getting started anchor: getting-started --- -###Download Chart.js +### Download Chart.js To download a zip, go to the [Chart.js on Github](https://github.com/nnnick/Chart.js) @@ -18,7 +18,7 @@ bower install Chart.js --save CDN: https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.0.0/Chart.js -###Install Chart.js +### Install Chart.js To import Chart.js using an old-school script tag: @@ -48,7 +48,7 @@ require(['path/to/Chartjs'], function(Chart){ ``` -###Creating a Chart +### Creating a Chart To create a chart, we need to instantiate the `Chart` class. To do this, we need to pass in the node, jQuery instance, or 2d context of the canvas of where we want to draw the chart. Here's an example. @@ -95,7 +95,7 @@ var myChart = new Chart(ctx, { It's that easy to get started using Chart.js! From here you can explore the many options that can help you customise your charts with scales, tooltips, labels, colors, custom actions, and much more. -###Global chart configuration +### Global chart configuration This concept was introduced in Chart.js 1.0 to keep configuration DRY, and allow for changing options globally across chart types, avoiding the need to specify options for each instance, or the default for a particular chart type. diff --git a/docs/01-Scales.md b/docs/01-Scales.md index d4ff4d610..8d44784ef 100644 --- a/docs/01-Scales.md +++ b/docs/01-Scales.md @@ -136,7 +136,7 @@ Name | Type | Default | Description --- |:---:| --- | --- *ticks*.stepSize | Number | - | User defined fixed step size for the scale. If set, the scale ticks will be enumerated by multiple of stepSize, having one tick per increment. If not set, the ticks are labeled automatically using the nice numbers algorithm. -#### Logarithmic Scale +### Logarithmic Scale The logarithmic scale is used to display logarithmic data of course. It can be placed on either the x or y axis. The log scale extends the core scale class with the following tick template: diff --git a/docs/02-Line-Chart.md b/docs/02-Line-Chart.md index 2bcabc39c..72f7f49e6 100644 --- a/docs/02-Line-Chart.md +++ b/docs/02-Line-Chart.md @@ -2,7 +2,7 @@ title: Line Chart anchor: line-chart --- -###Introduction +### Introduction A line chart is a way of plotting data points on a line. Often, it is used to show trend data, and the comparison of two data sets. @@ -11,7 +11,7 @@ Often, it is used to show trend data, and the comparison of two data sets. -###Example usage +### Example usage ```javascript var myLineChart = new Chart(ctx, { type: 'line', @@ -27,7 +27,7 @@ var myLineChart = Chart.Line(ctx, { options: options }); ``` -###Data structure +### Data structure ```javascript var data = { diff --git a/docs/06-Pie-Doughnut-Chart.md b/docs/06-Pie-Doughnut-Chart.md index dfcdfffc0..a8ba75c61 100644 --- a/docs/06-Pie-Doughnut-Chart.md +++ b/docs/06-Pie-Doughnut-Chart.md @@ -2,7 +2,7 @@ title: Pie & Doughnut Charts anchor: doughnut-pie-chart --- -###Introduction +### Introduction Pie and doughnut charts are probably the most commonly used chart there are. They are divided into segments, the arc of each segment shows the proportional value of each piece of data. They are excellent at showing the relational proportions between data.