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

ItemValue
JavaScript propertytype
HTML attributePass objects, arrays, and callbacks as JavaScript properties
TypeChartType
Default'line'
Literals in the typearea, 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

Configuration example

javascript
// Register sy-visual-map and create the element before configuring it.
chart.type = "continuous";