Skip to main content
WireKit
Copy for LLM

Area

ApexCharts renders area charts as SVG paths with optional gradient fills. The adapter sets the dataset color from the active WireKit palette and the stroke curve to smooth; it configures no fill of its own, so the fill is whatever ApexCharts derives from the series color. Pass your own fill option when you want a gradient — nothing in WireKit will overwrite it.

When to use

When the cumulative magnitude matters as much as the trend shape. For pure trend visualization reach for line charts; for proportional comparisons use stacked bar.

Basic Example — Disk-usage growth

Server disk usage trend (GB)

Stacked — ARR composition

ARR composition: Starter / Growth / Enterprise (€K)

Range-area — Confidence interval

For "best case / worst case" envelopes ApexCharts exposes type="range-area" which renders TWO series stacked: an upper bound and a lower bound. Plot the median in a separate line series above for the canonical "fan chart" shape.

<x-wirekit-chart
    type="range-area"
    :labels="['Q1', 'Q2', 'Q3', 'Q4']"
    :datasets="[[
        'label' => 'Forecast envelope',
        'data' => [
            ['x' => 'Q1', 'y' => [40, 60]],
            ['x' => 'Q2', 'y' => [55, 80]],
            ['x' => 'Q3', 'y' => [70, 105]],
            ['x' => 'Q4', 'y' => [85, 130]],
        ],
    ]]"
    height="320px"
/>

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

Design Tokens

See ApexCharts adapter — Design Tokens for the color, typography, and grid tokens shared across every ApexCharts demo.

Was this page helpful?

Thank you for your feedback!

Voting requires cookies or local storage. What we store