@amcharts/amcharts5
Version:
amCharts 5
59 lines • 1.62 kB
TypeScript
import type { PanelControls } from "./PanelControls";
import type { StockChart } from "./StockChart";
import type { XYSeries } from "../xy/series/XYSeries";
import { XYChart, IXYChartPrivate, IXYChartSettings } from "../xy/XYChart";
import { ListAutoDispose } from "../../core/util/List";
import type { Rectangle } from "../../core/render/Rectangle";
export interface IStockPanelSettings extends IXYChartSettings {
}
export interface IStockPanelPrivate extends IXYChartPrivate {
/**
* A target [[StockChart]].
*/
stockChart: StockChart;
}
/**
* A panel instance for the [[StockChart]].
*
* @see {@link https://www.amcharts.com/docs/v5/charts/stock/panels/} for more info
* @important
*/
export declare class StockPanel extends XYChart {
static className: string;
static classNames: Array<string>;
_settings: IStockPanelSettings;
_privateSettings: IStockPanelPrivate;
/**
* An instance of [[PanelControls]].
*/
panelControls: PanelControls;
/**
* Panel resize grip element.
*
* @since 5.4.7
*/
panelResizer?: Rectangle;
/**
* A list of drawings on panel.
*
*/
readonly drawings: ListAutoDispose<XYSeries>;
protected _afterNew(): void;
/**
* Moves panel up.
*/
moveUp(): void;
/**
* Moves panel down.
*/
moveDown(): void;
/**
* Closes panel.
*/
close(): void;
/**
* Toggles "full screen" mode of the panel on and off.
*/
expand(): void;
}
//# sourceMappingURL=StockPanel.d.ts.map