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.

29 lines (28 loc) 1.12 kB
import { Question } from "survey-core"; import { SelectBase } from "./selectBase"; import { BooleanModel } from "./boolean"; import "./statistics-table.scss"; export declare class StatisticsTableAdapter { private model; constructor(model: SelectBase); create(container: HTMLElement): Promise<void>; destroy(node: HTMLElement): void; } export declare class StatisticsTable extends SelectBase { private _statisticsTableAdapter; constructor(question: Question, data: Array<{ [index: string]: any; }>, options?: Object, name?: string); protected destroyContent(container: HTMLElement): void; protected renderContentAsync(container: HTMLElement): Promise<HTMLElement>; destroy(): void; } export declare class StatisticsTableBoolean extends BooleanModel { private _statisticsTableAdapter; constructor(question: Question, data: Array<{ [index: string]: any; }>, options?: Object, name?: string); protected destroyContent(container: HTMLElement): void; protected renderContentAsync(container: HTMLElement): Promise<HTMLElement>; destroy(): void; }