Google.DataTable.Net.Wrapper 3.0.0

This library enables the end users to create a lightweight representation of the  google.visualization.DataTable object directly in Microsoft.NET and the creation of the necessary JSON as needed by the Google Chart Tools Javascript library.

There is a newer version of this package available.
See the version list below for details.
Install-Package Google.DataTable.Net.Wrapper -Version 3.0.0
dotnet add package Google.DataTable.Net.Wrapper --version 3.0.0
<PackageReference Include="Google.DataTable.Net.Wrapper" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Google.DataTable.Net.Wrapper --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version 3.0.0.0 mainly brings an unified way of managing custom properties that previously was managed by a simple string where the developer had to format the properties directly as a string. Now, the so called PropertyMap brings a Name-Value list that simplifies the management and serialization itself of the object.

To note as well is the introduction of the System.Data.DataTable converter into the Google.DataTable.Net.Wrapper.DataTable format.

BREAKING CHANGES

- Attribute "Properties" removed from the Column object. Use the new PropertyMap attribute instead.
- Attribute "Properties" removed from the Cell object. Use the new PropertyMap attribute instead.

If the above two attributes haven't been used directly in the code, no changes to the source code is needed.

IMPROVEMENTS

- ntroduced new type SystemDataTableConverter which contains code that converts a ADO:NET System.Data.DataTable into the project's DataTable. This gives a possibility to return a Json string from a widely known System.Data.DataTable.

- Added Role attribute to the Column. It gets serialized as... cols":[{"p":{"role":"....}]

- Added management for default Column.Id names if not specified.

- Added PropertyMap attributes to Cell, Row and Column objects. This gives an unified way of handling custom assigned properties to objects.

BUG FIXES

- Removed a trailing comma in the JSON string when a Cell (p tag) is serialized. This was causing an invalid JSON string.

- Changed the way of how the Date object get's serialized in the JSON string. Now the object is returned quoted. "new Date..."
Change the way of how the Date() format is handled in the Json output. Removed the keyword "new" that was apparently causing some troubles.

Dependencies

This package has no dependencies.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Google.DataTable.Net.Wrapper:

Package Downloads
XPlot.GoogleCharts
XPlot is a cross-platform data visualization library that supports creating charts using Google Charts and Plotly. The library provides a composable domain specific language for building charts and specifying their properties.
FsLab
FsLab is a combination package that supports doing data science with F#. FsLab includes literate scripting converted to HTML and PDF, and by default references Deedle (a data frame library), FSharp.Data (for data access) and XPlot (for visualization). You can optionally add any other nuget packages.
FsLab.Runner
This package contains a library for turning FsLab experiments written as script files into HTML and LaTeX reports. The easiest way to use the library is to use the 'FsLab Journal' Visual Studio template.
FSharp.Literate.Scripts
This package contains a library for turning FsLab experiments written as script files into HTML and LaTeX reports.
Kfl.XPlot.GoogleCharts
XPlot is a cross-platform data visualization library that supports creating charts using Google Charts and Plotly. The library provides a composable domain specific language for building charts and specifying their properties.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Google.DataTable.Net.Wrapper:

Repository Stars
anuraj/AspNetCoreSamples
This repository is set of ASP.NET Core projects and scripts.

Version History

Version Downloads Last updated
4.0.0 28,081 5/24/2019
4.0.0-rc1 3,617 9/8/2018
3.1.2 88,420 6/12/2014
3.1.0 13,925 5/6/2013
3.0.0 1,642 1/8/2013
2.0.0 710 12/26/2012
1.0.0.1 720 12/24/2012
1.0.0 1,931 12/23/2012
Show less