[Line Chart] How to break the line when data is missed
25 views
Skip to first unread message
Williamyk
unread,
Dec 22, 2011, 4:15:07 AM12/22/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Visualization API
Hi, rather than linking the line by jumping over the gap of the missed
data, how can I break the line in the chart? Thanks.
William
asgallant
unread,
Dec 22, 2011, 12:14:07 PM12/22/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-visua...@googlegroups.com
The "interpolateNulls" option in LineCharts determines whether the API attempts to fill in the missing data or not. By default, the option is set to false, so you should see a gap in your line wherever you have a null data point unless you explicitly set the option to true. See:
http://jsfiddle.net/UMRhP/