Hi, i tried create a chart for work time by month using Area Chart, but i 
don't know what parameters used to display this data like time.

Example:
Jan/13 - 98:30 hours and minutes
Feb/13 - 50:30 hours and minutes

MyScript:

function drawVisualization() {
    // Some raw data (not necessarily accurate)
    var data = google.visualization.arrayToDataTable([
        ['Month/Year',   'Hours'],
        ['Jan/13', '98:30'],
        ['Feb/13', '50:30']
    ]);

    // Create and draw the visualization.
    var ac = new 
google.visualization.AreaChart(document.getElementById('visualization-time'));
    ac.draw(data, {
        title : 'Time',
        isStacked: true,
        width: '100%',
        height: 400,
        vAxis: {title: "Hours"},
        hAxis: {title: "Month/Year"}
    });
}

Whats is wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to