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

Include grace in LinearScaleOptions type definition #8847

Merged
Merged
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: 4 additions & 0 deletions types/index.esm.d.ts
Expand Up @@ -2821,6 +2821,10 @@ export type LinearScaleOptions = CartesianScaleOptions & {
* Adjustment used when calculating the minimum data value.
*/
suggestedMax?: number;
/**
* Percentage (string ending with %) or amount (number) for added room in the scale range above and below data.
*/
grace?: string | number;

ticks: {
/**
Expand Down