ECharts.Net.Core
0.1.0
dotnet add package ECharts.Net.Core --version 0.1.0
NuGet\Install-Package ECharts.Net.Core -Version 0.1.0
<PackageReference Include="ECharts.Net.Core" Version="0.1.0" />
<PackageVersion Include="ECharts.Net.Core" Version="0.1.0" />
<PackageReference Include="ECharts.Net.Core" />
paket add ECharts.Net.Core --version 0.1.0
#r "nuget: ECharts.Net.Core, 0.1.0"
#:package ECharts.Net.Core@0.1.0
#addin nuget:?package=ECharts.Net.Core&version=0.1.0
#tool nuget:?package=ECharts.Net.Core&version=0.1.0
ECharts.Net - 在.NET应用中使用ECharts
<div align=center><img height='100' src=".github/icon.png"></div>
<br/>
<div align=center> <font size='4'> <strong>简体中文</strong> | <a href='/README.en.md'>English</a> </font> </div>
简介
可用于WPF/Winform的图表控件, 内部使用Webview2嵌入ECharts实现,基于最新的.net技术构建,同时兼容.net framework。
特点
- 现代化:基于最新的.net7以及Webview2构建
- 高性能:以尽可能低的额外开销实现与ECharts的互操作
- 类型安全:尽可能使用强类型封装ECharts组件
- 灵活性:在使用.net类型的同时也可以使用js直接操作
如何使用
使用Nuget包管理器安装:
| 平台 | 包名 |
|---|---|
| WinForm | ECharts.Net.Winform |
| WPF | ECharts.Net.Wpf |
| WinUI3 | 尚未支持 |
由于处于早期开发阶段,目前没有文档。具体用法请参见本仓库中的Demo。
路线图
本项目目前处于前期开发阶段,已实现基本功能,理论上可以使用JS调用的方式实现全部官方例程。当前开发重点在于对Option的封装。
| 事项 | 状态 |
|---|---|
| 对Webview2控件的基本封装 | ✅ |
| 核心类型系统设计 | ✅ |
对Option进行封装 |
进行中 |
| WinUI3支持 | 计划中 |
| 序列化和互操作优化 | 计划中 |
| .Net Framework支持 | ✅ |
截图
贡献
对本项目有任何疑问,欢迎提交Issue,或直接发起Pull Request
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- Microsoft.CSharp (>= 4.7.0)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 7.0.4)
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.7.0)
- System.Text.Json (>= 7.0.4)
-
net7.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on ECharts.Net.Core:
| Package | Downloads |
|---|---|
|
ECharts.Net.Webview2
The dependency package of ECharts.Net.WPF/Winform. |
|
|
ECharts.Net.Wpf
Introduce ECharts into your WPF apps, powered by Microsoft Webview2. |
|
|
ECharts.Net.Winform
Introduce ECharts into your Winform apps, powered by Microsoft Webview2. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 578 | 7/23/2025 |
| 0.0.4 | 734 | 7/20/2023 |
| 0.0.3 | 252 | 7/12/2023 |
| 0.0.3-alpha | 240 | 7/11/2023 |
| 0.0.2 | 264 | 7/10/2023 |
| 0.0.2-alpha | 222 | 7/10/2023 |
| 0.0.1 | 309 | 7/6/2023 |
| 0.0.1-alpha | 222 | 7/7/2023 |