import { DChartAxisBaseOptions, DChartAxisBaseTickOptions, DChartAxisBaseTickMajorGridlineOptions, DChartAxisBaseTickMajorOptions, DChartAxisBaseTickMinorOptions, DChartAxisBaseTextDirectionOption, DChartAxisBaseTickTextOptions, DThemeChartAxisBase, DChartAxisBaseStrokeOptions } from "./d-chart-axis-base-options"; import { DChartAxisGuide } from "./d-chart-axis-guide"; import { DChartAxisPosition } from "./d-chart-axis-position"; import { DChartAxisTickPosition } from "./d-chart-axis-tick-position"; import { DChartCoordinateTickMajorStepFunction } from "./d-chart-coordinate-tick-major-step-function"; import { DChartCoordinateTickMinorStepFunction } from "./d-chart-coordinate-tick-minor-step-function"; import { EShapePointsStyle } from "./shape/e-shape-points-style"; import { EShapePointsStyleOption } from "./shape/e-shape-points-styles"; import { EShapeStrokeLike } from "./shape/e-shape-stroke"; import { EShapeStrokeSide } from "./shape/e-shape-stroke-side"; import { EShapeStrokeStyle } from "./shape/e-shape-stroke-style"; import { EShapeTextLike, EShapeTextStyle, EShapeTextWeight } from "./shape/e-shape-text"; import { EShapeTextAlignLike } from "./shape/e-shape-text-align"; import { EShapeTextDirection } from "./shape/e-shape-text-direction"; import { EShapeTextOffsetLike } from "./shape/e-shape-text-offset"; import { EShapeTextOutlineLike } from "./shape/e-shape-text-outline"; import { EShapeBarPosition } from "./shape/variant/e-shape-bar-position"; import { DeepPartial } from "./util/deep-partial"; import { NumberFormatter } from "./util/number-formatter"; import { NumberFormatterFunction } from "./util/number-formatter-function"; export interface DChartAxisBaseOptionParserText { /** A format. Please refer to {@link NumberFormatter} for format details. */ format?: string | null; /** A formatter function. */ formatter?: NumberFormatterFunction; color?: number; alpha?: number; family?: string; size?: number; weight?: EShapeTextWeight; align?: Partial; offset?: Partial; style?: EShapeTextStyle; outline?: Partial; spacing?: Partial; direction?: EShapeTextDirection; padding?: Partial; clipping?: boolean; } export interface DChartAxisBaseOptionParserGridline { enable: boolean; style?: EShapePointsStyle; stroke?: Partial; } export interface DChartAxisBaseOptionParserTickMajor { capacity: number; count: number; step: number | DChartCoordinateTickMajorStepFunction | undefined; size: number; position: EShapeBarPosition; style?: EShapePointsStyle; stroke?: Partial; text?: DChartAxisBaseOptionParserText; formatter?: NumberFormatter; gridline: DChartAxisBaseOptionParserGridline; } export interface DChartAxisBaseOptionParserTickMinor { count: number; step: number | DChartCoordinateTickMinorStepFunction | undefined; size: number; position: EShapeBarPosition; style?: EShapePointsStyle; stroke?: Partial; text?: DChartAxisBaseOptionParserText; formatter?: NumberFormatter; } export interface DChartAxisBaseOptionParserTick { enable: boolean; major: DChartAxisBaseOptionParserTickMajor; minor: DChartAxisBaseOptionParserTickMinor; } export interface DChartAxisBaseOptionParserBar { style?: EShapePointsStyle; stroke?: Partial; } export interface DChartAxisBaseOptionParserGuide { list: DChartAxisGuide[]; } export declare class DChartAxisBaseOptionParser = DChartAxisBaseOptions> { coordinate: number; position: DChartAxisPosition; tick: DChartAxisBaseOptionParserTick; label: DeepPartial | undefined; padding: number; bar: DChartAxisBaseOptionParserBar; guide: DChartAxisBaseOptionParserGuide; constructor(theme: THEME, options?: OPTIONS); protected toPosition(theme: THEME, options?: OPTIONS): DChartAxisPosition; protected toGuide(theme: THEME, options?: OPTIONS): DChartAxisBaseOptionParserGuide; protected toBar(theme: THEME, options?: OPTIONS): DChartAxisBaseOptionParserBar; protected toTick(theme: THEME, options?: OPTIONS): DChartAxisBaseOptionParserTick; protected toTickMajor(theme: THEME, options?: DChartAxisBaseTickOptions): DChartAxisBaseOptionParserTickMajor; protected toTickMajorGridline(theme: THEME, options: DChartAxisBaseTickMajorGridlineOptions | undefined, optionsStyle: EShapePointsStyleOption | undefined, optionsStroke: DChartAxisBaseStrokeOptions | undefined): DChartAxisBaseOptionParserGridline; protected toTickPosition(tickPosition: DChartAxisTickPosition | keyof typeof DChartAxisTickPosition): EShapeBarPosition; protected toTickMinor(theme: THEME, options?: DChartAxisBaseTickOptions): DChartAxisBaseOptionParserTickMinor; protected toBarStroke(theme: THEME, options?: DChartAxisBaseStrokeOptions): Partial; protected toTickMajorStroke(theme: THEME, optionsA?: DChartAxisBaseStrokeOptions, optionsB?: DChartAxisBaseStrokeOptions): Partial; protected toTickMajorGridlineStroke(theme: THEME, optionsA?: DChartAxisBaseStrokeOptions, optionsB?: DChartAxisBaseStrokeOptions): Partial; protected toTickMinorStroke(theme: THEME, optionsA?: DChartAxisBaseStrokeOptions, optionsB?: DChartAxisBaseStrokeOptions): Partial; protected toStroke(optionsA: DChartAxisBaseStrokeOptions | undefined, optionsB: DChartAxisBaseStrokeOptions | undefined, enable: boolean | undefined, color: number | undefined, alpha: number | undefined, width: number | undefined, align: number | undefined, side: EShapeStrokeSide | undefined, style: EShapeStrokeStyle | undefined): Partial; protected toStrokeStyle(target?: EShapeStrokeStyle | keyof typeof EShapeStrokeStyle | Array): EShapeStrokeStyle | undefined; protected toTickMajorFormatter(theme: THEME, options?: DChartAxisBaseTickMajorOptions): NumberFormatter | undefined; protected toTickMajorText(theme: THEME, options?: DChartAxisBaseTickTextOptions): DChartAxisBaseOptionParserText | undefined; protected toTickMajorTextOutline(theme: THEME, options?: Partial): Partial | undefined; protected toTickMajorTextAlign(theme: THEME, options?: Partial): Partial | undefined; protected toTickMajorTextOffset(theme: THEME, options?: Partial): Partial | undefined; protected toTickMajorTextSpacing(theme: THEME, options?: Partial): Partial | undefined; protected toTickMajorTextPadding(theme: THEME, options?: Partial): Partial; protected toTickMajorTextDirection(theme: THEME, options?: DChartAxisBaseTextDirectionOption): EShapeTextDirection; protected toTickMajorTextColor(theme: THEME, options?: number): number | undefined; protected toTickMinorFormatter(theme: THEME, options?: DChartAxisBaseTickMinorOptions): NumberFormatter | undefined; protected toTickMinorText(theme: THEME, options?: DChartAxisBaseTickTextOptions): DChartAxisBaseOptionParserText | undefined; protected toTickMinorTextOutline(theme: THEME, options?: Partial): Partial | undefined; protected toTickMinorTextAlign(theme: THEME, options?: Partial): Partial | undefined; protected toTickMinorTextOffset(theme: THEME, options?: Partial): Partial | undefined; protected toTickMinorTextSpacing(theme: THEME, options?: Partial): Partial | undefined; protected toTickMinorTextPadding(theme: THEME, options?: Partial): Partial; protected toTickMinorTextDirection(theme: THEME, options?: DChartAxisBaseTextDirectionOption): EShapeTextDirection; protected toTickMinorTextColor(theme: THEME, options?: number): number | undefined; protected toLabel(theme: THEME, options?: OPTIONS): DeepPartial | undefined; protected toLabelOutline(theme: THEME, options?: Partial): Partial | undefined; protected toLabelAlign(theme: THEME, options?: Partial): Partial | undefined; protected toLabelOffset(theme: THEME, options?: Partial): Partial | undefined; protected toLabelSpacing(theme: THEME, options?: Partial): Partial | undefined; protected toLabelPadding(theme: THEME, options?: Partial): Partial; protected toLabelDirection(theme: THEME, options?: DChartAxisBaseTextDirectionOption): EShapeTextDirection; protected toLabelColor(theme: THEME, options?: number): number | undefined; }