diff --git a/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Shared/KpiTrendChart.razor b/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Shared/KpiTrendChart.razor new file mode 100644 index 00000000..cda351cb --- /dev/null +++ b/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Shared/KpiTrendChart.razor @@ -0,0 +1,64 @@ +@namespace ZB.MOM.WW.ScadaBridge.CentralUI.Components.Shared + +@* M6 (K12) reusable KPI trend chart. Dependency-free inline SVG inside a + Bootstrap card, styled to sit beside the AuditKpiTiles / SiteCallKpiTiles + KPI cards (card + card-body, small text-muted labels, muted single stroke). + Three states: a ≥2-point polyline chart, a single-sample note, and an + em-dash placeholder for the unavailable / empty case. The coordinate math + and number formatting live in the code-behind (InvariantCulture throughout). *@ + +