Skip to content

Commit

Permalink
Add TS definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Mar 14, 2021
1 parent 3e3a757 commit aec1f49
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions types/index.esm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2825,6 +2825,11 @@ export type LinearScaleOptions = CartesianScaleOptions & {
* @see https://www.chartjs.org/docs/next/axes/cartesian/linear#step-size
*/
stepSize: number;

/**
* User defined count of ticks
*/
count: number;
};
};

Expand Down Expand Up @@ -3080,6 +3085,11 @@ export type RadialLinearScaleOptions = CoreScaleOptions & {
*/
stepSize: number;

/**
* User defined number of ticks
*/
count: number;

/**
* If true, draw a background behind the tick labels.
* @default true
Expand Down

0 comments on commit aec1f49

Please sign in to comment.