scichart
Version:
Fast WebGL JavaScript Charting Library and Framework
34 lines (33 loc) • 1 kB
TypeScript
import { AxisBase2D } from "../Charting/Visuals/Axis/AxisBase2D";
import { SciChartSurfaceBase } from "../Charting/Visuals/SciChartSurfaceBase";
/**
* A type which implements {@link IIncludable} can be used with {@link IncludedItems} class
*/
export interface IWithXYAxes {
/**
* Gets the bound {@link AxisBase2D | XAxis}
*/
readonly xAxis: AxisBase2D | undefined;
/**
* Gets the bound {@link AxisBase2D | YAxis}
*/
readonly yAxis: AxisBase2D | undefined;
/**
* @description the parent SciChartSurfaceBase
*/
parentSurface: SciChartSurfaceBase | undefined;
/**
* The current XAxis Id that this item is bound to.
*/
xAxisId: string | undefined;
/**
* The current YAxis Id that this item is bound to.
*/
yAxisId: string | undefined;
/**
* Links the item to axes
*/
linkAxes(): void;
}
/** @ignore */
export declare function updateAxisIds(item: IWithXYAxes): void;