Marey.Html 0.7.0

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

Marey.Html

HTML renderings of Marey values, for a notebook cell. Host-neutral, zero dependencies, netstandard2.1.

This is also the convenient package to reference, because it sits at the top of the graph: installing it brings Marey.Core, Marey.Units, Marey.Plot, Marey.Interact and the SVG backend with it.

#r "nuget: Marey.Html"

open Marey
open Marey.UnitsOfMeasure

let figure = Chart.line U.second U.metre t x

// something -> string. No kernel, no display call, no global registry.
Html.figure figure

Twelve types render: Figure and Node as inline SVG, Film as a flipbook that plays, Color as a swatch that does not lie about alpha, Ramp resampled through Oklab, Color[], PaletteReport as a colour-vision-deficiency and contrast report, Dim, U<'u> and IScaleErased as themselves, and a live figure (Live, Recorder) as its figure.

A large figure is drawn on a canvas. From Html.CanvasThreshold drawn elements on (5000), a figure or a live figure is a page holding a <canvas>, the scene's bytes (Wire, in Marey.Core) and a script compiled from Marey's own canvas backend, which this package embeds. A 10⁵-point scatter is 2.1 MB rather than 6.4 MB of SVG and draws in tens of milliseconds; a live step that moves one mark sends a few kilobytes. Under the canvas is the figure's SVG without its large batches, for a viewer that runs no script. Html.renderMode sets Svg, Canvas or Auto.

A film is sampled into stills stacked in one SVG and cycled with SMIL <animate> — no <style> block, which a notebook cell cannot scope, and no external tool, so it plays wherever the notebook renders and looks the same for every reader.

A live figure's page

Html.widget live state isLive writes a whole page for a host that draws output in a frame of its own: the controls at the state's values, the figure, and a script that posts the reader's changes, drags and pointer position, and swaps in what comes back. The script formats no number: every label and every reading is written in F#, by the kernel. With isLive = false the same page has its controls disabled, for a host with nothing to talk back to and for a saved notebook.

Host-neutral

Every renderer here is something -> string: no formatter registration, no kernel reference and no dependency on a notebook host. The output carries no <style> block and no pinned colours, so it inherits the notebook's theme rather than fighting it.

To make a bare value display

In Verso, install Marey.Verso into the notebook host and a cell whose value is a Figure shows the figure. Referencing this package and installing that extension are separate steps that cannot substitute for each other: this one provides the types, the extension provides the rendering.

Without any extension, render to SVG and let the host's built-in SVG formatter draw it — that path needs nothing installed:

figure |> Chart.render SvgBackend.render (Chart.size 720.0 450.0)
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
0.7.0 85 10/17/2026
0.6.0 88 10/11/2026
0.5.0 86 10/10/2026
0.4.0 93 10/8/2026
0.3.1 93 10/5/2026
0.3.0 86 10/5/2026
0.2.0 138 8/21/2026
0.1.1 122 8/19/2026
0.1.0 118 8/19/2026
0.1.0-rc.1 97 8/18/2026