Lumeo

Area Chart

Emphasize the magnitude of change over time. The filled area makes it easy to visualize volume or cumulative data.

Installation

dotnet add package Lumeo.Charts

One-time app setup (AddLumeo(), CSS & JS) is covered in the installation guide.

Usage

@using Lumeo

<AreaChart />
Line chart with 2 series (Unique Visitors, Page Views) across 7 categories.
CategoryUnique VisitorsPage Views
Mon32409810
Tue418012540
Wed387011200
Thu512015870
Fri634019420
Sat498014730
Sun365010900

Smooth curves with a gradient fill — the default look that works well for a single metric like total visits.

Line chart with 7 categories: Active Users.
CategoryActive Users
Mon3240
Tue4180
Wed3870
Thu5120
Fri6340
Sat4980
Sun6650

Set GradientFill for a real vertical gradient — the area fades from the brand/theme colour at the top to transparent at the bottom, the look modern dashboards use for a single hero metric.

Line chart with 2 series (Unique Visitors, Page Views) across 7 categories.
CategoryUnique VisitorsPage Views
Mon32409810
Tue418012540
Wed387011200
Thu512015870
Fri634019420
Sat498014730
Sun365010900

Stack multiple series to show cumulative volume. The filled areas make the combined total immediately visible.

Line chart with 3 series (Organic Search, Direct, Paid Social) across 12 categories.
CategoryOrganic SearchDirectPaid Social
Jan1840092005100
Feb21300108006300
Mar1980099005800
Apr24700123007200
May28100141008400
Jun32600164009700
Jul30200151008900
Aug348001740010300
Sep384001920011400
Oct419002090012600
Nov376001880011100
Dec442002210013400

Compare three traffic channels over a full year with gradient fills. Overlapping areas reveal seasonality patterns.

Line chart with 3 series (Enterprise, Professional, Starter) across 12 categories.
CategoryEnterpriseProfessionalStarter
Jan48300221008400
Feb51200243009100
Mar53700258009700
Apr574002760010400
May618002990011200
Jun672003240012100
Jul649003120011700
Aug703003410012800
Sep758003680013700
Oct814003950014700
Nov772003740013900
Dec856004180015600

Stacked gradient fill shows how three revenue streams compose total ARR month over month.

Line chart with 2 series (Inbound (GB), Outbound (GB)) across 45 categories.
CategoryInbound (GB)Outbound (GB)
Mar 11843921
Mar 220121006
Mar 31934967
Mar 421781089
Mar 523411171
Mar 625891295
Mar 724671234
Mar 827121356
Mar 929341467
Mar 1031871594
Mar 1130421521
Mar 1232981649
Mar 1335121756
Mar 1437891895
Mar 1536341817
Mar 1639121956
Mar 1741232062
Mar 1843892195
Mar 1942342117
Mar 2045232262
Mar 2147122356
Mar 2249342467
Mar 2347892395
Mar 2451232562
Mar 2553122656
Mar 2655892795
Mar 2754342717
Mar 2857232862
Mar 2959122956
Mar 3061893095
Mar 3160343017
Apr 163233162
Apr 265123256
Apr 367893395
Apr 466343317
Apr 569233462
Apr 671123556
Apr 773893695
Apr 872343617
Apr 975233762
Apr 1077123856
Apr 1179343967
Apr 1277893895
Apr 1381234062
Apr 1483124156

Dense daily data becomes navigable with the DataZoom slider. Disable dots to keep the chart clean.

Line chart with 2 series (Unique Visitors, Page Views) across 7 categories.
CategoryUnique VisitorsPage Views
Mon32409810
Tue418012540
Wed387011200
Thu512015870
Fri634019420
Sat498014730
Sun365010900

Shape-aware skeleton with reserved space for legend and axes — no layout shift when real data arrives.

API Reference

AreaChart

Property Type Default Description
Categories List<string> [] X-axis labels for each data point.
Series List<ChartSeriesData> [] Data series with filled areas.
Smooth bool false Uses bezier curves for smooth edges.
Gradient bool true Applies a gradient fade to the filled area.
GradientFill bool false Opt into a real vertical gradient: each series' area fades from its own brand/theme colour at the top to transparent at the bottom. Off by default so existing charts are unchanged (Gradient stays opacity-only).
GradientStops List<EChartGradientColorStop>? null Custom gradient stops applied to every series' fill (implies GradientFill). Offsets run 0 (top) → 1 (bottom); colours accept theme tokens like var(--color-primary).
Stacked bool false Stacks series areas cumulatively.
ShowDots bool true Shows dot markers on the line.
DataZoom bool false Enables zoom slider for long time-series.
Colors List<string>? null Custom color palette.
LabelStrategy ChartLabelStrategy Smart How category-axis labels are rendered. Smart auto-rotates at higher densities; ShowAll forces all horizontal; Auto thins overlapping labels.
LabelRotate int? null Manual rotation override in degrees on top of LabelStrategy.
IsLoading bool false When true, renders a shape-matched loading skeleton in place of the chart. Bind to your async fetch state.
ShowLoadingSkeleton bool true Set to false to opt out of the skeleton (chart area stays empty while IsLoading is true).
SkeletonKind ChartSkeletonKind (chart default) Override the skeleton silhouette (Bars, Line, Area, Pie, Scatter, Grid, Generic).
SkeletonStyle ChartSkeletonStyle Phantom Phantom renders the real chart with placeholder data and morphs to real data via ECharts animation. Silhouette falls back to the legacy SVG skeleton overlay.
ShowLoadingLabel bool true Shows a small "Loading…" pill in the top-right corner whenever IsLoading is true. Layered on top of any SkeletonStyle. Set to false for bare visuals. (rc.18)
LoadingText string? "Loading…" Label rendered next to the spinner inside the loading pill. Set to empty to show the spinner alone. (rc.18)
ShowLegend bool true Toggles the series legend above the area chart.
ShowTooltip bool true Shows the cross-series tooltip on hover.
Width string "100%" CSS width applied to the chart container.
Height string "350px" CSS height applied to the chart container.
Theme string? null Overrides the ECharts theme; null follows the app's light/dark mode.
PhantomCycleMs int 1400 Phantom-mode refresh interval in milliseconds. Lower = faster data cycling while loading.
ShowDataLabels bool false Renders the numeric value at each data point on the area.
LabelPosition string "top" Position of data labels relative to each point (e.g. top, inside).
LabelFormat string? null ECharts format string applied to point data labels.
Toolbox bool false Shows the toolbox with save-as-image, restore, and view controls.
ColorPalette List<string>? null Overrides the chart's base color palette across all area series.
AnimationDuration int? null Override entry animation duration (ms); null uses the ECharts default.
AnimationEasing string? null ECharts easing function name applied to entry animations.
MarkLine EChartMarkLine? null Optional mark line(s) overlaid on the area chart (e.g. averages, thresholds).
MarkPoint EChartMarkPoint? null Optional mark point annotations highlighting min/max or specific points.
MarkArea EChartMarkArea? null Optional mark area shading to highlight x or y ranges.