Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #1878

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api-latest.md
Original file line number Diff line number Diff line change
Expand Up @@ -2982,7 +2982,7 @@ Turn on/off Title label rendering (values) using SVG style of text-anchor 'end'.
### rowChart.xAxis([xAxis]) ⇒ <code>d3.axis</code> \| [<code>RowChart</code>](#RowChart)
Get or sets the x axis for the row chart instance.
See the [d3.axis](https://github.com/d3/d3-axis/blob/master/README.md)
documention for more information.
documentation for more information.

**Kind**: instance method of [<code>RowChart</code>](#RowChart)

Expand Down
2 changes: 1 addition & 1 deletion docs/old-api-docs/api-2.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -1872,7 +1872,7 @@ Turn on/off Title label rendering (values) using SVG style of text-anchor 'end'.
#### rowChart.xAxis() ⇒ <code>d3.svg.axis</code>
Get the x axis for the row chart instance. Note: not settable for row charts.
See the [d3 axis object](https://github.com/d3/d3-3.x-api-reference/blob/master/SVG-Axes.md#axis)
documention for more information.
documentation for more information.

**Kind**: instance method of <code>[rowChart](#dc.rowChart)</code>
**See**: [d3.svg.axis](https://github.com/d3/d3-3.x-api-reference/blob/master/SVG-Axes.md#axis)
Expand Down
2 changes: 1 addition & 1 deletion docs/old-api-docs/api-2.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -1884,7 +1884,7 @@ Turn on/off Title label rendering (values) using SVG style of text-anchor 'end'.
#### rowChart.xAxis() ⇒ <code>d3.svg.axis</code>
Get the x axis for the row chart instance. Note: not settable for row charts.
See the [d3 axis object](https://github.com/d3/d3-3.x-api-reference/blob/master/SVG-Axes.md#axis)
documention for more information.
documentation for more information.

**Kind**: instance method of [<code>rowChart</code>](#dc.rowChart)
**See**: [d3.svg.axis](https://github.com/d3/d3-3.x-api-reference/blob/master/SVG-Axes.md#axis)
Expand Down
2 changes: 1 addition & 1 deletion docs/old-api-docs/api-3.1.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -2332,7 +2332,7 @@ Turn on/off Title label rendering (values) using SVG style of text-anchor 'end'.
#### rowChart.xAxis([xAxis]) ⇒ <code>d3.axis</code> \| [<code>rowChart</code>](#dc.rowChart)
Get or sets the x axis for the row chart instance.
See the [d3.axis](https://github.com/d3/d3-axis/blob/master/README.md)
documention for more information.
documentation for more information.

**Kind**: instance method of [<code>rowChart</code>](#dc.rowChart)

Expand Down
2 changes: 1 addition & 1 deletion src/base/base-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ export class BaseMixin {

if (onClickFunction) {
tabElements.on('keydown', d3compat.eventHandler((d, event) => {
// trigger only if d is an object undestood by KeyAccessor()
// trigger only if d is an object understood by KeyAccessor()
if (event.keyCode === 13 && typeof d === 'object') {
onClickFunction.call(this, d, ...onClickArgs)
}
Expand Down
2 changes: 1 addition & 1 deletion src/charts/row-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export class RowChart extends CapMixin(ColorMixin(MarginMixin)) {
/**
* Get or sets the x axis for the row chart instance.
* See the {@link https://github.com/d3/d3-axis/blob/master/README.md d3.axis}
* documention for more information.
* documentation for more information.
* @param {d3.axis} [xAxis]
* @example
* // customize x axis tick format
Expand Down
2 changes: 1 addition & 1 deletion web-src/stock.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ d3.csv('ndx.csv').then(data => {
// The `.valueAccessor` will be used for the base layer
.group(indexAvgByMonthGroup, 'Monthly Index Average')
.valueAccessor(d => d.value.avg)
// Stack additional layers with `.stack`. The first paramenter is a new group.
// Stack additional layers with `.stack`. The first parameter is a new group.
// The second parameter is the series name. The third is a value accessor.
.stack(monthlyMoveGroup, 'Monthly Index Move', d => d.value)
// Title can be called by any stack layer.
Expand Down