Re: To many data on my horizontal axis

276 views
Skip to first unread message

asgallant

unread,
Aug 9, 2012, 11:26:55 AM8/9/12
to google-visua...@googlegroups.com
The way to handle this depends on what kind of axis you are using.  If you have a discrete axis (ie, the axis column in the data table is type "string"), set the hAxis.showTextEvery option to something other than 1 (setting it to 2 would show every other label, 3 would show every third label, etc).  If you have a continuous axis (ie, axis column is type "number", "date", or "datetime"), it is a bit more complicated: you will have to play with the hAxis.maxAlternation, hAxis.maxTextLines, and hAxis.minTextSpacing to find some combination that works for you.

On Thursday, August 9, 2012 6:36:54 AM UTC-4, m_anina wrote:
Hi,

I have an areaChart with the number of things bought in a day by people, classified by hours.
i have my data hours in the horizontal axis but it is too much, it's not nice.

How can i delete some data from the legend under my chart ?

I'm not sure i'm correctly explaining myself but i found nothing on the subject.

Thanks for your help.

m_anina

unread,
Aug 10, 2012, 10:17:23 AM8/10/12
to google-visua...@googlegroups.com
Great, i use the hAxis.maxAlternation and it's a good solution.
Thank you !
Reply all
Reply to author
Forward
0 new messages