
Chart | Data shape | Use when |
|---|---|---|
Scatter points and brush selection. | Use it when incidents require selecting a point range. | |
One utilisation percentage on a fixed 0–100 arc. | Show current occupied capacity, with exact values alongside it. | |
Service nodes and dependencies. | Use it for operational topology. | |
Highlighted error points. | Use it for outlier-heavy operational views. | |
Resource load matrix. | Use it for time and resource concentration. | |
3D point cloud of operational samples. | Use it for dense spatial monitoring views. | |
3D grid bars for operational values. | Use it for spatial operational demonstrations. | |
Trend with typed graphic callout. | Use it when dashboards need explanatory context. | |
Error values with threshold band. | Use it when alert ranges must be visible. | |
Event positions with value-coded marks. | Use it for compact event timeline rows. | |
Dense telemetry samples. | Use it for top-level operational dashboards. | |
Ordered policy scores on a common 0–100 scale. | Compare dimensions only after defining their meaning and direction. | |
Chart plus semantic application controls. | Change the report through normal reducers or effects; painted tools alone are not functional. | |
Traffic counts by category. | Use it for quick categorical traffic summaries. | |
Unweighted nodes and links in two columns. | Show routing relationships, not quantitative traffic flows. | |
Region values with color scale. | Use it for geographic operations. | |
Connection lines with effect markers. | Use it for route and link movement. | |
Application-selected snapshots and a timeline indicator. | Compare releases with an explicit reducer-controlled selection. | |
Services ranked by a value. | Use it to focus on the largest contributors. | |
Daily uptime values. | Use it for long-term reliability summaries. |
use fission::prelude::*;
use fission::charts::{Axis, Chart, LineSeries};
// The parent resolves display labels from its translation bundles.
fission_component! {
pub MonitoringOverviewChart<()> {
props {
chart_title: String,
series_label: String,
labels: Vec<String>,
requests_per_second: 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().min(0.0)),
series: vec![
LineSeries::new(&report.series_label)
.data(report.requests_per_second.clone())
.into(),
],
)
}