chart.type
Configuration Structure
chart: {}The type option selects which kind of chart ApexCharts renders. It is the single most important chart option: each value maps to a dedicated chart type with its own behavior and plotOptions. It is part of the chart configuration.
type
Default:
'line'Types that render through another type's engine
Several chart.type values are presets over a base renderer rather than renderers of their own. ApexCharts rewrites chart.type to the pathway it routes through and records what you asked for on chart.requestedType, which is read-only.
| You set | Renders through |
|---|---|
'funnel', 'pyramid', 'histogram' | 'bar' |
'waterfall', 'dumbbell' | 'rangeBar' |
'streamgraph' | 'rangeArea' |
'raincloud' | 'violin' |
'gauge' | 'radialBar' |
'waffle' | 'unit' |
This matters in two places: the entry point you import when tree-shaking is the base one, and a chart.type read back off a rendered chart is the base type, not the alias.