Good afternoon, I have a chart with double Y and I need to change some of 
the bars for lines, my code is as follows: Could someone guide me if this 
is possible and if it is how to do it?


function drawChartTodo() {
                        var data = 
google.visualization.arrayToDataTable(<%=obtenerDatos()%>);

                        var options = {
                            title: 'COSTO PRODUCCION',
                            series: {
                                0: { axis: 'Aserraderos' },
                                1: { axis: 'Aserraderos' },
                                2: { axis: 'Aserraderos' },
                                3: { axis: 'Producciones' },
                                4: { axis: 'Producciones' },
                                5: { axis: 'Producciones' },
                               
                            },
                            axes: {
                                y: {
                                    Aserraderos: { label: 'Costos' }, 
                                    Producciones: { side: 'right', label: 
'Produccion'} 
                                }
                            }
                        };
                        var chart = new 
google.charts.Bar(document.getElementById('columnchart_materialTodo'));
                        chart.draw(data, 
google.charts.Bar.convertOptions(options));
                    }



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/94915d97-7697-40d7-8d4b-bbe41e43552en%40googlegroups.com.

Reply via email to