Qyperion.BlazorECharts
3.0.0
dotnet add package Qyperion.BlazorECharts --version 3.0.0
NuGet\Install-Package Qyperion.BlazorECharts -Version 3.0.0
<PackageReference Include="Qyperion.BlazorECharts" Version="3.0.0" />
<PackageVersion Include="Qyperion.BlazorECharts" Version="3.0.0" />
<PackageReference Include="Qyperion.BlazorECharts" />
paket add Qyperion.BlazorECharts --version 3.0.0
#r "nuget: Qyperion.BlazorECharts, 3.0.0"
#:package Qyperion.BlazorECharts@3.0.0
#addin nuget:?package=Qyperion.BlazorECharts&version=3.0.0
#tool nuget:?package=Qyperion.BlazorECharts&version=3.0.0
BlazorECharts
Typed Blazor components and C# API for Apache ECharts 6.1.0. The package targets .NET 10 and .NET 11 and works with Interactive Server, Interactive WebAssembly, Interactive Auto and standalone WebAssembly hosts.
The pinned ECharts 6.1.0 ES module is included as a static web asset and loads from
_content/BlazorECharts/ on first use. No npm, CDN or <script> tag is needed.
The live demo shows more than 45 examples with their C# source.
Get started
// Program.cs
using BlazorECharts.Runtime;
builder.Services.AddECharts();
@page "/weekly-messages"
@rendermode InteractiveServer
@using BlazorECharts
@using BlazorECharts.Options
@using BlazorECharts.Values
<EChart Options="_options" Height="360px" />
@code {
private readonly ChartOptions _options = new()
{
XAxis = new XAxisCategoryOption { Data = ["Mon", "Tue", "Wed"] },
YAxis = new YAxisValueOption(),
Series = new LineSeriesOption { Data = [12, 18, 9] },
};
}
The chart draws only in an interactive render mode. @rendermode InteractiveServer suits an app
with per-page interactivity, such as the default dotnet new blazor template; leave it out when
the whole app is interactive. With static server rendering the page shows only the empty container.
A new Options reference is applied automatically and, as in ECharts, merged into the chart:
a series or component without a counterpart in the new options stays. Set
UpdateOptions="new() { NotMerge = true }" when each Options describes the whole chart. Call
UpdateAsync after mutating the same object, or SetOptionAsync on the chart instance for
partial updates.
What is included
- Typed models for the documented ECharts 6.1.0 options, events, actions and methods.
- Module and opt-in inline JavaScript functions for formatters and callbacks.
- Stable PNG, JPEG and SVG exports and
AwaitStableAsync. - Opt-in
module(for example a CDN) andcustomruntime providers.
Tooltip formatter functions return HTML: encode data in them, and read the security notes for links, colors from data, SVG export, inline functions and the Content Security Policy.
The documentation covers getting started, options, updates, events, functions, exports, extensions, render modes, errors and security.
Licensed under MIT. Apache ECharts, ZRender and tslib keep their own licenses; see
THIRD-PARTY-NOTICES.md in the 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. net11.0 is compatible. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.0)
-
net11.0
- Microsoft.AspNetCore.Components.Web (>= 11.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Qyperion.BlazorECharts:
| Package | Downloads |
|---|---|
|
Qyperion.BlazorECharts.WordCloud
WordCloud series for BlazorECharts on Apache ECharts 6.1.0, built on @qyperion/echarts-wordcloud 3.0.0. |
GitHub repositories
This package is not used by any popular GitHub repositories.