Why not merge your two domains, the date columns, into one?    Sort by the
dates, and use null values in the series if you don't have values for all
dates.  And use interpolateNulls to connect lines across nulls.

By the way, you can also get the mix of different types of plots, the lines
and scatter points, in one chart using the ComboChart documented here:
https://developers.google.com/chart/interactive/docs/gallery/combochart
 For scatter, use the series option to specify type: 'scatter'.   Intervals
are also possible.  See:
https://developers.google.com/chart/interactive/docs/gallery/intervals

On Tue, Nov 24, 2015 at 6:35 AM, dude <[email protected]> wrote:

> seems like I managed to progress a bit using CoreChart:
>
>  google.load('visualization', '1', {'packages':['corechart']});
>
> and LIneChart Class:
>
>  var chart = new google.visualization.LineChart(document.getElementById(
> 'chart_div'));
>
> Following your advise, I displayed the data in a table:
>
>
> NOTE: the two domains and data sets have different number of rows!
>
>
> the resulting plot using the LIneChart object is:
>
>
> While the values are displayed correctly when we hover the mouse (see the
> chart), they are plotted using the first domain. *How can we tell
> LIneChart to plot the data points according to their domain*?
>
>
> The results I am trying to achieve is this:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> 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
> http://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/30fb661f-3727-455b-aa0c-a2939aa292f5%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/30fb661f-3727-455b-aa0c-a2939aa292f5%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>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton 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 http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJPR1Qc3%2B4rOB4K17BXbW%2BZ8T%2B6kJ5Db%2B3V0b0amNSXVXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to