Skip to content

Commit b34e273

Browse files
authored
docs: Fix a few typos (#11220)
There are small typos in: - docs/general/colors.md - src/controllers/controller.doughnut.js - src/controllers/controller.pie.js - src/scales/scale.time.js Fixes: - Should read `outer` rather than `outr`. - Should read `indistinguishable` rather than `indistiguishable`. - Should read `guesstimation` rather than `guestimation`. Signed-off-by: Tim Gates <[email protected]>
1 parent f3d4aa4 commit b34e273

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/general/colors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Chart.defaults.color = '#000';
2626

2727
### Per-dataset color settings
2828

29-
If your chart has multiple datasets, using default colors would make individual datasets indistiguishable. In that case, you can set `backgroundColor` and `borderColor` for each dataset:
29+
If your chart has multiple datasets, using default colors would make individual datasets indistinguishable. In that case, you can set `backgroundColor` and `borderColor` for each dataset:
3030

3131
```javascript
3232
const data = {

src/controllers/controller.doughnut.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default class DoughnutController extends DatasetController {
6565
// The total circumference of the chart.
6666
circumference: 360,
6767

68-
// The outr radius of the chart
68+
// The outer radius of the chart
6969
radius: '100%',
7070

7171
// Spacing between arcs

src/controllers/controller.pie.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class PieController extends DoughnutController {
1818
// The total circumference of the chart.
1919
circumference: 360,
2020

21-
// The outr radius of the chart
21+
// The outer radius of the chart
2222
radius: '100%'
2323
};
2424
}

src/scales/scale.time.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ export default class TimeScale extends Scale {
611611
const timeOpts = this.options.time;
612612
const displayFormats = timeOpts.displayFormats;
613613

614-
// pick the longest format (milliseconds) for guestimation
614+
// pick the longest format (milliseconds) for guesstimation
615615
const format = displayFormats[timeOpts.unit] || displayFormats.millisecond;
616616
const exampleLabel = this._tickFormatFunction(exampleTime, 0, ticksFromTimestamps(this, [exampleTime], this._majorUnit), format);
617617
const size = this._getLabelSize(exampleLabel);

0 commit comments

Comments
 (0)