UNPKG

survey-analytics

Version:

SurveyJS Dashboard is a UI component for visualizing and analyzing survey data. It interprets the form JSON schema to identify question types and renders collected responses using interactive charts and tables.

17 lines (16 loc) 722 B
import { SelectBase } from "../selectBase"; import { VisualizerBase, IChartAdapter } from "../visualizerBase"; export declare const plotlyChartTypes: { [key: string]: () => Array<string>; }; 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; }