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]> 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]. > To unsubscribe from this group, send email to > [email protected]. > 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
