UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

13 lines (12 loc) 786 B
import type { ISeriesTooltipHelper } from '../interface'; import { BaseSeriesTooltipHelper } from '../base/tooltip-helper'; import type { Datum, ITooltipLinePattern, TooltipActiveType } from '../../typings'; import { BOX_PLOT_TOOLTIP_KEYS } from '../../constant/box-plot'; export declare class BoxPlotSeriesTooltipHelper extends BaseSeriesTooltipHelper implements ISeriesTooltipHelper { protected getDefaultContentList(activeType: TooltipActiveType): ITooltipLinePattern[]; getContentKey: (contentType: BOX_PLOT_TOOLTIP_KEYS) => (datum: any) => string; getContentValue: (contentType: BOX_PLOT_TOOLTIP_KEYS) => (datum: any) => any; shapeColorCallback: (datum: Datum) => any; getOutlierFillColor: (datum: Datum) => any; isOutlierMark: (datum: Datum) => boolean; }