dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: dynamic chart

Hybrid View

  1. #1
    Join Date
    May 2013
    Posts
    1

    dynamic chart

    hi..i just want to create google chart using dynamic data .. how to do this..????



    function drawVisualization() {
    var wrapper = new google.visualization.ChartWrapper({
    chartType: 'ColumnChart',
    dataTable: [['', 'Germany', 'USA', 'Brazil', 'Canada', 'France', 'RU'],
    ['', 700, 300, 400, 500, 600, 800]],
    options: {'title': 'Countries'},
    containerId: 'visualization'
    });
    wrapper.draw();
    }

    ​here how can i replace with dynamic data

  2. #2
    Join Date
    Mar 2009
    Posts
    452
    what are you refering dynamic data to ? data comming from an extenal source, Serverside script or what ever ?

  3. #3
    Join Date
    Apr 2013
    Posts
    56
    You will have to make an Ajax call to the script which handles dynamic data. That way you will be able to create dynamic charts.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles