Line

A line chart puts ordered measurements on a common scale so changes become visible. The order is part of the meaning: joining categories that have no meaningful sequence creates a trend that the source data does not contain.
Charts are regular Fission widgets, so use the same layout, theme, and state APIs as anywhere else in your app. Load the data before building the chart; reducers, resources, jobs, or services can update it.

Variants

Chart
Data shape
Use when
Ordered values with event markers.
Use it when incidents or milestones need to stay attached to the trend.
LineSeries plus ChartGraphic.
Use it to explain a visible change directly on the chart.
Dense ordered samples from a service counter.
Use it for telemetry panels with many points.
Forecast values with a fixed planning interval.
Use it when a forecast needs a declared planning range.
Several ordered series sharing a stack key.
Use it to explain how categories make up a total over time.
Compact dense ordered values.
Use it inside dense dashboard cards.
Long Vec<f32> on ordered categories.
Use it for monitoring and telemetry surfaces.
Trend values with deployment markers.
Use it to connect product changes to metric movement.
Two Vec<f32> series on shared axes.
Use it to compare two trends without changing units.
Budget percentage samples plus threshold marks.
Use it when teams need to see whether a service is inside its operating band.
Vec<f32> plus MarkArea.
Use it for a fixed expected interval, not varying uncertainty.
Vec<f32> with area style.
Use it when magnitude and trend should be read together.
Discrete samples that update at the end of each interval.
Use it when the value changes after the period closes.
LineSeries plus MarkPoint.
Use it to label incidents or releases on a metric.
Vec<f32> plus MarkLine and MarkArea.
Use it for service levels, quotas, and alert thresholds.
Vec<f32> with nonlinear values.
Use it for adoption curves and saturation effects.
Indexed ordered values on a value axis.
Use it when direction and volatility matter more than individual samples.
Vec<f32> plus mark lines.
Use it to show expected bounds around a metric.
Discrete states represented as stepped values.
Use it for state changes, quotas, or inventory counts.
Stacked product series over ordered buckets.
Use it when the total and category mix both matter.
Samples with a target and acceptable range.
Use it for production quality metrics with explicit guardrails.
Two regional series on shared axes.
Use it when teams compare regions over the same period.
Ordered samples with a graphic callout over the plot.
Use it to put recorded release context beside a metric.
Long ordered samples with a visible zoom window.
Use it when the primary view should focus on one time range.
Ordered samples over a repeated seasonal interval.
Use it when weekly or monthly rhythm is the main signal.
Two Vec<f32> series.
Use it when readers need both movement and trend.
Vec<f32> over ordered periods.
Use it for seasonal demand and capacity planning.
Latency samples over ordered time buckets.
Use it for operations screens that need drift and spikes in one glance.
Two ordered series sharing the same axis.
Use it when users need to compare cohorts over the same time range.
Multiple LineSeries with one stack key.
Use it for composition over time.
Vec<f32> with end step behavior.
Use it when values settle at the end of each interval.
Vec<f32> with start step behavior.
Use it when values jump at the start of each interval.
Support counts with an area fill.
Use it when volume should be visible at a glance.
Raw and smoothed ordered series.
Use it when the user needs the current signal and the trend baseline.
Vec<f32> aligned to weekdays.
Use it for operational rhythms and weekly dashboards.
LineSeries plus DataZoom.
Use it for long series with local inspection.

Choosing within this family

Start with the measure and reporting interval. Counts, rates and percentiles require different preparation even though each becomes a vector of numbers. Use steps for discrete transitions, a shared stack only for disjoint parts of a total, and marks for declared events or limits. Neither smoothing a path nor drawing a band calculates a statistical average, forecast or confidence interval.

Authoring from a Fission component

This component receives the values and their reporting labels. Loading, aggregation and failures stay in the parent workflow; chart construction does not start another request.
use fission::prelude::*;
use fission::charts::{Axis, Chart, LineSeries};

// The parent resolves display labels from its translation bundles.
fission_component! {
    pub LineChart<()> {
        props {
            chart_title: String,
            series_label: String,
            labels: Vec<String>,
            completed_jobs: Vec<f32>,
        }
    }
    view(report, _state, _cx) {
        let labels = report.labels.iter().map(String::as_str).collect();
    } =>
        Chart(
            title: Some(report.chart_title.clone()),
            x_axis: Some(Axis::category(labels)),
            y_axis: Some(Axis::value()),
            series: vec![
                LineSeries::new(&report.series_label)
                    .data(report.completed_jobs.clone())
                    .into(),
            ],
        )
}
Keep a readable statement of the current value and reporting period alongside the visual. Test the source calculation independently from rendering, then inspect the actual plot at the widths where the app will use it.

Options, accessibility, and diagnostics

Area
What to decide
How to check it
Data shape
Keep source rows in typed Rust structs, then map them into the series shown above.
Test that mapping separately from chart rendering.
Options
Pick axes, legends, labels, motion, and interaction to answer the screen's question.
Add a screenshot test when the chart's appearance changes.
Accessibility
Give the chart a clear title and explain important values in nearby text. Do not rely on color alone.
Inspect its semantics and check that the chart still makes sense without color.
Failure handling
Show a loading, empty, or error state when the data is not ready.
Test empty data, partial data, and a failed fetch.
Performance
Summarize or window very large datasets; keep the full history in your data layer.
Profile frame time and interaction latency with representative data.