Skip to content

@sqlrooms/mosaic / ChartBuilderContentProps

Interface: ChartBuilderContentProps

Properties

tableName

tableName: string

Table name to use in generated specs


columns

columns: ChartBuilderColumn[]

Available columns for field selectors


onCreateChart()

onCreateChart: (spec, title) => void

Callback when a chart spec is created

Parameters

ParameterType
specSpec
titlestring

Returns

void


builders?

optional builders: ChartBuilderTemplate[]

Custom builders (defaults to all built-in builders)


className?

optional className: string

Custom class name