API REFERENCE
type
The chart type rendered by the shared sy-chart component. Data structures and supported options vary by type. Check the specific chart's contract first.
Definition
| Item | Value |
|---|---|
| JavaScript property | type |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | ChartType |
| Default | 'line' |
| Literals in the type | area, ohlc, line, bar, candlestick, flow-lines, theme-river, bar-3d, scatter-3d, surface-3d, column, scatter, pie, item, polar, gauge, radar, funnel, pyramid, pareto, lollipop, dumbbell, variwide, tornado, marimekko, dot-plot, word-cloud, pictorial, tilemap, stem-leaf, histogram, wafer-map, heatmap, density-map, spectrogram, calendar-heatmap, box-plot, bubble, waterfall, error-bar, sankey, chord, network-graph, treemap, sunburst, icicle, gantt, parallel-coordinates, dendrogram, geo-map |
- ChartType
Type definition
Configuration example
// Register sy-visual-map and create the element before configuring it.
chart.type = "continuous";