The interpolateNulls option only works with the classic, non-material charts. You are using the material Line chart, but you should try google.visualization.LineChart instead. If you want the material fonts and colors, you can try the 'theme': 'material' option with the classic charts.
On Tue, Mar 12, 2019 at 6:10 PM Erez V. <[email protected]> wrote: > Here is the code: > > var data12 = google.visualization.data.join(data1,data2,'full', [[0,0]], > [1], [1]); > > > var data123 = google.visualization.data.join(data12,data3,'full', [[0,0 > ]], [1,2], [1]); > > > > > > > var options = { > > title:'<?php echo "Accumulated Profit of currencies traded > against ".$coin; ?>', > subtitle: ' in [USD]', > curveType: 'function', > hAxis: { showTextEvery: 10, minTextSpacing: 30}, > interpolateNulls: true > }; > > > var chart = new google.charts.Line(document.getElementById( > 'chart_div')); > > chart.draw(data123, google.charts.Line.convertOptions(options)); > > Each line separately appears fine, but the 3 lines together gives a mess > > Here is a print screen: > > [image: Screenshot_2.png] > > > http://prntscr.com/mx19bs > > > I read that I have to add > interpolateNulls: true > > I tries every option suggested in various forums. No solution. > > What can I do to solve the display problem ? > > -- > 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 > https://groups.google.com/group/google-visualization-api. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-visualization-api/13005605-c823-4bf0-9b94-c4c2b7ae41c4%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/13005605-c823-4bf0-9b94-c4c2b7ae41c4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> [email protected] <[email protected]> Cambridge MA -- 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 https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJN%2BvAr80nPHQh2b1bs6fuiqwMTV1Rg8hTS8NLW5HWpPkg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
