Plotly.NET.Interactive:提供用于 .NET 交互式笔记本的交互式格式扩展。 Plotly.NET.ImageExport:提供将 Plotly.NET 图表渲染为静态图像的扩展。 Plotly.NET.CSharp:该包提供了符合 C# 语言习惯的 API。需要注意的是,你仍然可以在 C# 中使用核心 API,此包的作用仅在于消除某些场景下的使用摩擦。 项目源代码 可视化...
前言 今天大姚给大家分享一个 .NET 强大、免费、开源的交互式图表库:Plotly.NET。 项目介绍 Plotly.NET 一个为 .NET 打造的强大、免费、开源的交互式图表库,支持 C# 和 F#编程语言,它构建在 plotly.js 之上并提供多个 API 层,用于创建、样式化和渲染美观的
Plotly.NET是一个强大、免费、开源的.NET交互式图表库,支持C#和F#,基于plotly.js,提供多API层创建和样式化图表。包含核心API、交互式笔记本扩展、图像导出扩展等,源码和文档可访问GitHub和官网。
using System; using Plotly.NET; using Plotly.NET.TraceObjects; class Program { static void Main() { var labels = new[] { "A", "B", "C", "D" }; var values = new[] { 1, 3, 2, 4 }; var pie = Chart.Pie<string, int, int>(labels, values); var chart = Chart.Plot(pie)...
说到Plotly,很多人都知道这是Python的一个非常强大的可视化图表框架,其实Plotly官方也有一个.Net版本。 01 项目简介 Plotly.NET是一个开源的.NET绘图库,它基于Plotly.js的API进行开发,提供了非常丰富的图表类型和交互功能。 Plotly.NET默认生成结果是Html文件,可以直接在浏览器打开,可以把Html保存至指定路径,或者保存...
Plotly.NET.Interactive:提供用于 .NET 交互式笔记本的交互式格式扩展。 Plotly.NET.ImageExport:提供将 Plotly.NET 图表渲染为静态图像的扩展。 Plotly.NET.CSharp:该包提供了符合 C# 语言习惯的 API。需要注意的是,你仍然可以在 C# 中使用核心 API,此包的作用仅在于消除某些场景下的使用摩擦。
Install-Package Plotly.NET.CSharp 2、示例代码 using Plotly.NET.CSharp; Chart.Point<int, int, string>( x: Enumerable.Range(0, 11), y: Enumerable.Range(0, 11)).WithTraceInfo("Plotly.NET", ShowLegend: true).WithXAxisStyle<double, double, string>(Title: Plotly.NET.Title.init("x坐标"...
usingPlotly.NET.CSharp; Chart.Point<int,int,string>( x:Enumerable.Range(0, 11), y:Enumerable.Range(0, 11) ) .WithTraceInfo("Plotly.NET",ShowLegend:true) .WithXAxisStyle<double,double,string>(Title:Plotly.NET.Title.init("x坐标")) ...
Plotly.NET.CSharp Documentation Quick starts F# In F# projects, just add the Plotly.NET package to your project and you are ready to go! 📖 Polyglot Notebook 📖 Quick start To enable Plotly.NET in a polyglot notebook, reference the Plotly.NET.Interactive package: #r "nuget: Plotly...
interactive graphing library for .NET programming languages :chart_with_upwards_trend: - plotlyjs 2.27: Add insiderange to cartesian axes · plotly/Plotly.NET@f7d24df