]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix section capitalization
authorEvert Timberg <evert.timberg+github@gmail.com>
Thu, 19 May 2016 02:44:33 +0000 (22:44 -0400)
committerEvert Timberg <evert.timberg+github@gmail.com>
Thu, 19 May 2016 02:44:33 +0000 (22:44 -0400)
docs/00-Getting-Started.md
docs/02-Line-Chart.md
docs/03-Bar-Chart.md
docs/04-Radar-Chart.md
docs/05-Polar-Area-Chart.md
docs/06-Pie-Doughnut-Chart.md
docs/07-Bubble-Chart.md
docs/08-Advanced.md

index 37d9bad6dcd17d5cef033361439297492e285cd4..4547eeda5b2b85f3e3eb2c026a9c8e78e1ffb42f 100644 (file)
@@ -119,7 +119,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 e4895083b48d7b689454fed08e043e7aa6999e75..1aba0de903774fb31d4087e940401262d0d0559f 100644 (file)
@@ -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
 
 The following options can be included in a line chart dataset to configure options for that specific dataset.
 
@@ -94,7 +94,7 @@ The data for line charts is broken up into an array of datasets. Each dataset ha
 
 The label key on each dataset is optional, and can be used when generating a scale for the chart.
 
-### Chart options
+### Chart Options
 
 These are the customisation options specific to Line charts. These options are merged with the [global chart configuration options](#getting-started-global-chart-configuration), and form the options of the chart.
 
index c2795dece888f798a4a4b404eec103662375d145..d8bf236bf83fc192a6c9664a3c19e6f016ac18d2 100644 (file)
@@ -12,7 +12,7 @@ It is sometimes used to show trend data, and the comparison of multiple data set
        <canvas width="250" height="125"></canvas>
 </div>
 
-### Example usage
+### Example Usage
 ```javascript
 var myBarChart = new Chart(ctx, {
        type: 'bar',
@@ -31,7 +31,7 @@ var myBarChart = new Chart(ctx, {
 });
 ```
 
-### Data structure
+### Data Structure
 The following options can be included in a bar chart dataset to configure options for that specific dataset.
 
 Some properties can be specified as an array. If these are set to an array value, the first value applies to the first bar, the second value to the second bar, and so on.
index 8eb40547b383d8f5fc95967982bcf68376265e1c..ad381d6c230dc0288f38fe5f0f738a412d95fe85 100644 (file)
@@ -12,7 +12,7 @@ They are often useful for comparing the points of two or more different data set
        <canvas width="250" height="125"></canvas>
 </div>
 
-### Example usage
+### Example Usage
 
 ```javascript
 var myRadarChart = new Chart(ctx, {
@@ -22,7 +22,7 @@ var myRadarChart = new Chart(ctx, {
 });
 ```
 
-### Data structure
+### Data Structure
 
 The following options can be included in a radar chart dataset to configure options for that specific dataset.
 
index d0d4d3047c4a8d84e53949a3ee293f4130db76aa..224f0898a45d3c3e1f649ea7d6ef383e16cbd2e1 100644 (file)
@@ -11,7 +11,7 @@ This type of chart is often useful when we want to show a comparison data simila
        <canvas width="250" height="125"></canvas>
 </div>
 
-### Example usage
+### Example Usage
 
 ```javascript
 new Chart(ctx, {
@@ -21,7 +21,7 @@ new Chart(ctx, {
 });
 ```
 
-### Data structure
+### Data Structure
 
 The following options can be included in a polar area chart dataset to configure options for that specific dataset.
 
@@ -70,7 +70,7 @@ var data = {
 ```
 As you can see, for the chart data you pass in an array of objects, with a value and a colour. The value attribute should be a number, while the color attribute should be a string. Similar to CSS, for this string you can use HEX notation, RGB, RGBA or HSL.
 
-### Chart options
+### Chart Options
 
 These are the customisation options specific to Polar Area charts. These options are merged with the [global chart configuration options](#getting-started-global-chart-configuration), and form the options of the chart.
 
index a46b0bafa490451b0b4d35a729c4226133ac5d05..de1fd3306567878e7cbd9494c24e1cbe518fdb4c 100644 (file)
@@ -20,7 +20,7 @@ They are also registered under two aliases in the `Chart` core. Other than their
 </div>
 <br>
 
-### Example usage
+### Example Usage
 
 ```javascript
 // For a pie chart
@@ -40,7 +40,7 @@ var myDoughnutChart = new Chart(ctx, {
 });
 ```
 
-### Data structure
+### Data Structure
 
 Property | Type | Usage
 --- | --- | ---
@@ -81,7 +81,7 @@ var data = {
 
 For a pie chart, datasets need to contain an array of data points. The data points should be a number, Chart.js will total all of the numbers and calculate the relative proportion of each. You can also add an array of background colors. The color attributes should be a string. Similar to CSS, for this string you can use HEX notation, RGB, RGBA or HSL.
 
-### Chart options
+### Chart Options
 
 These are the customisation options specific to Pie & Doughnut charts. These options are merged with the [global chart configuration options](#getting-started-global-chart-configuration), and form the options of the chart.
 
index 9bd9c8c028a1bfba6528575a869c8876e65bae91..cca36640655cef79a3faf6dceed28c40c6b0b79c 100644 (file)
@@ -10,7 +10,7 @@ A bubble chart is used to display three dimensions of data at the same time. The
 </div>
 <br>
 
-### Example usage
+### Example Usage
 
 ```javascript
 // For a bubble chart
@@ -21,7 +21,7 @@ var myBubbleChart = new Chart(ctx,{
 });
 ```
 
-### Data structure
+### Data Structure
 
 Property | Type | Usage
 --- | --- | ---
@@ -77,7 +77,7 @@ Data for the bubble chart is passed in the form of an object. The object must im
 }
 ```
 
-### Chart options
+### Chart Options
 
 The bubble chart has no unique configuration options. To configure options common to all of the bubbles, the point element options are used. 
 
index 3b8eacc8336b05ec2201ad4d48d9d6e8d1e01ef3..ff2810f85adacf6ae4da2df73c8b6d67fad15928 100644 (file)
@@ -4,7 +4,7 @@ anchor: advanced-usage
 ---
 
 
-### Prototype methods
+### Prototype Methods
 
 For each chart, there are a set of global prototype methods on the shared `ChartType` which you may find useful. These are available on all charts created with Chart.js, but for the examples, let's use a line chart we've made.
 
@@ -161,7 +161,7 @@ var myPieChart = new Chart(ctx, {
 
 See `sample/line-customTooltips.html` for examples on how to get started.
 
-### Writing new scale types
+### Writing New Scale Types
 
 Starting with Chart.js 2.0 scales can be individually extended. Scales should always derive from Chart.Scale.
 
@@ -293,7 +293,7 @@ The Core.Scale base class also has some utility functions that you may find usef
 }
 ```
 
-### Writing new chart types
+### Writing New Chart Types
 
 Chart.js 2.0 introduces the concept of controllers for each dataset. Like scales, new controllers can be written as needed.
 
@@ -355,7 +355,7 @@ The following methods may optionally be overridden by derived dataset controller
 }
 ```
 
-### Extending existing chart types
+### Extending Existing Chart Types
 
 Extending or replacing an existing controller type is easy. Simply replace the constructor for one of the built in types with your own.