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. > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/BhW4TxU-GHIJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
