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

Version History

Version Downloads Last updated
3.1.2 28,034 6/12/2014
3.1.0 9,853 5/6/2013
3.0.0 (current version) 600 1/8/2013
2.0.0 253 12/26/2012
1.0.0.1 236 12/24/2012
1.0.0 670 12/23/2012