Skip to content

Commit a3fc841

Browse files
authored
fix: Add backgroundColor type on CoreScaleOptions (#11348)
* Fix: add backgroundColor type on CartesianScaleOptions * Add instead on CoreScaleOptions * Remove redundant backgroundColor from RadialLinearScaleOptions
1 parent 4c200b2 commit a3fc841

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/types/index.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,6 +1166,10 @@ export interface CoreScaleOptions {
11661166
* Align pixel values to device pixels
11671167
*/
11681168
alignToPixels: boolean;
1169+
/**
1170+
* Background color of the scale area.
1171+
*/
1172+
backgroundColor: Color;
11691173
/**
11701174
* Reverse the scale.
11711175
* @default false
@@ -3464,8 +3468,6 @@ export type RadialTickOptions = TickOptions & {
34643468
}
34653469

34663470
export type RadialLinearScaleOptions = CoreScaleOptions & {
3467-
backgroundColor: Color;
3468-
34693471
animate: boolean;
34703472

34713473
startAngle: number;

0 commit comments

Comments
 (0)