survey-analytics
Version:
SurveyJS analytics Library.
21 lines (20 loc) • 747 B
TypeScript
import { Question } from "survey-core";
import { NumberModel } from "../number";
export declare class PlotlyGaugeAdapter {
private model;
private _chart;
constructor(model: GaugePlotly);
get chart(): Promise<Plotly.PlotlyHTMLElement>;
create(chartNode: HTMLElement): Promise<any>;
destroy(node: HTMLElement): void;
}
export declare class GaugePlotly extends NumberModel {
private _chartAdapter;
static displayModeBar: any;
static types: string[];
constructor(question: Question, data: Array<{
[index: string]: any;
}>, options?: Object, name?: string);
protected destroyContent(container: HTMLElement): void;
protected renderContentAsync(container: HTMLElement): Promise<HTMLElement>;
}