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

fix typings #9318

Merged
merged 1 commit into from Jun 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/axes/index.md
Expand Up @@ -157,8 +157,8 @@ Namespace: `options.scales[scaleId]`
| `afterBuildTicks` | `axis` | Callback that runs after ticks are created. Useful for filtering ticks.
| `beforeTickToLabelConversion` | `axis` | Callback that runs before ticks are converted into strings.
| `afterTickToLabelConversion` | `axis` | Callback that runs after ticks are converted into strings.
| `beforeCalculateTickRotation` | `axis` | Callback that runs before tick rotation is determined.
| `afterCalculateTickRotation` | `axis` | Callback that runs after tick rotation is determined.
| `beforeCalculateLabelRotation` | `axis` | Callback that runs before tick rotation is determined.
| `afterCalculateLabelRotation` | `axis` | Callback that runs after tick rotation is determined.
| `beforeFit` | `axis` | Callback that runs before the scale fits to the canvas.
| `afterFit` | `axis` | Callback that runs after the scale fits to the canvas.
| `afterUpdate` | `axis` | Callback that runs at the end of the update process.
Expand Down
4 changes: 2 additions & 2 deletions types/index.esm.d.ts
Expand Up @@ -1137,11 +1137,11 @@ export interface CoreScaleOptions {
/**
* Callback that runs before tick rotation is determined.
*/
beforeCalculateTickRotation(axis: Scale): void;
beforeCalculateLabelRotation(axis: Scale): void;
/**
* Callback that runs after tick rotation is determined.
*/
afterCalculateTickRotation(axis: Scale): void;
afterCalculateLabelRotation(axis: Scale): void;
/**
* Callback that runs before the scale fits to the canvas.
*/
Expand Down