VegaGenerator 1.0.7

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

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

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 414 10/29/2024
1.0.7 70 10/29/2024
1.0.6 336 10/16/2024
1.0.5 181 10/10/2024
1.0.4 451 10/7/2024
1.0.3 152 10/3/2024
1.0.2 1,019 8/25/2024
1.0.1 2,347 6/5/2024
1.0.0 536 3/3/2024

Initial release