Every chart
All of WireCharts' charts, as @elyra/charts
components (RFC 0059), each with
WireCharts' props and the example from its docs. Every one also takes what
every chart takes: live, height, label,
format, locale, renderer, onselect, labels and class. Where a
chart's own labels names its points, a list is those names and an object
its words.
The 3D charts come from @elyra/charts/gl and need echarts-gl
installed beside it.
Basics
LineChart
Plot one or more series over a category axis. Supports smooth (spline) and stepped lines. (The 0.58 chart: see the charts.)
<script>
import { LineChart } from "@elyra/charts";
</script>
<LineChart
series={[{name: "Revenue", data: [120, 180, 150, 260, 300]}, {name: "Cost", data: [80, 110, 95, 140, 160]}]}
categories={["Jan", "Feb", "Mar", "Apr", "May"]}
smooth
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]) or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
smooth |
bool |
false |
Render a smooth spline instead of straight segments. |
step |
bool|string |
false |
Render a stepped line (start, middle or end). |
stack |
bool|string |
false |
Stack series on top of each other. |
legend |
bool |
true |
Show the series legend. |
AreaChart
A filled line chart, ideal for showing volume over time. Stack series for cumulative totals. (The 0.58 chart: see the charts.)
<script>
import { AreaChart } from "@elyra/charts";
</script>
<AreaChart
series={[{name: "Sessions", data: [30, 40, 35, 50, 49, 60]}]}
categories={["Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]}
smooth
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
smooth |
bool |
false |
Render smooth curves. |
stack |
bool|string |
false |
Stack the areas. |
legend |
bool |
true |
Show the series legend. |
ColumnChart
Vertical bars for comparing values across categories. Stack to compare composition. (The 0.58 chart: see the charts.)
<script>
import { ColumnChart } from "@elyra/charts";
</script>
<ColumnChart
series={[{name: "Sales", data: [44, 55, 41, 67, 22]}]}
categories={["Q1", "Q2", "Q3", "Q4", "Q5"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
stack |
bool|string |
false |
Stack the columns. |
legend |
bool |
true |
Show the series legend. |
BarChart
Horizontal bars — perfect for ranked lists and long category labels. (The 0.58 chart: see the charts.)
<script>
import { BarChart } from "@elyra/charts";
</script>
<BarChart
series={[{name: "Votes", data: [120, 90, 70, 50]}]}
categories={["Vue", "React", "Svelte", "Angular"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the category axis. |
stack |
bool|string |
false |
Stack the bars. |
legend |
bool |
true |
Show the series legend. |
PieChart
Show parts of a whole. Pass flat values with labels, or pre-shaped data objects. (The 0.58 chart: see the charts.)
<script>
import { PieChart } from "@elyra/charts";
</script>
<PieChart
series={[44, 55, 13, 33]}
labels={["Chrome", "Safari", "Edge", "Firefox"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Flat values, or [name, value] objects. |
labels |
array |
[] |
Slice labels (when series is a flat list). |
rose |
bool |
false |
Render as a Nightingale rose chart. |
legend |
bool |
true |
Show the legend. |
ScatterChart
Plot raw [x, y] points to reveal correlations and clusters. (The 0.58 chart: see the charts.)
<script>
import { ScatterChart } from "@elyra/charts";
</script>
<ScatterChart
series={[{name: "Group A", data: [[10, 20], [15, 25], [22, 18]]}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series of [x, y] point arrays. |
legend |
bool |
true |
Show the series legend. |
Line charts
SplineChart
A smooth line where each series is marked with a distinct point symbol — circle, square, triangle, diamond and more.
<script>
import { SplineChart } from "@elyra/charts";
</script>
<SplineChart
series={[{name: "Tokyo", data: [7, 7, 13, 17, 22, 25]}, {name: "London", data: [4, 5, 8, 12, 16, 19]}]}
categories={["Jan", "Feb", "Mar", "Apr", "May", "Jun"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]) or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
symbolSize |
int |
8 |
Marker size in pixels. |
legend |
bool |
true |
Show the series legend. |
SplineInvertedChart
A smooth line with the category axis running vertically — ideal for profiles such as temperature by altitude.
<script>
import { SplineInvertedChart } from "@elyra/charts";
</script>
<SplineInvertedChart
series={[{name: "Temperature", data: [15, 8, -5, -40, -55]}]}
categories={["0 km", "5 km", "10 km", "20 km", "30 km"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the vertical category axis. |
symbolSize |
int |
6 |
Marker size in pixels. |
legend |
bool |
true |
Show the series legend. |
LineLabelsChart
Labels each series at the end of its line instead of using a legend.
<script>
import { LineLabelsChart } from "@elyra/charts";
</script>
<LineLabelsChart
series={[{name: "Solar", data: [42, 50, 62, 80]}, {name: "Wind", data: [30, 38, 41, 55]}]}
categories={["2019", "2020", "2021", "2022"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]). |
categories |
array |
[] |
Labels for the x-axis. |
smooth |
bool |
false |
Render smooth lines. |
LineLogChart
A line chart with a logarithmic y-axis for values spanning several orders of magnitude.
<script>
import { LineLogChart } from "@elyra/charts";
</script>
<LineLogChart
series={[{name: "Users", data: [1, 10, 100, 1000, 10000]}]}
categories={["2018", "2019", "2020", "2021", "2022"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
logBase |
int |
10 |
Logarithm base. |
legend |
bool |
true |
Show the series legend. |
LineRaceChart
An animated line race that reveals each series progressively, with a replay control.
<script>
import { LineRaceChart } from "@elyra/charts";
</script>
<LineRaceChart
series={[{name: "USA", data: [10, 20, 35, 50, 61]}, {name: "China", data: [5, 18, 40, 62, 78]}]}
categories={["2019", "2020", "2021", "2022", "2023"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]). |
categories |
array |
[] |
Labels for the x-axis. |
interval |
int |
400 |
Milliseconds between revealed points. |
LineAnimatedChart
A line chart with a custom entrance animation — configurable easing and a staggered per-point delay.
<script>
import { LineAnimatedChart } from "@elyra/charts";
</script>
<LineAnimatedChart
series={[{name: "Visits", data: [120, 200, 150, 280, 300]}]}
categories={["Mon", "Tue", "Wed", "Thu", "Fri"]}
easing="elasticOut"
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
easing |
string |
cubicOut |
Animation easing (e.g. elasticOut). |
duration |
int |
1200 |
Animation duration in ms. |
LineForecastChart
Draws actual values solid and forecast values as a dashed line over a shaded region.
<script>
import { LineForecastChart } from "@elyra/charts";
</script>
<LineForecastChart
categories={["2020", "2021", "2022", "2023", "2024"]}
actual={[100, 120, 140]}
forecast={[165, 190]}
/>
| Prop | Type | Default | |
|---|---|---|---|
categories |
array |
[] |
Labels for the x-axis. |
actual |
array |
[] |
The real values. |
forecast |
array |
[] |
The predicted values continuing after actual. |
forecastName |
string |
Forecast |
Label for the forecast series. |
LineAnnotatedChart
Labelled annotation pins on chosen points, plus an optional average reference line.
<script>
import { LineAnnotatedChart } from "@elyra/charts";
</script>
<LineAnnotatedChart
series={[{name: "Sales", data: [120, 300, 180, 90, 260]}]}
categories={["Jan", "Feb", "Mar", "Apr", "May"]}
annotations={[{x: "Feb", y: 300, text: "Peak"}]}
average
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
annotations |
array |
[] |
Pins as [x, y, text]. |
average |
bool |
false |
Draw an average reference line. |
LineBoostChart
Tuned for very large datasets with LTTB downsampling and zoom/pan controls.
<script>
import { LineBoostChart } from "@elyra/charts";
</script>
<!-- points: a long list of numbers -->
<LineBoostChart
series={[{name: "Signal", data: points}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series ([name, data]); data can be huge. |
sampling |
string |
lttb |
Downsampling strategy. |
zoom |
bool |
true |
Show zoom/pan controls. |
LineTimeChart
A line over a datetime axis. Data points are [date, value] pairs, with zoom/pan.
<script>
import { LineTimeChart } from "@elyra/charts";
</script>
<LineTimeChart
series={[{name: "USD/EUR", data: [["2024-01-01", 0.91], ["2024-02-01", 0.93], ["2024-03-01", 0.92]]}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series with [date, value] data pairs. |
smooth |
bool |
false |
Render smooth lines. |
zoom |
bool |
true |
Show zoom/pan controls. |
SplineTimeChart
A smooth spline over an irregular datetime axis with visible measurement points.
<script>
import { SplineTimeChart } from "@elyra/charts";
</script>
<SplineTimeChart
series={[{name: "Snow depth", data: [["2024-01-03", 0.45], ["2024-01-19", 0.88], ["2024-02-11", 1.2]]}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series with [date, value] data pairs. |
symbolSize |
int |
6 |
Marker size in pixels. |
zoom |
bool |
true |
Show zoom/pan controls. |
SplineBandsChart
A spline with coloured horizontal plot bands marking value zones.
<script>
import { SplineBandsChart } from "@elyra/charts";
</script>
<SplineBandsChart
series={[{name: "Wind", data: [4, 8, 12, 6, 10]}]}
categories={["00", "06", "12", "18", "24"]}
bands={[{from: 0, to: 5, color: "rgba(68, 170, 213, 0.1)", label: "Light"}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
bands |
array |
[] |
Zones as [from, to, color, label]. |
Area charts
AreaGradientChart
A smooth area chart where each series fades from its colour to transparent. Optionally stacked.
<script>
import { AreaGradientChart } from "@elyra/charts";
</script>
<AreaGradientChart
series={[{name: "Revenue", data: [120, 180, 150, 260]}]}
categories={["Q1", "Q2", "Q3", "Q4"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
stack |
bool|string |
false |
Stack the areas. |
smooth |
bool |
true |
Render smooth curves. |
AreaStackedChart
Filled series stacked on top of one another to show cumulative totals and composition.
<script>
import { AreaStackedChart } from "@elyra/charts";
</script>
<AreaStackedChart
series={[{name: "Asia", data: [1700, 2300, 3600]}, {name: "Africa", data: [230, 360, 640]}]}
categories={["1950", "1970", "1990"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]). |
categories |
array |
[] |
Labels for the x-axis. |
smooth |
bool |
false |
Render smooth curves. |
AreaPercentChart
A 100% stacked area chart showing each series as a percentage of the total.
<script>
import { AreaPercentChart } from "@elyra/charts";
</script>
<AreaPercentChart
series={[{name: "Desktop", data: [60, 55, 48]}, {name: "Mobile", data: [40, 45, 52]}]}
categories={["2021", "2022", "2023"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]). |
categories |
array |
[] |
Labels for the x-axis. |
AreasplineChart
A smooth area chart with semi-transparent overlapping fills.
<script>
import { AreasplineChart } from "@elyra/charts";
</script>
<AreasplineChart
series={[{name: "John", data: [3, 4, 3, 5, 4, 10, 12]}, {name: "Jane", data: [1, 3, 4, 3, 3, 5, 4]}]}
categories={["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]). |
categories |
array |
[] |
Labels for the x-axis. |
stack |
bool|string |
false |
Stack the areas. |
AreaInvertedChart
A filled area chart with the category axis running vertically.
<script>
import { AreaInvertedChart } from "@elyra/charts";
</script>
<AreaInvertedChart
series={[{name: "Depth", data: [5, 12, 20, 9]}]}
categories={["0 m", "10 m", "20 m", "30 m"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the vertical category axis. |
smooth |
bool |
true |
Render smooth curves. |
AreaNegativeChart
An area chart whose line and fill are coloured differently above and below zero.
<script>
import { AreaNegativeChart } from "@elyra/charts";
</script>
<AreaNegativeChart
series={[{name: "Net", data: [5, -3, 8, -6, 2]}]}
categories={["Jan", "Feb", "Mar", "Apr", "May"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
positiveColor |
string |
#22c55e |
Colour above zero. |
negativeColor |
string |
#ef4444 |
Colour below zero. |
AreaMissingChart
Handles null values — leaving a gap, or bridging it with connectNulls.
<script>
import { AreaMissingChart } from "@elyra/charts";
</script>
<AreaMissingChart
series={[{name: "Readings", data: [3, null, 5, 8, null, 6]}]}
categories={["Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects; use null for gaps. |
categories |
array |
[] |
Labels for the x-axis. |
connectNulls |
bool |
false |
Bridge gaps instead of breaking the line. |
AreaRangeChart
A filled band between a low and high value per category (e.g. min/max ranges).
<script>
import { AreaRangeChart } from "@elyra/charts";
</script>
<AreaRangeChart
categories={["Mon", "Tue", "Wed", "Thu", "Fri"]}
low={[10, 12, 9, 14, 11]}
high={[20, 25, 18, 27, 22]}
/>
| Prop | Type | Default | |
|---|---|---|---|
categories |
array |
[] |
Labels for the x-axis. |
low |
array |
[] |
The lower bound per category. |
high |
array |
[] |
The upper bound per category. |
AreaRangeLineChart
A low/high band with a line (e.g. the average) drawn on top.
<script>
import { AreaRangeLineChart } from "@elyra/charts";
</script>
<AreaRangeLineChart
categories={["Mon", "Tue", "Wed", "Thu", "Fri"]}
low={[10, 12, 9, 14, 11]}
high={[20, 25, 18, 27, 22]}
line={[15, 18, 13, 20, 16]}
/>
| Prop | Type | Default | |
|---|---|---|---|
categories |
array |
[] |
Labels for the x-axis. |
low |
array |
[] |
Lower bound per category. |
high |
array |
[] |
Upper bound per category. |
line |
array |
[] |
The overlaid line values. |
AreaFanChart
A central line surrounded by nested confidence bands — ideal for forecasts with uncertainty.
<script>
import { AreaFanChart } from "@elyra/charts";
</script>
<AreaFanChart
categories={["Now", "+1", "+2", "+3"]}
line={[10, 11, 12, 13]}
bands={[{low: [8, 6, 4, 2], high: [12, 16, 20, 24]}, {low: [9, 8, 7, 6], high: [11, 14, 17, 20]}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
categories |
array |
[] |
Labels for the x-axis. |
line |
array |
[] |
The central (median) values. |
bands |
array |
[] |
Nested bands as [low, high]. |
AreaRaceChart
An animated area race that reveals each filled series progressively, with a replay control.
<script>
import { AreaRaceChart } from "@elyra/charts";
</script>
<AreaRaceChart
series={[{name: "Solar", data: [10, 20, 35, 50, 61]}, {name: "Wind", data: [5, 18, 28, 44, 58]}]}
categories={["2019", "2020", "2021", "2022", "2023"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]). |
categories |
array |
[] |
Labels for the x-axis. |
interval |
int |
400 |
Milliseconds between revealed points. |
StreamgraphChart
A flowing stacked area displaced around a central baseline (themeRiver).
<script>
import { StreamgraphChart } from "@elyra/charts";
</script>
<StreamgraphChart
series={[{name: "Pop", data: [3, 5, 8, 6, 9]}, {name: "Rock", data: [6, 4, 7, 9, 5]}]}
categories={["2019", "2020", "2021", "2022", "2023"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]). |
categories |
array |
[] |
Labels for the axis. |
AreaStackedInvertedChart
A stacked area chart with inverted axes (category axis vertical).
<script>
import { AreaStackedInvertedChart } from "@elyra/charts";
</script>
<AreaStackedInvertedChart
series={[{name: "Asia", data: [1700, 2300, 3600]}, {name: "Africa", data: [230, 360, 640]}]}
categories={["1950", "1970", "1990"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]). |
categories |
array |
[] |
Labels for the vertical category axis. |
Column & bar
ColumnStackedChart
Vertical bars stacked to show cumulative totals and composition.
<script>
import { ColumnStackedChart } from "@elyra/charts";
</script>
<ColumnStackedChart
series={[{name: "Product A", data: [44, 55, 41, 67]}, {name: "Product B", data: [13, 23, 20, 8]}]}
categories={["Q1", "Q2", "Q3", "Q4"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]). |
categories |
array |
[] |
Labels for the x-axis. |
BarStackedChart
Horizontal bars stacked to show cumulative totals.
<script>
import { BarStackedChart } from "@elyra/charts";
</script>
<BarStackedChart
series={[{name: "2022", data: [320, 280, 190]}, {name: "2023", data: [400, 330, 240]}]}
categories={["Europe", "Asia", "Americas"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]). |
categories |
array |
[] |
Labels for the category axis. |
ColumnPercentChart
A 100% stacked column chart showing each series as a percentage of the total.
<script>
import { ColumnPercentChart } from "@elyra/charts";
</script>
<ColumnPercentChart
series={[{name: "Desktop", data: [60, 55, 48]}, {name: "Mobile", data: [40, 45, 52]}]}
categories={["2021", "2022", "2023"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]). |
categories |
array |
[] |
Labels for the x-axis. |
BarPercentChart
A 100% stacked horizontal bar chart.
<script>
import { BarPercentChart } from "@elyra/charts";
</script>
<BarPercentChart
series={[{name: "Yes", data: [70, 55, 60]}, {name: "No", data: [30, 45, 40]}]}
categories={["Team A", "Team B", "Team C"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects ([name, data]). |
categories |
array |
[] |
Labels for the category axis. |
ColumnNegativeChart
Columns coloured differently for positive and negative values.
<script>
import { ColumnNegativeChart } from "@elyra/charts";
</script>
<ColumnNegativeChart
series={[{name: "Net", data: [5, -3, 8, -6, 2]}]}
categories={["Jan", "Feb", "Mar", "Apr", "May"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
positiveColor |
string |
#22c55e |
Colour for positive bars. |
negativeColor |
string |
#ef4444 |
Colour for negative bars. |
ColumnRotatedChart
A column chart with rotated category labels — handy for many or long labels.
<script>
import { ColumnRotatedChart } from "@elyra/charts";
</script>
<ColumnRotatedChart
series={[{name: "Visitors", data: [820, 932, 901, 934, 1290, 1330]}]}
categories={["Amsterdam", "Barcelona", "Copenhagen", "Dublin", "Edinburgh", "Florence"]}
rotate={45}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
rotate |
int |
45 |
Label rotation in degrees. |
ColumnRangeChart
Floating vertical bars from a low to a high value per category.
<script>
import { ColumnRangeChart } from "@elyra/charts";
</script>
<ColumnRangeChart
categories={["Mon", "Tue", "Wed", "Thu", "Fri"]}
low={[10, 12, 9, 14, 11]}
high={[20, 25, 18, 27, 22]}
/>
| Prop | Type | Default | |
|---|---|---|---|
categories |
array |
[] |
Labels for the x-axis. |
low |
array |
[] |
Lower bound per category. |
high |
array |
[] |
Upper bound per category. |
BarRangeChart
Floating horizontal bars from a low to a high value.
<script>
import { BarRangeChart } from "@elyra/charts";
</script>
<BarRangeChart
categories={["Mon", "Tue", "Wed"]}
low={[10, 12, 9]}
high={[20, 25, 18]}
/>
| Prop | Type | Default | |
|---|---|---|---|
categories |
array |
[] |
Labels for the category axis. |
low |
array |
[] |
Lower bound per category. |
high |
array |
[] |
Upper bound per category. |
HistogramChart
Bins a flat list of numeric values into frequency columns.
<script>
import { HistogramChart } from "@elyra/charts";
</script>
<HistogramChart
data={[1, 2, 2, 3, 3, 3, 4, 4, 5, 8, 13, 21]}
bins={6}
/>
| Prop | Type | Default | |
|---|---|---|---|
data |
array |
[] |
A flat list of numeric values. |
bins |
int |
10 |
Number of bins. |
LollipopChart
A thin stick topped with a circular marker for each value.
<script>
import { LollipopChart } from "@elyra/charts";
</script>
<LollipopChart
series={[{name: "Score", data: [42, 67, 31, 88, 54]}]}
categories={["A", "B", "C", "D", "E"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
A single series ([name, data]). |
categories |
array |
[] |
Labels for the x-axis. |
ParetoChart
Columns sorted descending with a cumulative percentage line on a second axis.
<script>
import { ParetoChart } from "@elyra/charts";
</script>
<ParetoChart
categories={["Late", "Damaged", "Wrong item", "Other"]}
data={[120, 80, 40, 20]}
/>
| Prop | Type | Default | |
|---|---|---|---|
categories |
array |
[] |
Category labels. |
data |
array |
[] |
The value per category. |
Combinations
ComboLineColumnChart
Mixed line and column series sharing one axis. Each series sets a friendly type.
<script>
import { ComboLineColumnChart } from "@elyra/charts";
</script>
<ComboLineColumnChart
series={[{name: "Revenue", type: "bar", data: [120, 132, 101, 134]}, {name: "Trend", type: "line", data: [115, 125, 110, 130]}]}
categories={["Q1", "Q2", "Q3", "Q4"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series with a 'type' of bar, line or area. |
categories |
array |
[] |
Labels for the x-axis. |
ComboDualAxisChart
Series split across a left and right y-axis — e.g. rainfall and temperature.
<script>
import { ComboDualAxisChart } from "@elyra/charts";
</script>
<ComboDualAxisChart
series={[{name: "Rainfall", type: "bar", axis: 0, data: [20, 35, 18, 42]}, {name: "Temp", type: "line", axis: 1, data: [12, 15, 9, 18]}]}
categories={["Jan", "Feb", "Mar", "Apr"]}
axisNames={["mm", "°C"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series with 'type' and 'axis' (0 or 1). |
categories |
array |
[] |
Labels for the x-axis. |
axisNames |
array |
['', ''] |
Names for the left and right axes. |
ComboMultiAxisChart
Series spread across three or more y-axes for very different scales.
<script>
import { ComboMultiAxisChart } from "@elyra/charts";
</script>
<ComboMultiAxisChart
series={[{name: "Units", type: "bar", axis: 0, data: [2, 4, 6, 5]}, {name: "Rate", type: "line", axis: 1, data: [20, 40, 60, 55]}, {name: "Volume", type: "line", axis: 2, data: [200, 100, 300, 250]}]}
categories={["Mon", "Tue", "Wed", "Thu"]}
axes={["Units", "Rate", "Volume"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series with 'type' and 'axis' index. |
categories |
array |
[] |
Labels for the x-axis. |
axes |
array |
[] |
Names for each y-axis. |
Scatter & bubble
ScatterRegressionChart
A scatter plot with a least-squares linear trend line.
<script>
import { ScatterRegressionChart } from "@elyra/charts";
</script>
<ScatterRegressionChart
series={[{name: "Obs", data: [[1, 2], [2, 4], [3, 5], [4, 8], [5, 9]]}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
A single series of [x, y] points. |
legend |
bool |
true |
Show the legend. |
ScatterSymbolsChart
A multi-series scatter where each series uses a distinct point symbol.
<script>
import { ScatterSymbolsChart } from "@elyra/charts";
</script>
<ScatterSymbolsChart
series={[{name: "A", data: [[10, 20], [15, 25], [22, 18]]}, {name: "B", data: [[12, 30], [18, 22], [26, 28]]}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series of [x, y] points. |
legend |
bool |
true |
Show the legend. |
PackedBubbleChart
Force-packed bubbles sized by value and grouped by category.
<script>
import { PackedBubbleChart } from "@elyra/charts";
</script>
<PackedBubbleChart
nodes={[{name: "PHP", value: 80, category: "Backend"}, {name: "Vue", value: 50, category: "Frontend"}, {name: "Redis", value: 30, category: "Backend"}]}
categories={["Backend", "Frontend"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
nodes |
array |
[] |
Bubbles as [name, value, category]. |
categories |
array |
[] |
Category names for grouping/colour. |
Pie charts
PieSemiChart
A donut whose slices fill the top half of the ring.
<script>
import { PieSemiChart } from "@elyra/charts";
</script>
<PieSemiChart
series={[44, 25, 20, 11]}
labels={["Chrome", "Safari", "Edge", "Firefox"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Flat values, or [name, value] objects. |
labels |
array |
[] |
Slice labels. |
PieLabelsChart
A pie with external data labels connected by leader lines.
<script>
import { PieLabelsChart } from "@elyra/charts";
</script>
<PieLabelsChart
series={[44, 25, 20, 11]}
labels={["Chrome", "Safari", "Edge", "Firefox"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Flat values, or [name, value] objects. |
labels |
array |
[] |
Slice labels. |
PieMonochromeChart
Slices coloured in shades of a single hue.
<script>
import { PieMonochromeChart } from "@elyra/charts";
</script>
<PieMonochromeChart
series={[44, 25, 20, 11, 8]}
labels={["A", "B", "C", "D", "E"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Flat values, or [name, value] objects. |
labels |
array |
[] |
Slice labels. |
PieGradientChart
A pie whose slices are filled with radial gradients.
<script>
import { PieGradientChart } from "@elyra/charts";
</script>
<PieGradientChart
series={[44, 25, 20, 11]}
labels={["Chrome", "Safari", "Edge", "Firefox"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Flat values, or [name, value] objects. |
labels |
array |
[] |
Slice labels. |
PieVariableChart
A pie where each slice's radius encodes its value.
<script>
import { PieVariableChart } from "@elyra/charts";
</script>
<PieVariableChart
series={[10, 22, 28, 43, 49]}
labels={["Mon", "Tue", "Wed", "Thu", "Fri"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Flat values, or [name, value] objects. |
labels |
array |
[] |
Slice labels. |
PieRoseChart
A rose chart where each slice's area encodes its value.
<script>
import { PieRoseChart } from "@elyra/charts";
</script>
<PieRoseChart
series={[10, 22, 28, 43, 49]}
labels={["Mon", "Tue", "Wed", "Thu", "Fri"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Flat values, or [name, value] objects. |
labels |
array |
[] |
Slice labels. |
Pie & funnel
DonutChart
A pie with a hole — great for a headline metric in the center.
<script>
import { DonutChart } from "@elyra/charts";
</script>
<DonutChart
series={[44, 55, 13]}
labels={["Direct", "Organic", "Referral"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Flat values, or [name, value] objects. |
labels |
array |
[] |
Slice labels. |
legend |
bool |
true |
Show the legend. |
FunnelChart
Visualize a pipeline: each stage as a shrinking segment.
<script>
import { FunnelChart } from "@elyra/charts";
</script>
<FunnelChart
series={[100, 80, 60, 30]}
labels={["Visits", "Signups", "Trials", "Paid"]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Flat values, or [name, value] objects. |
labels |
array |
[] |
Stage labels. |
legend |
bool |
true |
Show the legend. |
Gauges
GaugeChart
Show a value against a range with a classic needle or a progress ring.
<script>
import { GaugeChart } from "@elyra/charts";
</script>
<GaugeChart
value={72}
name="CPU"
progress
/>
| Prop | Type | Default | |
|---|---|---|---|
value |
int|float |
0 |
The value to display. |
min |
int|float |
0 |
Lower bound of the range. |
max |
int|float |
100 |
Upper bound of the range. |
name |
string |
'' |
Label shown beneath the value. |
progress |
bool |
false |
Use a progress ring instead of a needle. |
ClockChart
An animated analog clock built from gauges. The hour, minute and second hands advance live every second.
<script>
import { ClockChart } from "@elyra/charts";
</script>
<ClockChart />
| Prop | Type | Default | |
|---|---|---|---|
color |
string |
null |
Color of the second hand (defaults to the accent). |
options |
array |
[] |
Raw WireCharts option overrides, deep-merged. |
Distribution
BubbleChart
A scatter chart where a third value drives each point's size.
<script>
import { BubbleChart } from "@elyra/charts";
</script>
<BubbleChart
series={[{name: "Plans", data: [[10, 20, 30], [15, 25, 80]]}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series of [x, y, size] arrays. |
legend |
bool |
true |
Show the series legend. |
HeatmapChart
A grid of cells colored by value — ideal for activity and density data.
<script>
import { HeatmapChart } from "@elyra/charts";
</script>
<HeatmapChart
categories={["Mon", "Tue", "Wed"]}
rows={["AM", "PM"]}
series={[[0, 0, 5], [1, 0, 7], [2, 0, 3], [0, 1, 9], [1, 1, 2], [2, 1, 8]]}
max={10}
/>
| Prop | Type | Default | |
|---|---|---|---|
categories |
array |
[] |
x-axis labels. |
rows |
array |
[] |
y-axis labels. |
series |
array |
[] |
[x-index, y-index, value] cells. |
max |
int |
10 |
Value mapped to the most intense color. |
CandlestickChart
OHLC financial data as candlesticks over a time axis.
<script>
import { CandlestickChart } from "@elyra/charts";
</script>
<CandlestickChart
categories={["Mon", "Tue", "Wed"]}
series={[[20, 34, 10, 38], [40, 35, 30, 50], [31, 38, 33, 44]]}
/>
| Prop | Type | Default | |
|---|---|---|---|
categories |
array |
[] |
x-axis labels. |
series |
array |
[] |
[open, close, low, high] arrays. |
BoxplotChart
Summarize distributions with min, quartiles and max.
<script>
import { BoxplotChart } from "@elyra/charts";
</script>
<BoxplotChart
categories={["A", "B"]}
series={[[20, 34, 48, 60, 75], [25, 40, 52, 66, 80]]}
/>
| Prop | Type | Default | |
|---|---|---|---|
categories |
array |
[] |
x-axis labels. |
series |
array |
[] |
[min, Q1, median, Q3, max] arrays. |
RadarChart
Compare multiple variables on a circular axis.
<script>
import { RadarChart } from "@elyra/charts";
</script>
<RadarChart
indicators={[{name: "Speed", max: 100}, {name: "Power", max: 100}]}
series={[{name: "Engine", data: [80, 65]}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
indicators |
array |
[] |
Axis definitions ([name, max]). |
series |
array |
[] |
Series with a value per indicator. |
legend |
bool |
true |
Show the legend. |
Trees & network
TreeChart
Render hierarchical data as an expandable node tree.
<script>
import { TreeChart } from "@elyra/charts";
</script>
<TreeChart
data={{name: "root", children: [{name: "A", children: [{name: "A1"}, {name: "A2"}]}, {name: "B"}]}}
/>
| Prop | Type | Default | |
|---|---|---|---|
data |
array |
[] |
A nested [name, children] hierarchy. |
TreemapChart
Nested rectangles sized by value — dense and space-efficient.
<script>
import { TreemapChart } from "@elyra/charts";
</script>
<TreemapChart
data={[{name: "Frontend", value: 40}, {name: "Backend", value: 35}, {name: "Infra", value: 25}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
data |
array |
[] |
[name, value] (optionally with children). |
SunburstChart
A radial treemap for multi-level hierarchies.
<script>
import { SunburstChart } from "@elyra/charts";
</script>
<SunburstChart
data={[{name: "A", children: [{name: "A1", value: 5}]}, {name: "B", value: 8}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
data |
array |
[] |
A nested [name, value, children] hierarchy. |
SankeyChart
Flow diagrams where link width encodes magnitude.
<script>
import { SankeyChart } from "@elyra/charts";
</script>
<SankeyChart
nodes={[{name: "A"}, {name: "B"}, {name: "C"}]}
links={[{source: "A", target: "B", value: 5}, {source: "B", target: "C", value: 3}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
nodes |
array |
[] |
Node objects ([name]). |
links |
array |
[] |
[source, target, value] links. |
GraphChart
Force-directed nodes and edges for relationship data.
<script>
import { GraphChart } from "@elyra/charts";
</script>
<GraphChart
nodes={[{name: "A"}, {name: "B"}, {name: "C"}]}
links={[{source: "A", target: "B"}, {source: "A", target: "C"}]}
/>
| Prop | Type | Default | |
|---|---|---|---|
nodes |
array |
[] |
Node objects ([name, value, category]). |
links |
array |
[] |
[source, target] edges. |
categories |
array |
[] |
Node categories for coloring. |
layout |
string |
force |
force, circular or none. |
legend |
bool |
false |
Show the category legend. |
3D
Bar3dChart
A bar chart across two category axes, rendered in 3D.
<script>
import { Bar3dChart } from "@elyra/charts/gl";
</script>
<Bar3dChart
categories={["Mon", "Tue", "Wed"]}
rows={["AM", "PM"]}
series={[[0, 0, 5], [1, 0, 7], [2, 1, 9]]}
max={10}
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
[x-index, y-index, value] cells. |
categories |
array |
[] |
x-axis labels. |
rows |
array |
[] |
y-axis labels. |
max |
int |
null |
Adds a color scale capped at this value. |
rotate |
bool |
false |
Auto-rotate the scene. |
Scatter3dChart
Plot [x, y, z] points in three-dimensional space.
<script>
import { Scatter3dChart } from "@elyra/charts/gl";
</script>
<Scatter3dChart
series={[[1, 2, 3], [4, 5, 6], [7, 8, 2]]}
rotate
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
[x, y, z] point arrays. |
xType |
string |
value |
Axis type: value or category. |
yType |
string |
value |
Axis type: value or category. |
rotate |
bool |
false |
Auto-rotate the scene. |
SurfaceChart
A continuous 3D surface from a grid of [x, y, z] points.
<script>
import { SurfaceChart } from "@elyra/charts/gl";
</script>
<SurfaceChart
data={[[0, 0, 1], [0, 1, 2], [1, 0, 2], [1, 1, 4]]}
rotate
/>
| Prop | Type | Default | |
|---|---|---|---|
data |
array |
[] |
[x, y, z] grid points. |
rotate |
bool |
false |
Auto-rotate the scene. |
Accessibility
AudioChart
A line chart that can be played as sound. Pitch maps to value, time to the x-axis — with a screen-reader summary.
<script>
import { AudioChart } from "@elyra/charts";
</script>
<AudioChart
series={[{name: "Temp", data: [10, 14, 9, 18, 22]}]}
categories={["Mon", "Tue", "Wed", "Thu", "Fri"]}
duration={4000}
instrument="triangle"
/>
| Prop | Type | Default | |
|---|---|---|---|
series |
array |
[] |
Series objects or a flat list of numbers. |
categories |
array |
[] |
Labels for the x-axis. |
track |
int |
0 |
Which series to sonify. |
duration |
int |
5000 |
Playback length in milliseconds. |
instrument |
string |
sine |
sine, square, triangle or sawtooth. |
minFreq |
int |
220 |
Frequency for the lowest value (Hz). |
maxFreq |
int |
880 |
Frequency for the highest value (Hz). |