Marey.Backend.Svg
0.7.0
dotnet add package Marey.Backend.Svg --version 0.7.0
NuGet\Install-Package Marey.Backend.Svg -Version 0.7.0
<PackageReference Include="Marey.Backend.Svg" Version="0.7.0" />
<PackageVersion Include="Marey.Backend.Svg" Version="0.7.0" />
<PackageReference Include="Marey.Backend.Svg" />
paket add Marey.Backend.Svg --version 0.7.0
#r "nuget: Marey.Backend.Svg, 0.7.0"
#:package Marey.Backend.Svg@0.7.0
#addin nuget:?package=Marey.Backend.Svg&version=0.7.0
#tool nuget:?package=Marey.Backend.Svg&version=0.7.0
Marey.Backend.Svg
The SVG backend for Marey, a dimensionally-typed
visualization system for F#. Pure F#, zero dependencies, netstandard2.1.
#r "nuget: Marey.Plot"
#r "nuget: Marey.Backend.Svg"
open Marey
open Marey.UnitsOfMeasure
let figure = Chart.line U.second U.metre t x
// To a string, or straight to a file.
let svg = figure |> Chart.render SvgBackend.render (Chart.size 800.0 500.0)
figure |> Chart.toSvg SvgBackend.render "out.svg" (Chart.size 800.0 500.0)
Deterministic
Two renders of one figure are byte-identical, and so are renders under different locales. Numbers are formatted culture-invariantly at a fixed precision, and nothing depends on hash ordering or on the clock, which is what allows the output to be pinned as a text golden master and reviewed as a diff.
Complete
All ten cases of the scene IR: paths, text, batched markers, rasters, groups, transforms, clips,
group opacity, keys and semantic annotations — with polylines, rectangles and gradients falling out
of Path and Paint. Accessibility semantics are emitted alongside the geometry.
Because the output is a string starting with <svg, it renders in any notebook or viewer that
knows what to do with one, without an extension installed.
Depends on Marey.Core and nothing else.
| Product | Versions 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. |
-
.NETStandard 2.1
- FSharp.Core (>= 8.0.100)
- Marey.Core (>= 0.7.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Marey.Backend.Svg:
| Package | Downloads |
|---|---|
|
Marey.Html
HTML renderings of Marey values for notebooks: figures and scenes as inline SVG, colours as swatches, ramps resampled through Oklab, palettes, dimensions, unit witnesses and erased scales, and a live figure's page. Host-neutral and dependency-free. |
GitHub repositories
This package is not used by any popular GitHub repositories.