VegaGenerator 1.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package VegaGenerator --version 1.0.6                
NuGet\Install-Package VegaGenerator -Version 1.0.6                
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="VegaGenerator" Version="1.0.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VegaGenerator --version 1.0.6                
#r "nuget: VegaGenerator, 1.0.6"                
#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.
// Install VegaGenerator as a Cake Addin
#addin nuget:?package=VegaGenerator&version=1.0.6

// Install VegaGenerator as a Cake Tool
#tool nuget:?package=VegaGenerator&version=1.0.6                

VegaGenerator

A library to help generate VegaLite charts from C# code.

See the included Demo app for examples

Available on Nuget as VegaGenerator

Illustrative code

var data = new List<OrderedDictionary>();
// populate data with an OrderedDicionary per point, "x"=> xValue, "y" => yValue, "series"=>seriesName

//for a chart where X values are DateTimes and Y are numeric....
var spec = VegaChart.CreateVegaChart(
             VegaMark.Line,
             new ColumnDescription("x", "x", VegaAxisType.Temporal),
             new ColumnDescription("y", "y", VegaAxisType.Quantitative),
             new ColumnDescription("series", "series", VegaAxisType.Nominal)
         )
        .InjectData(data) //add the data 
        .UseCursorTooltip()
        .SetTitle("Demo Chart")
        .FillContainer(); 

//generate the html and display it
var html = VegaMaker.MakeHtml("demo", spec.Serialize(),"dark");

image

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on VegaGenerator:

Package Downloads
KustoLoco.Rendering

Chart rendering for KustoLoco

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.8 813 10/29/2024
1.0.7 77 10/29/2024
1.0.6 345 10/16/2024
1.0.5 188 10/10/2024
1.0.4 470 10/7/2024
1.0.3 159 10/3/2024
1.0.2 1,025 8/25/2024
1.0.1 2,446 6/5/2024
1.0.0 545 3/3/2024

Initial release