Gå til indholdet
DIAGRAMMER · COMPLETE

ErrorBarChart

ErrorBarChart er en del af RayCraft Complete.

Eksempel

<ErrorBarChart Label="Measurements" Categories="_samples" Series="_series" />
<ErrorBarChart Label="Measurements (bars)" Categories="_samples" Series="_series" ShowBars="true" />

@code {
    private readonly string[] _samples = ["A", "B", "C", "D"];
    private readonly ChartErrorSeries[] _series =
    [
        new("Batch 1", [12, 18, 15, 22], [2, 3, 1.5, 4]),
        new("Batch 2", [10, 16, 19, 20], [1, 2.5, 2, 3])
    ];
}

Et kort uddrag. Tilføj @using RayCraft.Blazor.Components til din side, og brug en interaktiv gengivelsestilstand.

Del af RayCraft Complete.

Alle kontroller ยท Dokumentation