Function: inferChartType()
inferChartType(
rows,columns):ChartInference|null
Infer the best chart type for the given Genie query result.
Returns null when the data is not suitable for charting.
Parameters
Section titled “Parameters”Record<string, unknown>[]
columns
Section titled “columns”Returns
Section titled “Returns”ChartInference | null