Please review line chart of http://ping.webconverger.org/

33 views
Skip to first unread message

Kai Hendry

unread,
Jan 3, 2012, 11:02:44 PM1/3/12
to google-visua...@googlegroups.com
Hi there,

I would appreciate a candid review of http://ping.webconverger.org/

I don't understand how to make the chart full screen and also address new lines without filling in 0 (instead of say null) in the data table.

Any other feedback would be great. Many thanks,

asgallant

unread,
Jan 4, 2012, 9:07:11 AM1/4/12
to google-visua...@googlegroups.com
To make the chart full screen, you'd have to detect the window size, then use those dimensions to set the width and height of the chart before drawing it.  Here's an example using your code (with a little extra help from jQuery; AJAX removed):  http://jsfiddle.net/jjNWr/

You can add new data to a DataTable object at any time; if you enter a value of null, then that data point will be omitted from the chart.

Kai Hendry

unread,
Jan 4, 2012, 9:26:37 PM1/4/12
to google-visua...@googlegroups.com
Thanks for your help, I went for window.innerWidthwindow.innerHeight since I resent bringing in Jquery for such simple values. :)

Reply all
Reply to author
Forward
0 new messages