Hi,

Is it possible to hide axis? I can't get rid of the big black line
acting as the hAxis. I don't have vAxis nor grid lines though.

Here's my code:

google.load("visualization", "1", { packages: ["corechart"] });
        google.setOnLoadCallback(drawChart);
        function drawChart() {
            var data = new google.visualization.DataTable();
            data.addColumn('string', 'Month');
            data.addColumn('number', 'Sales');

            data.addRows(24);
            for (i = 0; i < 24; i++) {
                data.setValue(i, 0, i.toString());
                data.setValue(i, 1, Math.floor(Math.random() * 101));
            }

            var chart = new
google.visualization.LineChart(document.getElementById('chart_div1'));
            chart.draw(data, { chartArea: { left: 0, top: 0, width:
400, height: 60 }, legend: 'none', gridlineColor: '#fff', height: 80,
axisTitlesPosition: 'none' });
        }

Thanks for any idea,

Stephane

-- 
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.

Reply via email to