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));
interpolateNulls: true
--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.
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. <erez...@gmail.com> 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 messHere is a print screen:
I read that I have to addinterpolateNulls: trueI 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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.
--dlali...@Google.com Cambridge MA