Re: Remove the Axis labels and line along with grid lines as-well

49 views
Skip to first unread message

asgallant

unread,
Jan 1, 2013, 9:01:56 PM1/1/13
to google-visua...@googlegroups.com
To remove the x-axis labels, set hAxis.textPosition to "none"; to remove the axis line, set vAxis.baselineColor to "transparent".  Removing the y-axis labels and line works the same, but with the opposite option sets (vAxis.textPosition and hAxis.baselineColor).

On Tuesday, January 1, 2013 7:53:39 AM UTC-5, attiqe rehman wrote:
Hi All,

I want to remove all the axis labels and also grid line as-well I just want to show the curve line. 

var linechart = new google.visualization.LineChart(document.getElementById('orgchart'));
linechart .draw(data, { is3D: true, legend: 'none', hAxis: { showTextEvery: null } });

How can I do that?

Thanks,
Attiqe
Reply all
Reply to author
Forward
0 new messages