import type { CurveChart } from "./CurveChart"; import type { Grid } from "../xy/axes/Grid"; import type { IPoint } from "../../core/util/IPoint"; import type { Graphics } from "../../core/render/Graphics"; import type { AxisTick } from "../xy/axes/AxisTick"; import type { AxisBullet } from "../xy/axes/AxisBullet"; import type { Tooltip } from "../../core/render/Tooltip"; import type { AxisRendererCurveX } from "./AxisRendererCurveX"; import { AxisRenderer, IAxisRendererSettings, IAxisRendererPrivate } from "../xy/axes/AxisRenderer"; import { AxisLabelRadial } from "../xy/axes/AxisLabelRadial"; import { ListTemplate } from "../../core/util/List"; export interface IAxisRendererCurveYSettings extends IAxisRendererSettings { /** * Length of the axis in pixels. On a [[CurveChart]], it is scaled along * with the X renderer's `points`. * * [[SerpentineChart]] and [[SpiralChart]] ignore it and work the length * out from their own `yAxisRadius`. * * @default 60 */ axisLength?: number; /** * Renderer of the X axis. It is set automatically when this renderer is * the X renderer's `yRenderer`. */ xRenderer?: AxisRendererCurveX; /** * Where on this axis the X axis line runs: `0` at its start, `1` at its * end. At `0.5`, the axis reaches out equally to both sides of the line. * * @default 0.5 */ axisLocation?: number; /** * Rotates the labels to the direction of the X axis line at its start, * where this axis's labels are. * * @default false */ rotateLabels?: boolean; } export interface IAxisRendererCurveYPrivate extends IAxisRendererPrivate { } /** * Renderer for the Y axis of a [[CurveChart]], which runs across the X axis * line all along it. * * @see {@link https://www.amcharts.com/docs/v5/charts/timeline/} for more info * @since 5.12.0 * @important */ export declare class AxisRendererCurveY extends AxisRenderer { /** * Chart this renderer is for. */ chart: CurveChart | undefined; static className: string; static classNames: Array; _settings: IAxisRendererCurveYSettings; _privateSettings: IAxisRendererCurveYPrivate; protected _fillGenerator: import("d3-shape").Arc; /** * The axis labels, placed at the start of the X axis line. Configure them * through `labels.template`. */ readonly labels: ListTemplate; _afterNew(): void; _changed(): void; /** * @ignore */ processAxis(): void; /** * @ignore */ updateLayout(): void; /** * @ignore */ updateGrid(grid?: Grid, position?: number, endPosition?: number): void; protected _handleOpposite(): void; /** * Converts a position on this axis and one on the X axis to an X/Y point. * * @param position Position on this axis, `0` to `1` * @param positionX Position on the X axis, `0` to `1` * @param doNotFix `positionX` is already relative to the X axis's visible (zoomed) range * @return Point */ positionToPoint(position: number, positionX?: number, doNotFix?: boolean): IPoint; /** * @ignore */ updateLabel(label?: AxisLabelRadial, position?: number, endPosition?: number, count?: number): void; /** * @ignore */ updateTick(tick?: AxisTick, position?: number, endPosition?: number, count?: number): void; /** * @ignore */ updateBullet(bullet?: AxisBullet, position?: number, endPosition?: number): void; getPoints(positionX: number, positionY: number, endPositionX: number, endPositionY: number): IPoint[] | undefined; /** * @ignore */ updateFill(fill?: Graphics, position?: number, endPosition?: number): void; /** * Returns the `axisLength` setting. * * @return Length */ axisLength(): number; /** * @ignore */ updateTooltipBounds(_tooltip: Tooltip): void; /** * Converts a position on the axis to a distance in pixels from the start * of its visible range. * * @param position Position * @return Pixels */ positionToCoordinate(position: number): number; /** * @ignore */ positionTooltip(tooltip: Tooltip, position: number): void; } //# sourceMappingURL=AxisRendererCurveY.d.ts.map