ILNumerics.Community.WebExport
7.1.0.35
dotnet add package ILNumerics.Community.WebExport --version 7.1.0.35
NuGet\Install-Package ILNumerics.Community.WebExport -Version 7.1.0.35
<PackageReference Include="ILNumerics.Community.WebExport" Version="7.1.0.35" />
<PackageVersion Include="ILNumerics.Community.WebExport" Version="7.1.0.35" />
<PackageReference Include="ILNumerics.Community.WebExport" />
paket add ILNumerics.Community.WebExport --version 7.1.0.35
#r "nuget: ILNumerics.Community.WebExport, 7.1.0.35"
#:package ILNumerics.Community.WebExport@7.1.0.35
#addin nuget:?package=ILNumerics.Community.WebExport&version=7.1.0.35
#tool nuget:?package=ILNumerics.Community.WebExport&version=7.1.0.35
WebExport
Export functionality for ILNumerics (http://ilnumerics.net/) scene graphs and plot cubes to Plotly (interactive data visualization package). WebExport converts ILNumerics scene graphs (for example a PlotCube containing LinePlot objects) into a standalone HTML fragment or file that uses the Plotly JavaScript Open Source Graphing Library to produce interactive charts.
About Plotly JavaScript Library
Plotly (https://plotly.com/javascript/) is an open source, high-level JavaScript graphing library that produces interactive, publication-quality graphs. It supports many chart types (scatter, line, bar, heatmap, 3D charts, and more) and provides features like hover labels, zooming, panning, and responsive layouts. WebExport produces Plotly-compatible markup so the resulting HTML can be embedded in a web page or opened directly to present an interactive chart.
Features
- Convert ILNumerics scene graphs / plot cubes into Plotly charts
- Output as a standalone HTML string or write directly to a file
Supported plot types
As of February 2026 (only) the following plot types are supported:
- LinePlot
- ErrorBarPlot (y-error only)
- Surface
- FastSurface (incomplete)
Getting started
Install the NuGet package:
dotnet add package ILNumerics.Community.WebExport
Basic usage examples
Two main entry points are provided:
- ExportString(scene) - returns the HTML fragment as a string
- ExportFile(scene, filePath) - writes the HTML to a file (usually with .html extension)
Examples
Export scene to a string
// Create or obtain an ILNumerics scene (pseudocode) // var scene = new Scene() { ... }; string html = WebExport.ExportString(scene);Export scene to a file
string filePath = "webplot.html"; WebExport.ExportFile(scene, filePath); // The file 'webplot.html' now contains the HTML page
Notes and limitations
- If the provided Scene cannot be converted into any Plotly traces (for example no supported primitives present), the ExportString method returns an empty string and ExportFile will write an empty file.
- The project currently focuses on LinePlot conversion. Other ILNumerics primitives may not be supported yet.
- The generated HTML relies on the Plotly JavaScript library; the exporter embeds the necessary markup for Plotly so the resulting file is standalone.
Contributing
Contributions, bug reports and feature requests are welcome. Please open an issue or a pull request on the GitHub repository.
License
ILNumerics.Community.WebExport is licensed under the terms of the MIT license (http://opensource.org/licenses/MIT, see LICENSE.txt).
| 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
- ILNumerics.Community.Analyzers (>= 7.3.0.66)
- ILNumerics.Computing (>= 7.4.16)
- ILNumerics.Drawing (>= 7.4.16)
- ILNumerics.Toolboxes.Drawing2 (>= 7.4.16)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.