ag-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
47 lines (46 loc) • 2.1 kB
TypeScript
import type { AgFunnelSeriesItemStylerParams, AgFunnelSeriesLabelFormatterParams, AgFunnelSeriesOptions, AgFunnelSeriesStyle, AgFunnelSeriesTooltipRendererParams, Styler } from 'ag-charts-community';
import { _ModuleSupport } from 'ag-charts-community';
import type { InternalAgColorType, RequireOptional } from 'ag-charts-core';
import { BaseProperties } from 'ag-charts-core';
import type { BaseFunnelProperties } from './baseFunnelSeriesProperties';
declare const Label: typeof _ModuleSupport.Label, AbstractBarSeriesProperties: typeof _ModuleSupport.AbstractBarSeriesProperties, SeriesLabelProperties: typeof _ModuleSupport.SeriesLabelProperties;
declare class FunnelSeriesLabel extends Label<AgFunnelSeriesLabelFormatterParams> {
}
declare class FunnelSeriesStageLabel extends SeriesLabelProperties {
placement?: string;
}
declare class FunnelDropOff extends BaseProperties {
enabled: boolean;
fill: InternalAgColorType | undefined;
fillOpacity: number;
stroke: string | undefined;
strokeWidth: number;
strokeOpacity: number;
lineDash: number[];
lineDashOffset: number;
getStyle(): RequireOptional<AgFunnelSeriesStyle> & {
opacity: number;
};
}
export declare class FunnelProperties extends AbstractBarSeriesProperties<AgFunnelSeriesOptions> implements BaseFunnelProperties<AgFunnelSeriesOptions> {
stageKey: string;
valueKey: string;
fills: InternalAgColorType[];
fillOpacity: number;
strokes: string[];
strokeWidth: number;
strokeOpacity: number;
lineDash: number[];
lineDashOffset: number;
spacingRatio: number;
itemStyler?: Styler<AgFunnelSeriesItemStylerParams<unknown>, AgFunnelSeriesStyle>;
readonly dropOff: FunnelDropOff;
readonly shadow: _ModuleSupport.DropShadow;
readonly label: FunnelSeriesLabel;
readonly stageLabel: FunnelSeriesStageLabel;
readonly tooltip: _ModuleSupport.SeriesTooltip<Omit<AgFunnelSeriesTooltipRendererParams<unknown, unknown>, "context">>;
getStyle(index: number): Required<AgFunnelSeriesStyle> & {
opacity: number;
};
}
export {};