ag-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
30 lines (29 loc) • 1.32 kB
TypeScript
import { type AgOhlcSeriesOptions, _ModuleSupport } from 'ag-charts-community';
import { OhlcNode } from './ohlcNode';
import { type OhlcNodeDatum, OhlcSeriesBase, type OhlcSeriesBaseTypes } from './ohlcSeriesBase';
import { OhlcSeriesProperties } from './ohlcSeriesProperties';
/**
* Consolidated type interface for OhlcSeries.
*/
interface OhlcSeriesTypes extends OhlcSeriesBaseTypes {
readonly node: OhlcNode<OhlcNodeDatum>;
readonly options: AgOhlcSeriesOptions;
readonly properties: OhlcSeriesProperties;
}
export declare class OhlcSeries extends OhlcSeriesBase<OhlcSeriesTypes> {
static readonly className = "ohlc";
static readonly type: "ohlc";
properties: OhlcSeriesProperties;
protected nodeFactory(): OhlcNode<OhlcNodeDatum>;
protected updateDatumStyles({ datumSelection, isHighlight, }: {
datumSelection: _ModuleSupport.Selection<OhlcNodeDatum, OhlcSeriesTypes['node']>;
isHighlight: boolean;
}): void;
protected updateDatumNodes({ datumSelection, isHighlight, }: {
datumSelection: _ModuleSupport.Selection<OhlcNodeDatum, OhlcSeriesTypes['node']>;
isHighlight: boolean;
}): void;
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[];
protected hasItemStylers(): boolean;
}
export {};