Notice that your 'rows' don't define more than 3 columns for each row. For all the other columns, the data is all nulls.
On Mon, Jul 6, 2015 at 10:36 AM, Robert Ramzi Khayat < [email protected]> wrote: > +Daniel, thank you for the reply. > > This is the object in question. > > var myObj = { > "cols": [ > {"id":"","label":"Date","type":"string"}, > {"id":"","label":"a","type":"number"}, > {"id":"","label":"b","type":"number"}, > {"id":"","label":"c","type":"number"}, > {"id":"","label":"d","type":"number"}, > {"id":"","label":"e","type":"number"}, > {"id":"","label":"f","type":"number"}, > {"id":"","label":"g","type":"number"} > ], > "rows": [ > {"c":[{"v":"day1"},{"v":300},{"v":-500}]}, > {"c":[{"v":"day2"},{"v":23},{"v":120}]}, > {"c":[{"v":"day3"},{"v":457},{"v":43}]}, > {"c":[{"v":"day4"},{"v":134},{"v":342}]}, > {"c":[{"v":"day5"},{"v":63},{"v":565}]}, > {"c":[{"v":"day6"},{"v":234},{"v":10}]}, > {"c":[{"v":"day7"},{"v":13},{"v":47}]}, > ] > } > > There are 7 rows and columns, am I mistaken? > > On Monday, July 6, 2015 at 10:23:13 AM UTC-4, Daniel LaLiberte wrote: >> >> Yes, it is certainly possible. But your data, from myObj, only has 3 >> columns in your 'rows', although you defined more than 3 columns in your >> 'cols'. >> >> On Mon, Jul 6, 2015 at 9:21 AM, Robert Ramzi Khayat <[email protected]> >> wrote: >> >>> Hello, >>> >>> Is it possible to have more than two lines in a line chart? >>> >>> See example <http://codepen.io/dnwebdev/pen/mJxReY> >>> >>> 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.
