]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
docs: Grammar fixes for cartesian and radial docs (#7875)
authorTony Martinez <ajosephmartinez@gmail.com>
Mon, 12 Oct 2020 22:06:07 +0000 (15:06 -0700)
committerGitHub <noreply@github.com>
Mon, 12 Oct 2020 22:06:07 +0000 (18:06 -0400)
17 files changed:
docs/docs/axes/cartesian/category.md
docs/docs/axes/cartesian/index.mdx
docs/docs/axes/cartesian/linear.md
docs/docs/axes/cartesian/logarithmic.md
docs/docs/axes/cartesian/time.md
docs/docs/axes/index.md
docs/docs/axes/labelling.md
docs/docs/axes/radial/linear.md
docs/docs/axes/styling.md
docs/docs/charts/area.md
docs/docs/charts/bar.mdx
docs/docs/charts/bubble.mdx
docs/docs/charts/doughnut.mdx
docs/docs/charts/line.mdx
docs/docs/charts/mixed.mdx
docs/docs/charts/polar.mdx
docs/docs/charts/radar.mdx

index c536e6ba5f769195b5bd8666d3378341813e8881..2e3c07c2dc337d035acfdc9136a17cd4834e7572 100644 (file)
@@ -2,9 +2,9 @@
 title: Category Axis
 ---
 
-If global configuration is used, labels are drawn from one of the label arrays included in the chart data. If only `data.labels` is defined, this will be used. If `data.xLabels` is defined and the axis is horizontal, this will be used. Similarly, if `data.yLabels` is defined and the axis is vertical, this property will be used. Using both `xLabels` and `yLabels` together can create a chart that uses strings for both the X and Y axes.
+If the global configuration is used, labels are drawn from one of the label arrays included in the chart data. If only `data.labels` is defined, this will be used. If `data.xLabels` is defined and the axis is horizontal, this will be used. Similarly, if `data.yLabels` is defined and the axis is vertical, this property will be used. Using both `xLabels` and `yLabels` together can create a chart that uses strings for both the X and Y axes.
 
-Specifying any of the settings above defines the x axis as `type: 'category'` if not defined otherwise. For more fine-grained control of category labels it is also possible to add `labels` as part of the category axis definition. Doing so does not apply the global defaults.
+Specifying any of the settings above defines the x-axis as `type: 'category'` if not defined otherwise. For more fine-grained control of category labels, it is also possible to add `labels` as part of the category axis definition. Doing so does not apply the global defaults.
 
 ## Category Axis Definition
 
index 2e7cf228074b9e49fed70a08c277f7955f1a4dcf..d31a643663fede2a163b69b6a9db25bc91b590a9 100644 (file)
@@ -20,8 +20,8 @@ All of the included cartesian axes support a number of common options. These opt
 | `type` | `string` | | Type of scale being employed. Custom scales can be created and registered with a string key. This allows changing the type of an axis for a chart.
 | `position` | `string` | | Position of the axis. [more...](#axis-position)
 | `axis` | `string` | | Which type of axis this is. Possible values are: `'x'`, `'y'`. If not set, this is inferred from the first character of the ID which should be `'x'` or `'y'`.
-| `min` | `number` | | User defined minimum value for the scale, overrides minimum value from data.
-| `max` | `number` | | User defined maximum value for the scale, overrides maximum value from data.
+| `min` | `number` | | User-defined minimum value for the scale, overrides minimum value from data.
+| `max` | `number` | | User-defined maximum value for the scale, overrides maximum value from data.
 | `offset` | `boolean` | `false` | If true, extra space is added to the both edges and the axis is scaled to fit into the chart area. This is set to `true` for a bar chart by default.
 | `gridLines` | `object` | | Grid line configuration. [more...](../styling.md#grid-line-configuration)
 | `scaleLabel` | `object` | | Scale title configuration. [more...](../labelling.md#scale-title-configuration)
@@ -54,7 +54,7 @@ The following options are common to all cartesian axes but do not apply to other
 | `sampleSize` | `number` | `ticks.length` | The number of ticks to examine when deciding how many labels will fit. Setting a smaller value will be faster, but may be less accurate when there is large variability in label length.
 | `autoSkip` | `boolean` | `true` | If true, automatically calculates how many labels can be shown and hides labels accordingly. Labels will be rotated up to `maxRotation` before skipping any. Turn `autoSkip` off to show all labels no matter what.
 | `autoSkipPadding` | `number` | `0` | Padding between the ticks on the horizontal axis when `autoSkip` is enabled.
-| `labelOffset` | `number` | `0` | Distance in pixels to offset the label from the centre point of the tick (in the x direction for the x axis, and the y direction for the y axis). *Note: this can cause labels at the edges to be cropped by the edge of the canvas*
+| `labelOffset` | `number` | `0` | Distance in pixels to offset the label from the centre point of the tick (in the x-direction for the x-axis, and the y-direction for the y-axis). *Note: this can cause labels at the edges to be cropped by the edge of the canvas*
 | `maxRotation` | `number` | `50` | Maximum rotation for tick labels when rotating to condense labels. Note: Rotation doesn't occur until necessary. *Note: Only applicable to horizontal scales.*
 | `minRotation` | `number` | `0` | Minimum rotation for tick labels. *Note: Only applicable to horizontal scales.*
 | `mirror` | `boolean` | `false` | Flips tick labels around axis, displaying the labels inside the chart instead of outside. *Note: Only applicable to vertical scales.*
index 431a69bb06eb06f0497dce31cac0917d9fe8de9a..4904cdf509f802e5bc130d9cbb5246627ec599df 100644 (file)
@@ -2,7 +2,7 @@
 title: Linear Axis
 ---
 
-The linear scale is use to chart numerical data. It can be placed on either the x or y axis. The scatter chart type automatically configures a line chart to use one of these scales for the x axis. As the name suggests, linear interpolation is used to determine where a value lies on the axis.
+The linear scale is used to chart numerical data. It can be placed on either the x or y-axis. The scatter chart type automatically configures a line chart to use one of these scales for the x-axis. As the name suggests, linear interpolation is used to determine where a value lies on the axis.
 
 ## Configuration Options
 
@@ -16,14 +16,14 @@ These options extend the [common configuration for all cartesian axes](index.md#
 
 ## Tick Configuration Options
 
-The following tick options are provided by the linear scale. They are all located in the `ticks` sub options. These options extend the [common tick configuration](index.md#tick-configuration).
+The following tick options are provided by the linear scale. They are all located in the `ticks` sub-options. These options extend the [common tick configuration](index.md#tick-configuration).
 
 | Name | Type | Default | Description
 | ---- | ---- | ------- | -----------
 | `format` | `object` | | The [`Intl.NumberFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat) options used by the default label formatter
 | `maxTicksLimit` | `number` | `11` | Maximum number of ticks and gridlines to show.
 | `precision` | `number` | | if defined and `stepSize` is not specified, the step size will be rounded to this many decimal places.
-| `stepSize` | `number` | | User defined fixed step size for the scale. [more...](#step-size)
+| `stepSize` | `number` | | User-defined fixed step size for the scale. [more...](#step-size)
 
 ## Axis Range Settings
 
@@ -83,4 +83,4 @@ let options = {
 
 ## Internal data format
 
-Internally, linear scale uses numeric data
+Internally, the linear scale uses numeric data
index 33258f7a131c149e7ee5b65b96cd4a95f23ec42e..60c966edbc197662d73bfd4e0750778a56f3bd71 100644 (file)
@@ -2,11 +2,11 @@
 title: Logarithmic Axis
 ---
 
-The logarithmic scale is use to chart numerical data. It can be placed on either the x or y axis. As the name suggests, logarithmic interpolation is used to determine where a value lies on the axis.
+The logarithmic scale is used to chart numerical data. It can be placed on either the x or y-axis. As the name suggests, logarithmic interpolation is used to determine where a value lies on the axis.
 
 ## Tick Configuration Options
 
-The following options are provided by the logarithmic scale. They are all located in the `ticks` sub options. These options extend the [common tick configuration](index.md#tick-configuration).
+The following options are provided by the logarithmic scale. They are all located in the `ticks` sub-options. These options extend the [common tick configuration](index.md#tick-configuration).
 
 | Name | Type | Default | Description
 | ---- | ---- | ------- | -----------
@@ -14,4 +14,4 @@ The following options are provided by the logarithmic scale. They are all locate
 
 ## Internal data format
 
-Internally logarithmic scale uses numeric data
+Internally, the logarithmic scale uses numeric data.
index 43438bae1d2ce7fd49ba12a5c80f9f24168e2500..b7c81e9c75eacb23dff452e2265950477f979123 100644 (file)
@@ -6,7 +6,7 @@ The time scale is used to display times and dates. Data are spread according to
 
 ## Date Adapters
 
-The time scale **requires** both a date library and corresponding adapter to be present. Please choose from the [available adapters](https://github.com/chartjs/awesome#adapters).
+The time scale **requires** both a date library and corresponding adapter to be present. Please choose from the [available adapters](https://github.com/chartjs/awesome#adapters).
 
 ## Data Sets
 
@@ -16,7 +16,7 @@ See [data structures](../../general/data-structures.md).
 
 ### Date Formats
 
-When providing data for the time scale, Chart.js uses timestamps defined as milliseconds since the epoch (midnight January 1, 1970 UTC) internally. However, Chart.js also supports all of the formats that your chosen date adapter accepts. You should use timestamps if you'd like to set `parsing: false` for better performance.
+When providing data for the time scale, Chart.js uses timestamps defined as milliseconds since the epoch (midnight January 1, 1970, UTC) internally. However, Chart.js also supports all of the formats that your chosen date adapter accepts. You should use timestamps if you'd like to set `parsing: false` for better performance.
 
 ## Configuration Options
 
@@ -125,7 +125,7 @@ The `ticks.source` property controls the ticks generation.
 
 If this property is defined as a string, it is interpreted as a custom format to be used by the date adapter to parse the date.
 
-If this is a function, it must return a type which can be handled by your date adapter's `parse` method.
+If this is a function, it must return a type that can be handled by your date adapter's `parse` method.
 
 ### Internal data format
 
index c50e7c198d07c82eee16c4d3665126722a23720d..ea814b86f35e74dba70d54cd7bf594f784da739e 100644 (file)
@@ -2,7 +2,7 @@
 title: Axes
 ---
 
-Axes are an integral part of a chart. They are used to determine how data maps to a pixel value on the chart. In a cartesian chart, there is 1 or more X axis and 1 or more Y axis to map points onto the 2 dimensional canvas. These axes are known as ['cartesian axes'](./cartesian/index.md#cartesian-axes).
+Axes are an integral part of a chart. They are used to determine how data maps to a pixel value on the chart. In a cartesian chart, there is 1 or more X-axis and 1 or more Y-axis to map points onto the 2-dimensional canvas. These axes are known as ['cartesian axes'](./cartesian/index.md#cartesian-axes).
 
 In a radial chart, such as a radar chart or a polar area chart, there is a single axis that maps points in the angular and radial directions. These are known as ['radial axes'](./radial/index.md#radial-axes).
 
index 44e682bbb060cdc191a147f2fafd650894ac2dc3..8bc04e75ae5681ac8c76a307ad2c37019830fc31 100644 (file)
@@ -19,7 +19,7 @@ The scale label configuration is nested under the scale configuration in the `sc
 ## Creating Custom Tick Formats
 
 It is also common to want to change the tick marks to include information about the data type. For example, adding a dollar sign ('$'). To do this, you need to override the `ticks.callback` method in the axis configuration.
-In the following example, every label of the Y axis would be displayed with a dollar sign at the front.
+In the following example, every label of the Y-axis would be displayed with a dollar sign at the front.
 
 If the callback returns `null` or `undefined` the associated grid line will be hidden.
 
index d5cd6e2dc40c9e4b7171ecd466ba0793aa435158..8ca6a9316580b1fa6ab6a8daa276ca21d2a40d2f 100644 (file)
@@ -2,13 +2,13 @@
 title: Linear Radial Axis
 ---
 
-The linear radial scale is used to chart numerical data. As the name suggests, linear interpolation is used to determine where a value lies in relation the center of the axis.
+The linear radial scale is used to chart numerical data. As the name suggests, linear interpolation is used to determine where a value lies in relation to the center of the axis.
 
 The following additional configuration options are provided by the radial linear scale.
 
 ## Configuration Options
 
-The axis has configuration properties for ticks, angle lines (line that appear in a radar chart outward from the center), pointLabels (labels around the edge in a radar chart). The following sections define each of the properties in those sections.
+The axis has configuration properties for ticks, angle lines (lines that appear in a radar chart outward from the center), pointLabels (labels around the edge in a radar chart). The following sections define each of the properties in those sections.
 
 | Name | Type | Default | Description
 | ---- | ---- | ------- | -----------
@@ -24,7 +24,7 @@ The axis has configuration properties for ticks, angle lines (line that appear i
 
 ## Tick Options
 
-The following options are provided by the linear radial scale. They are all located in the `ticks` sub options. The [common tick configuration](../styling.md#tick-configuration) options are supported by this axis.
+The following options are provided by the linear radial scale. They are all located in the `ticks` sub-options. The [common tick configuration](../styling.md#tick-configuration) options are supported by this axis.
 
 | Name | Type | Scriptable | Default | Description
 | ---- | ---- | ------- | ------- | -----------
@@ -139,4 +139,4 @@ The scriptable context is the same as for the [Angle Line Options](#angle-line-o
 
 ## Internal data format
 
-Internally linear radial scale uses numeric data
+Internally, the linear radial scale uses numeric data
index a9c8f1a0b5155c44b0a447a8e86a58e1151f06c9..7d7d22adce0852bcf978191d912615593edee929 100644 (file)
@@ -14,11 +14,11 @@ The grid line configuration is nested under the scale configuration in the `grid
 | `borderColor` | [`Color`](../general/colors.md) | | | | If set, used as the color of the border line. If unset, the first `color` option is resolved and used.
 | `borderWidth` | `number` | | | | If set, used as the width of the border line. If unset, the first `lineWidth` option is resolved and used.
 | `circular` | `boolean` | | | `false` | If true, gridlines are circular (on radar chart only).
-| `color` | [`Color`](../general/colors.md)  | Yes | Yes | `'rgba(0, 0, 0, 0.1)'` | The color of the grid lines. If specified as an array, the first color applies to the first grid line, the second to the second grid line and so on.
+| `color` | [`Color`](../general/colors.md)  | Yes | Yes | `'rgba(0, 0, 0, 0.1)'` | The color of the grid lines. If specified as an array, the first color applies to the first grid line, the second to the second grid line, and so on.
 | `borderDash` | `number[]` | | | `[]` | Length and spacing of dashes on grid lines. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash).
 | `borderDashOffset` | `number` | Yes | | `0.0` | Offset for line dashes. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset).
 | `lineWidth` | `number` | Yes | Yes | `1` | Stroke width of grid lines.
-| `drawBorder` | `boolean` | | | `true` | If true, draw border at the edge between the axis and the chart area.
+| `drawBorder` | `boolean` | | | `true` | If true, draw border at the edge between the axis and the chart area.
 | `drawOnChartArea` | `boolean` | | | `true` | If true, draw lines on the chart area inside the axis lines. This is useful when there are multiple axes and you need to control which grid lines are drawn.
 | `drawTicks` | `boolean` | | | `true` | If true, draw lines beside the ticks in the axis area beside the chart.
 | `tickMarkLength` | `number` | | | `10` | Length in pixels that the grid lines will draw into the axis area.
index c915208daa1512cd1641486304c95881e38d6386..737f3737031b1e430a6201fdd0e8f85a9f7e0b87 100644 (file)
@@ -2,7 +2,7 @@
 title: Area Chart
 ---
 
-Both [line](line.md) and [radar](radar.md) charts support a `fill` option on the dataset object which can be used to create area between two datasets or a dataset and a boundary, i.e. the scale `origin`, `start` or `end` (see [filling modes](#filling-modes)).
+Both [line](line.md) and [radar](radar.md) charts support a `fill` option on the dataset object which can be used to create space between two datasets or a dataset and a boundary, i.e. the scale `origin`, `start,` or `end` (see [filling modes](#filling-modes)).
 
 > **Note:** this feature is implemented by the [`filler` plugin](https://github.com/chartjs/Chart.js/blob/master/src/plugins/plugin.filler.js).
 
index a69f40bda3725272499c868faa68ef6ba2749434..7d0bbbcaa54ed380be148babf58ed068431bb4b0 100644 (file)
@@ -100,9 +100,9 @@ the color of the bars is generally set this way.
 | `clip` | How to clip relative to chartArea. Positive value allows overflow, negative value clips that many pixels inside chartArea. `0` = clip at chartArea. Clipping can also be configured per side: `clip: {left: 5, top: false, right: -2, bottom: 0}`
 | `indexAxis` | The base axis of the dataset. `'x'` for vertical bars and `'y'` for horizontal bars.
 | `label` | The label for the dataset which appears in the legend and tooltips.
-| `order` | The drawing order of dataset. Also affects order for stacking, tooltip and legend.
-| `xAxisID` | The ID of the x axis to plot this dataset on.
-| `yAxisID` | The ID of the y axis to plot this dataset on.
+| `order` | The drawing order of dataset. Also affects order for stacking, tooltip, and legend.
+| `xAxisID` | The ID of the x-axis to plot this dataset on.
+| `yAxisID` | The ID of the y-axis to plot this dataset on.
 
 ### Styling
 
@@ -124,7 +124,7 @@ This setting is used to avoid drawing the bar stroke at the base of the fill.
 In general, this does not need to be changed except when creating chart types
 that derive from a bar chart.
 
-**Note:** for negative bars in vertical chart, `top` and `bottom` are flipped. Same goes for `left` and `right` in horizontal chart.
+**Note:** for negative bars in a vertical chart, `top` and `bottom` are flipped. Same goes for `left` and `right` in a horizontal chart.
 
 Options are:
 
@@ -138,7 +138,7 @@ Options are:
 
 #### borderWidth
 
-If this value is a number, it is applied to all sides of the rectangle (left, top, right, bottom), except [`borderSkipped`](#borderskipped). If this value is an object, the `left` property defines the left border width. Similarly the `right`, `top` and `bottom` properties can also be specified. Omitted borders and [`borderSkipped`](#borderskipped) are skipped.
+If this value is a number, it is applied to all sides of the rectangle (left, top, right, bottom), except [`borderSkipped`](#borderskipped). If this value is an object, the `left` property defines the left border width. Similarly, the `right`, `top`, and `bottom` properties can also be specified. Omitted borders and [`borderSkipped`](#borderskipped) are skipped.
 
 ### Interactions
 
@@ -200,7 +200,7 @@ The bar chart sets unique default values for the following configuration from th
 
 | Name | Type | Default | Description
 | ---- | ---- | ------- | -----------
-| `offset` | `boolean` | `true` | If true, extra space is added to the both edges and the axis is scaled to fit into the chart area.
+| `offset` | `boolean` | `true` | If true, extra space is added to both edges and the axis is scaled to fit into the chart area.
 | `gridLines.offsetGridLines` | `boolean` | `true` | If true, the bars for a particular data point fall between the grid lines. The grid line will move to the left by one half of the tick interval. If false, the grid line will go right down the middle of the bars. [more...](#offsetgridlines)
 
 ### Example Usage
@@ -343,8 +343,8 @@ var myBarChart = new Chart(ctx, {
 
 ### Config Options
 
-The configuration options for the horizontal bar chart are the same as for the [bar chart](#scale-configuration). However, any options specified on the x axis in a bar chart, are applied to the y axis in a horizontal bar chart.
+The configuration options for the horizontal bar chart are the same as for the [bar chart](#scale-configuration). However, any options specified on the x-axis in a bar chart, are applied to the y-axis in a horizontal bar chart.
 
 ## Internal data format
 
-`{x, y, _custom}` where `_custom` is optional object defining stacked bar properties: `{start, end, barStart, barEnd, min, max}`. `start` and `end` are the input values. Those two are repeated in `barStart` (closer to origin), `barEnd` (further from origin), `min` and `max`.
+`{x, y, _custom}` where `_custom` is an optional object defining stacked bar properties: `{start, end, barStart, barEnd, min, max}`. `start` and `end` are the input values. Those two are repeated in `barStart` (closer to origin), `barEnd` (further from origin), `min` and `max`.
index 2f899c854874dc9644fd2da29bd9cd7c104b9670..079172ad27340c6485e3849b02d9d5daebcc6522 100644 (file)
@@ -109,7 +109,7 @@ We can also change the default values for the Bubble chart type. Doing so will g
 
 ## Data Structure
 
-Bubble chart datasets need to contain a `data` array of points, each points represented by an object containing the following properties:
+Bubble chart datasets need to contain a `data` array of points, each point represented by an object containing the following properties:
 
 ```javascript
 {
index 451fb52fc78b5ffa8587b8630b9c93fdc3bce808..1b95d5dea6cb205d9c008409521db257b1b9a82d 100644 (file)
@@ -6,7 +6,7 @@ Pie and doughnut charts are probably the most commonly used charts. They are div
 
 They are excellent at showing the relational proportions between data.
 
-Pie and doughnut charts are effectively the same class in Chart.js, but have one different default value - their `cutoutPercentage`. This equates what percentage of the inner should be cut out. This defaults to `0` for pie charts, and `50` for doughnuts.
+Pie and doughnut charts are effectively the same class in Chart.js, but have one different default value - their `cutoutPercentage`. This equates to what percentage of the inner should be cut out. This defaults to `0` for pie charts, and `50` for doughnuts.
 
 They are also registered under two aliases in the `Chart` core. Other than their different default value, and different alias, they are exactly the same.
 
index 9fc821b30f0c333f2718e95a5510ce24234431df..1a1ebc73881f64f3a4789f9ba38e15382aafbd83 100644 (file)
@@ -97,9 +97,9 @@ The line chart allows a number of properties to be specified for each dataset. T
 | ---- | ----
 | `clip` | How to clip relative to chartArea. Positive value allows overflow, negative value clips that many pixels inside chartArea. `0` = clip at chartArea. Clipping can also be configured per side: `clip: {left: 5, top: false, right: -2, bottom: 0}`
 | `label` | The label for the dataset which appears in the legend and tooltips.
-| `order` | The drawing order of dataset. Also affects order for stacking, tooltip and legend.
-| `xAxisID` | The ID of the x axis to plot this dataset on.
-| `yAxisID` | The ID of the y axis to plot this dataset on.
+| `order` | The drawing order of dataset. Also affects order for stacking, tooltip, and legend.
+| `xAxisID` | The ID of the x-axis to plot this dataset on.
+| `yAxisID` | The ID of the y-axis to plot this dataset on.
 
 ### Point Styling
 
@@ -157,7 +157,7 @@ The following interpolation modes are supported.
 
 The `'default'` algorithm uses a custom weighted cubic interpolation, which produces pleasant curves for all types of datasets.
 
-The `'monotone'` algorithm is more suited to `y = f(x)` datasets : it preserves monotonicity (or piecewise monotonicity) of the dataset being interpolated, and ensures local extremums (if any) stay at input data points.
+The `'monotone'` algorithm is more suited to `y = f(x)` datasets: it preserves monotonicity (or piecewise monotonicity) of the dataset being interpolated, and ensures local extremums (if any) stay at input data points.
 
 If left untouched (`undefined`), the global `options.elements.line.cubicInterpolationMode` property is used.
 
@@ -198,7 +198,7 @@ See [`Data structures`](../general/data-structures.md)
 
 ## Stacked Area Chart
 
-Line charts can be configured into stacked area charts by changing the settings on the y axis to enable stacking. Stacked area charts can be used to show how one data trend is made up of a number of smaller pieces.
+Line charts can be configured into stacked area charts by changing the settings on the y-axis to enable stacking. Stacked area charts can be used to show how one data trend is made up of a number of smaller pieces.
 
 ```javascript
 var stackedLine = new Chart(ctx, {
index 340935770212d4b25980a71db1ae777ed7c6a464..c7913bede1cc6f898d8292bbdcf46ab6ce44329b 100644 (file)
@@ -24,7 +24,7 @@ var mixedChart = new Chart(ctx, {
 });
 ```
 
-At this point we have a chart rendering how we'd like. It's important to note that the default options for the charts are only considered at the dataset level and are not merged at the chart level in this case.
+At this point, we have a chart rendering how we'd like. It's important to note that the default options for the charts are only considered at the dataset level and are not merged at the chart level in this case.
 
 import { useEffect } from 'react';
 
@@ -69,7 +69,7 @@ export const ExampleChart = () => {
 
 ## Drawing order
 
- By default, datasets are drawn so that first one is top-most. This can be altered by specifying `order` option to datasets. `order` defaults to `0`. Note that this also affects stacking, legend and tooltip. So its essentially the same as reordering the datasets.
+ By default, datasets are drawn such that the first one is top-most. This can be altered by specifying `order` option to datasets. `order` defaults to `0`. Note that this also affects stacking, legend, and tooltip. So it's essentially the same as reordering the datasets.
 
  ```javascript
 var mixedChart = new Chart(ctx, {
index a352feb842de9e5a6529f2ccc4ffd3da4c9b453e..04899c01f5927a37cf8ebea226056a0522e8050e 100644 (file)
@@ -91,7 +91,7 @@ The following values are supported for `borderAlign`.
 * `'center'` (default)
 * `'inner'`
 
-When `'center'` is set, the borders of arcs next to each other will overlap. When `'inner'` is set, it is guaranteed that all the borders are not overlap.
+When `'center'` is set, the borders of arcs next to each other will overlap. When `'inner'` is set, it is guaranteed that all the borders do not overlap.
 
 ### Interactions
 
@@ -107,7 +107,7 @@ All these values, if `undefined`, fallback to the associated [`elements.arc.*`](
 
 ## Config Options
 
-These are the customisation options specific to Polar Area charts. These options are merged with the [global chart default options](#default-options), and form the options of the chart.
+These are the customisation options specific to Polar Area charts. These options are merged with the [global chart default options](#default-options) and form the options of the chart.
 
 | Name | Type | Default | Description
 | ---- | ---- | ------- | -----------
@@ -119,7 +119,7 @@ The polar area chart uses the [radialLinear](../axes/radial/linear.md) scale. Ad
 
 ## Default Options
 
-We can also change these defaults values for each PolarArea type that is created, this object is available at `Chart.defaults.polarArea`. Changing the global options only affects charts created after the change. Existing charts are not changed.
+We can also change these default values for each PolarArea type that is created, this object is available at `Chart.defaults.polarArea`. Changing the global options only affects charts created after the change. Existing charts are not changed.
 
 For example, to configure all new polar area charts with `animateScale = false` you would do:
 
index 39d0447e65e3153736807201fee0164f9a52837b..ee8a8d6449b73ccb2bacedc7fb06b50df566ded1 100644 (file)
@@ -148,7 +148,7 @@ The style of the line can be controlled with the following properties:
 | `borderJoinStyle` | Line joint style. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin).
 | `borderWidth` | The line width (in pixels).
 | `fill` | How to fill the area under the line. See [area charts](area.md).
-| `lineTension` | Bezier curve tension of the line. Set to 0 to draw straightlines.
+| `lineTension` | Bezier curve tension of the line. Set to 0 to draw straight lines.
 | `spanGaps` | If true, lines will be drawn between points with no or null data. If false, points with `NaN` data will create a break in the line.
 
 If the value is `undefined`, `spanGaps` fallback to the associated [chart configuration options](#configuration-options). The rest of the values fallback to the associated [`elements.line.*`](../configuration/elements.md#line-configuration) options.