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
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 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.


- 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.


- 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.


- 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.


This package has no dependencies.

Version History

Version Downloads Last updated
4.0.0-rc1 267 9/8/2018
3.1.2 47,366 6/12/2014
3.1.0 10,981 5/6/2013
3.0.0 962 1/8/2013
2.0.0 388 12/26/2012 404 12/24/2012
1.0.0 873 12/23/2012
Show less