Skip to content

@sqlrooms/vega / VegaLiteChart

Function: VegaLiteChart()

VegaLiteChart(props): ReactNode | Promise<ReactNode>

Parameters

ParameterType
props{ className: string; width: number | "auto"; height: number | "auto"; aspectRatio: number; sqlQuery: string; spec: string | VisualizationSpec; dataName: string; }
props.className?string
props.width?number | "auto"
props.height?number | "auto"
props.aspectRatio?number
props.sqlQuerystring
props.specstring | VisualizationSpec
props.dataName?string

Returns

ReactNode | Promise<ReactNode>