Plotly.NET.CSharp
0.14.0
dotnet add package Plotly.NET.CSharp --version 0.14.0
NuGet\Install-Package Plotly.NET.CSharp -Version 0.14.0
<PackageReference Include="Plotly.NET.CSharp" Version="0.14.0" />
<PackageVersion Include="Plotly.NET.CSharp" Version="0.14.0" />
<PackageReference Include="Plotly.NET.CSharp" />
paket add Plotly.NET.CSharp --version 0.14.0
#r "nuget: Plotly.NET.CSharp, 0.14.0"
#:package Plotly.NET.CSharp@0.14.0
#addin nuget:?package=Plotly.NET.CSharp&version=0.14.0
#tool nuget:?package=Plotly.NET.CSharp&version=0.14.0
Plotly.NET.CSharp
Create interactive charts in C# with chart constructors and fluent styling methods built on Plotly.NET. Charts render with plotly.js in a browser or a .NET Interactive notebook.
Installation
Version 0.14.0 targets .NET 10. Your application must target .NET 10 or later. Installing this package also installs the core Plotly.NET library, with a supported version range of >= 6.0.0 and < 7.0.0.
In a C# project:
dotnet add package Plotly.NET.CSharp --version 0.14.0
Quick start
Put this code in Program.cs and run the application:
using Plotly.NET.CSharp;
var chart = Chart.Point<double, double, string>(
x: new[] { 0.0, 1.0, 2.0, 3.0 },
y: new[] { 1.0, 4.0, 9.0, 16.0 },
Name: "Squares"
);
chart.Show();
Show() opens the chart in your browser. To save an HTML file instead, use chart.SaveHtml("chart.html"). The third generic argument, string, supplies the optional point-text type even when no text is provided.
For inline notebook output, reference Plotly.NET.Interactive as well and end the cell with the chart value. The notebook's C# kernel must support .NET 10.
Documentation
Licensed under the MIT License.
| 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
- Plotly.NET (>= 6.0.0 && < 7.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Plotly.NET.CSharp:
| Package | Downloads |
|---|---|
|
QuantConnect.Research
QuantConnect LEAN Engine: Research Project - Core implementation for jupyter research environment |
|
|
Dev_HandyControl.WpfApp
Package Description |
|
|
OptunaSharp.Visualization.Plotly
The plotly visualization backend for OptunaSharp — a raw-C# port of optuna.visualization (the 12 plot_* functions) built on Plotly.NET, over OptunaSharp's Phase 3.1 visualization data layer. Renders interactive plotly.js figures (optimization history, EDF, intermediate values, hypervolume history, parameter importances, slice, Pareto front, contour, rank, parallel coordinate, timeline, terminator improvement) whose figure spec matches live Optuna's. Pure managed (Plotly.NET only — no native dependency). Part of the SciSharp STACK. |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on Plotly.NET.CSharp:
| Repository | Stars |
|---|---|
|
QuantConnect/Lean
Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
|
|
|
dotnet/machinelearning
ML.NET is an open source and cross-platform machine learning framework for .NET.
|
|
|
bitfaster/BitFaster.Caching
High performance, thread-safe in-memory caching primitives for .NET
|
|
|
Capnode/Algoloop
Windows desktop algo trading with QuantConnect Lean engine.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 0.14.0 | 210 | 10/29/2026 |
| 0.14.0-preview.1 | 461 | 7/29/2025 |
| 0.13.0 | 508,870 | 9/4/2024 |
| 0.12.1 | 3,628 | 8/20/2024 |
| 0.12.0 | 8,459 | 5/27/2024 |
| 0.11.1 | 56,259 | 7/25/2023 |
| 0.11.0 | 744 | 7/14/2023 |
| 0.10.0 | 6,076 | 3/21/2023 |
| 0.9.0 | 500 | 3/21/2023 |
| 0.8.0 | 9,773 | 8/23/2022 |
| 0.7.0 | 681 | 8/22/2022 |
| 0.6.0 | 736 | 8/19/2022 |
| 0.5.0 | 727 | 8/11/2022 |
| 0.4.0 | 705 | 8/9/2022 |
| 0.3.0 | 686 | 8/2/2022 |
| 0.2.0 | 671 | 7/28/2022 |
| 0.1.0 | 709 | 7/26/2022 |
| 0.0.1 | 2,607 | 6/15/2022 |
- Add direct encoded-array overloads for `Scatter`, `Bar`, `StackedBar`, `Column`, `StackedColumn`, `Heatmap`, `Histogram2D`, and `Scatter3D`, reusing `Plotly.NET.EncodedTypedArray`.
- Add `ParallelCoord` / `ParallelCategories` conveniences accepting label/encoded-value pairs. Existing SPLOM and Sankey wrappers also accept shared dimension/node/link objects containing encoded values.
- Add a Sankey label/link convenience with `NodeAlign` for Left, Right, Center, or Justify alignment.
- Document and test C# factory syntax for 1D arrays and shaped matrices. Additional direct encoded wrappers remain outside this release's selected C# scope; existing plain overloads are preserved.
- Split the C# chart implementation and tests into per-chart files without changing the existing API.
- bump version range of Plotly.NET to [6.0.0, 7.0.0)
- **Breaking:** Plotly.NET.CSharp assemblies are no longer strong-named. See the Plotly.NET 6.0.0 release notes for context and migration options.
- **Breaking:** Plotly.NET.CSharp now targets `net10.0`. Applications using this package must target .NET 10 or later.
- Test tooling: xunit 2.9.3, xunit.runner.visualstudio 3.1.5, coverlet.collector 8.0.1.