3
votes

How can I show all the years in a straight line instead of the way they are now. First image is what I want, second image is what I have.

This is what I want

This is what I want

var options = {
    'width': '100%',
    'height': 500,
    "hAxis":{showTextEvery:1},
    'legend': { position: 'top' },

};
1
Can you post code snippet of your code? it would be faster to debug - Vikasdeep Singh

1 Answers

2
votes
var options = {
    'width': '100%',
    'height': 500,
    "hAxis":{showTextEvery:1, maxAlternation:1, minTextSpacing:1},
    'legend': { position: 'top'},

};

I have figured it out.