I wish linecharts could support more than 2 y axis. In my example i need several y axis as i have hardware sensors reporting different min max values.
For example, temperature, pressure, and weight. I need all 3 series on the same chart. Hopefully this gets added in the future. For now need to use a different charting component to accomplish this. On Monday, December 17, 2012 2:10:24 PM UTC-7, Sergey wrote: > > Hi, unfortunately while we technically support an arbitrary amount of > axes, there's nothing that will make them look very pretty or not overlap. > I'm afraid that the best advice I can give you is to make multiple charts. > > - Sergey > > > > On Mon, Dec 17, 2012 at 1:00 PM, Fernando Henrique Martins < > [email protected] <javascript:>> wrote: > >> Sorry, my English is bad. >> >> What I need to do so that the names do not overlap on the right? >> >> <html> >> <head> >> <script type="text/javascript" src="https://www.google.com/jsapi >> "></script> >> <script type="text/javascript"> >> google.load("visualization", "1", {packages:["corechart"]}); >> google.setOnLoadCallback(drawChart); >> function drawChart() { >> var data = google.visualization.arrayToDataTable([ >> ['Dia', 'Fl', 'Fat', 'TC', 'TIC', 'TC%'], >> ['01/12/2010 (Quarta)', 1449, 10213, 583, 683, 40.23], >> ['02/12/2010 (Quinta)', 1298, 7477, 414, 514, 31.90], >> ['03/12/2010 (Sexta)', 1311, 6894, 401, 501, 30.59], >> ['04/12/2010 (Sábado)', 1324, 8652, 425, 525, 32.10], >> ['05/12/2010 (Domingo)', 478, 2228, 135, 235, 28.24], >> ['06/12/2010 (Segunda)', 1570, 6139, 391, 491, 24.90] >> ]); >> var options = { >> >> title: 'Performance', >> >> vAxes:{ >> 0:{title:'Fl'}, >> 1:{title:'Fat'}, >> 2:{title:'TC'}, >> 3:{title:'TIC'}, >> 4:{title:'TC%'}}, >> series:{ >> 1:{targetAxisIndex:1}, >> 2:{targetAxisIndex:2}, >> 3:{targetAxisIndex:3}, >> 4:{targetAxisIndex:4}, >> 5:{targetAxisIndex:5}} >> }; >> >> var chart = new >> google.visualization.LineChart(document.getElementById('chart_div')); >> chart.draw(data, options); >> } >> </script> >> </head> >> <body> >> <div id="chart_div" style="width: 900px; height: 500px;"></div> >> </body> >> </html> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Visualization API" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/google-visualization-api/-/YYCftoD6bHsJ. >> To post to this group, send email to >> [email protected]<javascript:> >> . >> To unsubscribe from this group, send email to >> [email protected] <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/google-visualization-api?hl=en. >> > > -- 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/groups/opt_out.
