diff --git a/src/coord/axisCommonTypes.ts b/src/coord/axisCommonTypes.ts index e3241cb02e9..6d1005f7f99 100644 --- a/src/coord/axisCommonTypes.ts +++ b/src/coord/axisCommonTypes.ts @@ -20,7 +20,7 @@ import { TextCommonOption, LineStyleOption, OrdinalRawValue, ZRColor, AreaStyleOption, ComponentOption, ColorString, - AnimationOptionMixin, Dictionary, ScaleDataValue, CommonAxisPointerOption + AnimationOptionMixin, Dictionary, ScaleDataValue, CommonAxisPointerOption, LabelOption } from '../util/types'; @@ -213,17 +213,14 @@ type LabelFormatters = { time: TimeAxisLabelFormatterOption }; -interface AxisLabelBaseOption extends Omit { - show?: boolean, +interface AxisLabelBaseOption extends Omit { // Whether axisLabel is inside the grid or outside the grid. inside?: boolean, - rotate?: number, // true | false | null/undefined (auto) showMinLabel?: boolean, // true | false | null/undefined (auto) showMaxLabel?: boolean, margin?: number, - rich?: Dictionary /** * If hide overlapping labels. */