ECharts.Net.Winform
0.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package ECharts.Net.Winform --version 0.0.2
NuGet\Install-Package ECharts.Net.Winform -Version 0.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ECharts.Net.Winform" Version="0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ECharts.Net.Winform" Version="0.0.2" />
<PackageReference Include="ECharts.Net.Winform" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ECharts.Net.Winform --version 0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ECharts.Net.Winform, 0.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ECharts.Net.Winform@0.0.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ECharts.Net.Winform&version=0.0.2
#tool nuget:?package=ECharts.Net.Winform&version=0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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技术构建。
特点
- 现代化:基于最新的.net7以及Webview2构建
- 高性能:以尽可能低的额外开销实现与ECharts的互操作
- 类型安全:尽可能使用强类型封装ECharts组件
- 灵活性:在使用.net类型的同时也可以使用js直接操作
如何使用
使用Nuget包管理器安装:
| 平台 | 包名 |
|---|---|
| WinForm | ECharts.Net.Winform |
| WPF | ECharts.Net.Wpf |
| WinUI3 | 尚未支持 |
由于处于早期开发阶段,目前没有文档。具体用法请参见本仓库中的Demo。
路线图
本项目目前处于前期开发阶段,已实现基本功能,理论上可以使用JS调用的方式实现全部官方例程。当前开发重点在于对Option的封装。
| 事项 | 状态 |
|---|---|
| 对Webview2控件的基本封装 | ✅ |
| 核心类型系统设计 | ✅ |
对Option进行封装 |
进行中 |
| WinUI3支持 | 计划中 |
| 序列化和互操作优化 | 计划中 |
截图
贡献
对本项目有任何疑问,欢迎提交Issue,或直接发起Pull Request
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0-windows7.0 is compatible. net8.0-windows was computed. net9.0-windows was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0-windows7.0
- ECharts.Net.Core (>= 0.0.2)
- ECharts.Net.Webview2 (>= 0.0.2)
- microsoft.web.webview2 (>= 1.0.1823.32)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 573 | 7/23/2025 |
| 0.0.4 | 387 | 7/20/2023 |
| 0.0.3 | 236 | 7/12/2023 |
| 0.0.3-alpha | 208 | 7/11/2023 |
| 0.0.2 | 208 | 7/10/2023 |
| 0.0.2-alpha | 184 | 7/10/2023 |
| 0.0.1 | 212 | 7/6/2023 |
| 0.0.1-alpha | 193 | 7/7/2023 |