Blazix.Charts
0.6.2
dotnet add package Blazix.Charts --version 0.6.2
NuGet\Install-Package Blazix.Charts -Version 0.6.2
<PackageReference Include="Blazix.Charts" Version="0.6.2" />
<PackageVersion Include="Blazix.Charts" Version="0.6.2" />
<PackageReference Include="Blazix.Charts" />
paket add Blazix.Charts --version 0.6.2
#r "nuget: Blazix.Charts, 0.6.2"
#:package Blazix.Charts@0.6.2
#addin nuget:?package=Blazix.Charts&version=0.6.2
#tool nuget:?package=Blazix.Charts&version=0.6.2
Blazix.Charts
Composable SVG charts for Blazor, ported from recharts 3: area, bar, line, composed, pie, radar and radial bar charts, with axes, grids, tooltips, legends and labels.
<ResponsiveContainer InitialDimension="new ChartSize(320, 200)">
<BarChart Data="data">
<CartesianGrid Vertical="false" />
<XAxis DataKey="month" TickLine="false" AxisLine="false" />
<Tooltip />
<Bar DataKey="desktop" Fill="var(--color-desktop)" Radius="4" />
</BarChart>
</ResponsiveContainer>
Layout (scales, ticks, stacking, shapes) runs in C#. A small JavaScript module, loaded on demand, measures text and containers, tracks the pointer and keyboard, and places the tooltip.
So charts need an interactive render mode, as recharts needs the browser. Prerendered, a chart is empty until it's interactive, and rendered statically it draws nothing. In a static page, give the component that holds the chart a render mode, and the rest of the page can stay static.
See blazix-ui.com/docs/components/chart for the styled chart component
that dnx Blazix.Cli add chart copies, which builds on this package.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.