Skip to content

@sqlrooms/mosaic / createDefaultChartTypes

Function: createDefaultChartTypes() ​

createDefaultChartTypes(options?): ChartTypeDefinition<any>[]

Creates the default set of chart type definitions.

Parameters ​

ParameterTypeDescription
options?{ includeCustomSpec?: boolean; }Configuration options
options.includeCustomSpec?booleanWhether to include the custom spec chart type (default: true)

Returns ​

ChartTypeDefinition<any>[]

Array of chart type definitions