ILNumerics.Community.WebExport 7.0.0.248

dotnet add package ILNumerics.Community.WebExport --version 7.0.0.248
                    
NuGet\Install-Package ILNumerics.Community.WebExport -Version 7.0.0.248
                    
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="ILNumerics.Community.WebExport" Version="7.0.0.248" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ILNumerics.Community.WebExport" Version="7.0.0.248" />
                    
Directory.Packages.props
<PackageReference Include="ILNumerics.Community.WebExport" />
                    
Project file
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 ILNumerics.Community.WebExport --version 7.0.0.248
                    
#r "nuget: ILNumerics.Community.WebExport, 7.0.0.248"
                    
#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 ILNumerics.Community.WebExport@7.0.0.248
                    
#: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=ILNumerics.Community.WebExport&version=7.0.0.248
                    
Install as a Cake Addin
#tool nuget:?package=ILNumerics.Community.WebExport&version=7.0.0.248
                    
Install as a Cake Tool

WebExport

Nuget

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 March 2025 (only) the following plot types are supported:

  • LinePlot

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

  1. Export scene to a string

    // Create or obtain an ILNumerics scene (pseudocode)
    // var scene = new Scene() { ... };
    
    string html = WebExport.ExportString(scene);
    
  2. 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 Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
7.0.0.248 111 9/5/2025
7.0.0.247 141 9/4/2025