]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix doc titles
authorEvert Timberg <evert.timberg@gmail.com>
Sat, 26 Mar 2016 14:57:43 +0000 (10:57 -0400)
committerEvert Timberg <evert.timberg@gmail.com>
Sat, 26 Mar 2016 14:57:43 +0000 (10:57 -0400)
docs/00-Getting-Started.md
docs/01-Scales.md
docs/02-Line-Chart.md
docs/06-Pie-Doughnut-Chart.md

index 4d5ca31958f1aaa5082be664f6844aced8436eb1..011308c8e1923fc9e9ddd7f5f256c6fa214f739d 100644 (file)
@@ -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.
 
index d4ff4d6103cd1d8cc96d715f784ba7cf73765ffc..8d44784ef88d28f43a26585c95d3e6197cc32971 100644 (file)
@@ -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:
index 2bcabc39cd2fb5de779dacb8b3758d77f509d667..72f7f49e60ff74b20750e3e9ed69a8aea6c9614a 100644 (file)
@@ -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.
        <canvas width="250" height="125"></canvas>
 </div>
 
-###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 = {
index dfcdfffc0e37c19f4cab0bebc43ea076d66f8f39..a8ba75c61201d7c09353d01e4547c63dcd465e83 100644 (file)
@@ -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.