UNPKG

survey-analytics

Version:

SurveyJS analytics Library.

24 lines (23 loc) 878 B
import { SelectBase } from "../selectBase"; import { VisualizerBase, IChartAdapter } from "../visualizerBase"; export declare const plotlyChartTypes: { boolean: string[]; number: string[]; selectBase: string[]; histogram: string[]; matrix: string[]; matrixDropdownGrouped: string[]; pivot: string[]; ranking: any[]; }; export declare class PlotlyChartAdapter implements IChartAdapter { protected model: SelectBase | VisualizerBase; private _chart; constructor(model: SelectBase | VisualizerBase); protected patchConfigParameters(chartNode: object, traces: Array<object>, layout: object, config: any): void; get chart(): Promise<Plotly.PlotlyHTMLElement>; getChartTypes(): string[]; create(chartNode: HTMLElement): Promise<any>; update(chartNode: HTMLElement): Promise<any>; destroy(node: HTMLElement): void; }