I made the edits I suggested over on StackOverflow for a similar 
question<http://stackoverflow.com/questions/18766370/corechart-for-graphs-and-columnchart-for-functions-at-the-same-time>
 (which 
I assume you posted), and I don't see any problems:

var zz2013 = [
    ['1', 30],
    ['2', 46],
    ['3', 19],
    ['4', 85],
    ['5', 59],
    ['6', 40],
    ['7', 71],
    ['8', 53]
];

var cmarkersArray = []; //Array to remove markers and poly.

function initialize() {
    var myOptions = {
        center: new google.maps.LatLng(38, -14),
        zoom: 5,
        mapTypeId: google.maps.MapTypeId.ROADMAP
    };
    map = new google.maps.Map(document.getElementById("map"), myOptions);
}

function zz() {
    var zonazz11 = [];
    var zonazz111 = [];            

    var sum = 0;

    for (i = 0; i < zz2013.length; i++) { 
        var mes = zz2013[i][0];
        var nr = zz2013[i][1];

        zonazz11.push(mes);
        zonazz111.push(nr);
        sum += parseInt(zz2013[i][1]);
    }

    var avg = sum/zz2013.length;

    var data = new google.visualization.DataTable();
    data.addColumn('string', 'A');
    data.addColumn('number', 'B');

    for (i = 0; i < zonazz11.length; i++) {
        data.addRow([zonazz11[i], zonazz111[i]]);
    }

    var options = {
width: 320,
height: 200,
        hAxis: {
            title: 'Total: ' + sum + '. Avg.: ' + avg,
            titleTextStyle: {
                color: 'red'
            }
        },
        legend: {
            position: 'none'
        },
        vAxis: {
            minValue: 0,
title: 'Elevation (m)'
        }
    };

    var chartz = new 
google.visualization.ColumnChart(document.getElementById('chartdiv2'));
chartz.draw(data, options);
}
google.load("visualization", "1", {packages: ["corechart"], callback: zz});

On Thursday, September 12, 2013 4:25:58 PM UTC-4, fablept . wrote:
>
> I´ve attached the files.
>
> -Line 15/16 in the HTML, commenting the corechart and uncommeting the 
> columnchart fix the issue.
> -Line 93 *elevation.js* contains the draw chart options.
> -Increasing the width in chart options to 660px will "fix" the issue.
>
> 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/groups/opt_out.

Reply via email to