Võ Quang Hòa
Võ Quang Hòa

Reputation: 3024

How to hide column label on google chart

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.

Upvotes: 4

Views: 12793

Answers (2)

Lakmi
Lakmi

Reputation: 1389

This option work for me

hAxis: { textStyle:{color: 'snow'}}

Upvotes: 1

Farveen Hassan
Farveen Hassan

Reputation: 408

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

Upvotes: 10

Related Questions