You will still need to create a DataTable, since the charts require
DataTables (or DataViews) as input, so see
https://developers.google.com/chart/interactive/docs/datatables_dataviews
for various ways to do that.

If you want to make a separate datatable out of each object first, then you
can join them into one table using the join operation:
https://developers.google.com/chart/interactive/docs/reference#google_visualization_data_join

Then, with one datatable that combines both objects, you can give it to the
LineChart, for example, and specify options that draw 10 of the series
using the left side axis and other series on the right.    See
https://developers.google.com/chart/interactive/docs/gallery/linechart#Dual-Y
for how to do that.


On Thu, Feb 26, 2015 at 10:00 AM, Schabagh <[email protected]> wrote:

> Hello Daniel,
>
> thanks for your reply.
> No two (List of) objects could have different length. I have two Lists of
> objects like this:
>
> List1 = {
>   new object(timestamp, val1, val2, val3, ..., val10);
>   new object(timestamp, val1, val2, val3, ..., val10);
>   new object(timestamp, val1, val2, val3, ..., val10);
>   new object(timestamp, val1, val2, val3, ..., val10);
>   ...
> }
>
> So can I show 10 curves for the List1.
>
> List2 = {
>   new object(timestamp, val1, val2);
>   new object(timestamp, val1, val2);
>   ...
> }
>
> The timestamps are the same.
>
> Thanks
>
>
>
>> Hello Forum,
>>>
>>> I have two different data Objects as following:
>>>
>>> object 1: It has several fields like this: value1a, valu2a, value3a,
>>> ..., value10a (also 10 curves)
>>> object 2: It has only one field: value1b (1 curve)
>>>
>>> I have now to show the first object values on the left Y-Achses and the
>>> second object values on the right Y-Achses. How can I do that? Is that
>>> possible?
>>>
>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/
>>> group/google-visualization-api.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>>  - 978-394-1058
>> [email protected]   5CC, Cambridge MA
>> [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.
> 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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to