[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
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
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/
Reply all
Reply to author
Forward
0 new messages