32,420

Downloads

484

Downloads of v 3.0.0

19

Average downloads per day

2013-01-08

Last published

Share on Social Networks

License details

provided by Sonatype

Apache-2.0

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.

To install Google.DataTable.Net.Wrapper, run the following command in the Package Manager Console

Install-Package Google.DataTable.Net.Wrapper -Version 3.0.0

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.

Owners

Authors

Zoran Maksimovic

Copyright

Zoran Maksimovic (c) www.agile-code.com

Tags

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
Google.DataTable... 3.1.2 20,861 Thursday, June 12, 2014
Google.DataTable... 3.1.0 9,646 Monday, May 6, 2013
Google.DataTable... 3.0.0 (this version) 484 Tuesday, January 8, 2013
Google.DataTable... 2.0.0 229 Wednesday, December 26, 2012
Google.DataTable... 1.0.0.1 213 Monday, December 24, 2012
Google.DataTable ... 1.0.0 631 Sunday, December 23, 2012