
Chart | Data shape | Use when |
|---|---|---|
Ordered conversion stage values. | Use it when conversion loss matters more than a shared axis. | |
Selected alert points over numeric axes. | Emphasise observations already flagged by the application policy. | |
Five-number summaries across service groups. | Use it to compare distributions instead of averages. | |
Open, close, low, high values over intraday buckets. | Use it when price direction and range must be visible together. | |
X, y, and value triples for customers or segments. | Use it when business value should influence point size. | |
Rows of comparable numeric dimensions. | Use it when each item has several independent measures. | |
Efficiency points over value axes. | Inspect measured tradeoffs; frontier classification is a separate calculation. | |
Open, close, low, and high values by period. | Use it for financial price movement. | |
Job positions with duration or intensity values. | Compare individual completed-job durations; lanes are not workers. | |
Independent x/y samples. | Use it for correlation and clustering questions. | |
Multi-dimensional rows on parallel axes. | Use it when tradeoffs across measures matter. | |
Risk, return, and exposure values. | Use it to compare assets or initiatives with three measures. | |
Highlighted x/y points over value axes. | Use it when outliers should attract attention immediately. | |
Five-number summaries for quality scores. | Use it when spread and outliers matter. | |
Five-number summaries by region. | Use it for distribution comparison across regions. | |
Position/value pairs on one axis. | Use it for compact event timelines. | |
X, y, and magnitude triples. | Use it when size carries a third measure. | |
Rows of risk dimensions on parallel axes. | Use it for multidimensional risk assessment. | |
Stage/value pairs through a process. | Use it for operational process attrition. | |
Open, close, low, high price values; no volume field. | Use it when directional change and range both matter. |
use fission::prelude::*;
use fission::charts::{Axis, BoxplotSeries, Chart};
// The parent resolves display labels from its translation bundles.
fission_component! {
pub ApiLatencySummaryOverview<()> {
props {
chart_title: String,
series_label: String,
axis_label: String,
group_labels: Vec<String>,
summaries: Vec<[f32; 5]>,
}
}
view(report, _state, _cx) {
let labels = report.group_labels.iter().map(String::as_str).collect();
let rows = report.summaries.iter().map(|summary| summary.to_vec()).collect();
} => Chart(
title: Some(report.chart_title.clone()),
x_axis: Some(Axis::category(labels)),
y_axis: Some(Axis::value().name(&report.axis_label)),
series: vec![BoxplotSeries::new(&report.series_label).data(rows).into()],
)
}