There is no method to join 3 datatables, but the result of a join of the first two datatables is a new one, so then join the new one with your third datatable.
On Sun, Mar 10, 2019 at 12:40 PM Erez V. <erez....@gmail.com> wrote: > Hello, > > I have a wirking code for a line graph. > > Now I want to show 3 lines on the same graph. > > I created the data > > Is this the right way for the join of 3 2-dimentional arrays? > > var data_123 = google.visualization.data.join(data1, data2, data3,'full', > [[0,0]], [1], [1]); > > This doesn't work either: > > var data_123 = google.visualization.data.join(data1, data2, data3,'full', > [[0,0]], [1], [1], [1]); > > I looked at the documentation in > https://developers.google.com/chart/interactive/docs/reference#google_visualization_data_join > > I can't understand from this explanation how to join more than 2 arrays. > Can anyone explain it to me please > > > is this the right way for chart draw? > > chart.draw(data_123, google.charts.Line.convertOptions(options), { > interpolateNulls:true}); > > I'm asking because these are [date, value] arrays and I added { > interpolateNulls:true} since the dates are not overlapping (I hope this > is the correct verb) > > Thanks > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to > google-visualization-api@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/f7f2dde4-2778-4d3e-973c-4d3abd5b3aae%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/f7f2dde4-2778-4d3e-973c-4d3abd5b3aae%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> dlalibe...@google.com <dlalibe...@google.com> 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@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/CAOtcSJMdbaspybM3TLJJmc%2B_3HSXF409nL7%3D0%3DQix2s%2B%2BF42nw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.