ag-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
60 lines (59 loc) • 3.15 kB
TypeScript
import { type AgBoxPlotSeriesStyle, _ModuleSupport } from 'ag-charts-community';
import { BoxPlotGroup } from './boxPlotGroup';
import { BoxPlotSeriesProperties } from './boxPlotSeriesProperties';
import type { BoxPlotNodeDatum } from './boxPlotTypes';
declare class BoxPlotSeriesNodeEvent<TEvent extends string = _ModuleSupport.SeriesNodeEventTypes> extends _ModuleSupport.SeriesNodeEvent<BoxPlotNodeDatum, TEvent> {
readonly xKey?: string;
readonly minKey?: string;
readonly q1Key?: string;
readonly medianKey?: string;
readonly q3Key?: string;
readonly maxKey?: string;
constructor(type: TEvent, nativeEvent: Event, datum: BoxPlotNodeDatum, series: BoxPlotSeries);
}
export declare class BoxPlotSeries extends _ModuleSupport.AbstractBarSeries<BoxPlotGroup, BoxPlotSeriesProperties, BoxPlotNodeDatum> {
static readonly className = "BoxPlotSeries";
static readonly type: "box-plot";
properties: BoxPlotSeriesProperties;
protected readonly NodeEvent: typeof BoxPlotSeriesNodeEvent;
constructor(moduleCtx: _ModuleSupport.ModuleContext);
processData(dataController: _ModuleSupport.DataController): Promise<void>;
getSeriesDomain(direction: _ModuleSupport.ChartAxisDirection): any[];
getSeriesRange(_direction: _ModuleSupport.ChartAxisDirection, visibleRange: [any, any]): any[];
createNodeData(): {
itemId: string;
nodeData: BoxPlotNodeDatum[];
labelData: never[];
scales: {
x?: _ModuleSupport.Scaling | undefined;
y?: _ModuleSupport.Scaling | undefined;
};
visible: boolean;
} | undefined;
private legendItemSymbol;
getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[];
getTooltipContent(datumIndex: number): _ModuleSupport.TooltipContent | undefined;
protected animateEmptyUpdateReady({ datumSelection, }: _ModuleSupport.CartesianAnimationData<BoxPlotGroup, BoxPlotNodeDatum>): void;
protected isLabelEnabled(): boolean;
protected updateDatumSelection(opts: {
nodeData: BoxPlotNodeDatum[];
datumSelection: _ModuleSupport.Selection<BoxPlotGroup, BoxPlotNodeDatum>;
seriesIdx: number;
}): _ModuleSupport.Selection<BoxPlotGroup, BoxPlotNodeDatum>;
private getItemBaseStyle;
private getItemStyleOverrides;
protected updateDatumNodes({ datumSelection, isHighlight: highlighted, }: {
datumSelection: _ModuleSupport.Selection<BoxPlotGroup, BoxPlotNodeDatum>;
isHighlight: boolean;
}): void;
protected updateLabelNodes(): void;
protected updateLabelSelection(opts: {
labelData: BoxPlotNodeDatum[];
labelSelection: _ModuleSupport.Selection<_ModuleSupport.Text, BoxPlotNodeDatum>;
seriesIdx: number;
}): _ModuleSupport.Selection<_ModuleSupport.Text<any>, BoxPlotNodeDatum>;
protected nodeFactory(): BoxPlotGroup;
getFormattedStyles(nodeDatum: BoxPlotNodeDatum, scope: 'tooltip' | 'node' | 'highlight'): AgBoxPlotSeriesStyle;
protected computeFocusBounds({ datumIndex }: _ModuleSupport.PickFocusInputs): _ModuleSupport.BBox | undefined;
}
export {};