Creates a dialog for the user to choose a chart and its associated parameters. When chosen the supplied callback will be invoked with the config of the chosen chart.

the dataStore the chart will be created from.

A function called when the user has selected the chart and its parameters. The callback is provided with the config of the chosen chart

Hierarchy (View Summary)

Constructors

Properties

_closed: boolean = false
buttons: {}
chartDescription: undefined | HTMLTextAreaElement
chartName: undefined | HTMLInputElement
chartType: undefined | HTMLSelectElement
columns: undefined | any[]
columnsHeading: undefined | HTMLDivElement
config: {
    buttons?: object[];
    columns?: any;
    doc?: any;
    footer?: boolean;
    height?: any;
    maxHeight?: any;
    position?: integer[];
    title?: string;
    width?: any;
}
dataSource: any
dataStore: any
defaultType: undefined | string
dialog: HTMLDivElement
extraControls: undefined | {}
footer: undefined | HTMLDivElement
header: HTMLDivElement
multiColumns: any
observable: { container: any }
outer: HTMLDivElement
paramDiv: undefined | HTMLDivElement
paramSelects: undefined | any[]
experiment: { [k: string]: unknown }

Methods

  • This method should be overridden if the layout needs updating on resize

    Parameters

    • x: integer

      the new width of the dialog

    • y: integer

      the new height of the dialog

    Returns void