From: Evert Timberg Date: Thu, 19 May 2016 02:44:33 +0000 (-0400) Subject: Fix section capitalization X-Git-Tag: v2.1.4~2^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62b9a4b6169046a08c572ae888e507f592ca4499;p=thirdparty%2FChart.js.git Fix section capitalization --- diff --git a/docs/00-Getting-Started.md b/docs/00-Getting-Started.md index 37d9bad6d..4547eeda5 100644 --- a/docs/00-Getting-Started.md +++ b/docs/00-Getting-Started.md @@ -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. diff --git a/docs/02-Line-Chart.md b/docs/02-Line-Chart.md index e4895083b..1aba0de90 100644 --- a/docs/02-Line-Chart.md +++ b/docs/02-Line-Chart.md @@ -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 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. diff --git a/docs/03-Bar-Chart.md b/docs/03-Bar-Chart.md index c2795dece..d8bf236bf 100644 --- a/docs/03-Bar-Chart.md +++ b/docs/03-Bar-Chart.md @@ -12,7 +12,7 @@ It is sometimes used to show trend data, and the comparison of multiple data set -### 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. diff --git a/docs/04-Radar-Chart.md b/docs/04-Radar-Chart.md index 8eb40547b..ad381d6c2 100644 --- a/docs/04-Radar-Chart.md +++ b/docs/04-Radar-Chart.md @@ -12,7 +12,7 @@ They are often useful for comparing the points of two or more different data set -### 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. diff --git a/docs/05-Polar-Area-Chart.md b/docs/05-Polar-Area-Chart.md index d0d4d3047..224f0898a 100644 --- a/docs/05-Polar-Area-Chart.md +++ b/docs/05-Polar-Area-Chart.md @@ -11,7 +11,7 @@ This type of chart is often useful when we want to show a comparison data simila -### 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. diff --git a/docs/06-Pie-Doughnut-Chart.md b/docs/06-Pie-Doughnut-Chart.md index a46b0bafa..de1fd3306 100644 --- a/docs/06-Pie-Doughnut-Chart.md +++ b/docs/06-Pie-Doughnut-Chart.md @@ -20,7 +20,7 @@ They are also registered under two aliases in the `Chart` core. Other than their
-### 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. diff --git a/docs/07-Bubble-Chart.md b/docs/07-Bubble-Chart.md index 9bd9c8c02..cca366406 100644 --- a/docs/07-Bubble-Chart.md +++ b/docs/07-Bubble-Chart.md @@ -10,7 +10,7 @@ A bubble chart is used to display three dimensions of data at the same time. The
-### 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. diff --git a/docs/08-Advanced.md b/docs/08-Advanced.md index 3b8eacc83..ff2810f85 100644 --- a/docs/08-Advanced.md +++ b/docs/08-Advanced.md @@ -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.