Timeline
Timeline charts visualize events along a date axis — release timelines, employee tenure, project schedules. The underlying ApexCharts type is range-bar with plotOptions.bar.horizontal = true; this demo page focuses on the timeline-style use cases that share the same API.
Basic Example — Release timeline
Product release timeline
Multi-team — Project schedule
<x-wirekit-chart
type="range-bar"
:labels="['Spec', 'Build', 'QA', 'Deploy']"
:datasets="[[
'label' => 'Sprint 14',
'data' => [
['x' => 'Spec', 'y' => [1711929600000, 1712188800000], 'fillColor' => 'var(--color-wk-accent)'],
['x' => 'Build', 'y' => [1712188800000, 1712707200000], 'fillColor' => 'var(--color-wk-accent)'],
['x' => 'QA', 'y' => [1712707200000, 1712880000000], 'fillColor' => 'var(--color-wk-warning)'],
['x' => 'Deploy', 'y' => [1712880000000, 1712966400000], 'fillColor' => 'var(--color-wk-success)'],
],
]]"
:options="['xaxis' => ['type' => 'datetime', 'labels' => ['datetimeUTC' => false, 'format' => 'MMM dd']], 'plotOptions' => ['bar' => ['horizontal' => true]]]"
/>
Per-data-point fillColor overrides the dataset palette — useful when each timeline phase carries a semantic color.
License note
ApexCharts is non-MIT — see the License section on the Chart overview page and apexcharts.com/license for the full terms.
See Also
- Range Bar for non-timeline range visualizations
- Annotations for marking events on a regular line/bar chart
Design Tokens
See ApexCharts adapter — Design Tokens for the color, typography, and grid tokens shared across every ApexCharts demo.