Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide column label on google chart

Tags:

css

charts

I want to hide all column labels on google chart same as the image bellow. enter image description here

Can anyone help me ?

Thank in advance.

like image 715
Võ Quang Hòa Avatar asked Dec 20 '22 08:12

Võ Quang Hòa


1 Answers

Its Already Explained in this URL :: https://stackoverflow.com/a/14751106/4119740

Please Go Through it .

If You Want to hide then you can using options from :: https://developers.google.com/chart/interactive/docs/gallery/barchart#Configuration_Options

Example

var options = {
          hAxis: { textPosition: 'none' }
        };
var chart = new google.visualization.LineChart(document.getElementById('yourID'));
chart.draw(data, options);

Hope it helps

like image 146
Farveen Hassan Avatar answered Dec 27 '22 04:12

Farveen Hassan