Skip to content

Commit

Permalink
fix(types): add xCenter and yCenter properties to RadialLinearScale i…
Browse files Browse the repository at this point in the history
…nterface (#11862)
  • Loading branch information
artus9033 authored Aug 16, 2024
1 parent b9c0141 commit 74122c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3577,6 +3577,8 @@ export type RadialLinearScaleOptions = CoreScaleOptions & {
};

export interface RadialLinearScale<O extends RadialLinearScaleOptions = RadialLinearScaleOptions> extends Scale<O> {
xCenter: number;
yCenter: number;
setCenterPoint(leftMovement: number, rightMovement: number, topMovement: number, bottomMovement: number): void;
getIndexAngle(index: number): number;
getDistanceFromCenterForValue(value: number): number;
Expand Down

0 comments on commit 74122c1

Please sign in to comment.