leora
leora

Reputation: 196891

How can I use json to populate the data in a google bar chart

I am trying to use a google bar chart in an asp.net-mvc application.

The sample is quite straight forward to do as a static table but i want to build up the table on the server side and pass back down to the client using ajax.

Is there anyway you can populate the datatable that is used for the bar chart with an ajax call getting json or something similar ?

Upvotes: 0

Views: 1301

Answers (1)

Bruno
Bruno

Reputation: 122769

You could use one of these tools with jQuery ajax requests for example:

(You'd still need to construct the appropriate JSON representations on the server side.)

Upvotes: 1

Related Questions