Hmm...try setting hAxis.slantedTextAngle to 90. It could be that the API just isn't going to draw every label for you no matter what.
On Tuesday, August 7, 2012 12:10:04 PM UTC-4, Vadym Gyrkalo wrote: > > Thanks for your answer! > I tried maxTextLines: 2 and minTextSpacing: 1, but this does not work. > If you reduce the period to August 18, I see 50% of labels. > http://screencast.com/t/6xO1FZdnjq > > вторник, 7 августа 2012 г., 17:19:08 UTC+3 пользователь asgallant написал: >> >> The axes are very fickle, and the API will override your set options if >> it thinks there will be a problem implementing them. Try playing around >> with the hAxis.minTextSpacing option to see if setting that to lower values >> adds your labels back in (default = font point size). >> >> On Tuesday, August 7, 2012 9:16:28 AM UTC-4, Vadym Gyrkalo wrote: >>> >>> I have 2 charts (weekly and monthly stat) >>> http://screencast.com/t/sdBjfil0 >>> http://screencast.com/t/jfvgOgcFmsg0 >>> Parameters the same for both charts, exclude viewWindow.min >>> and viewWindow.max. >>> In first case these parameters are: 2012-08-06 and 2012-08-12 (1 week) >>> In second case: 2012-08-01 and 2012-08-31 (1 month) >>> My options for date axis: >>> hAxis: {title: monthName.toUpperCase(), >>> titleTextStyle: {color: '#000000'}, >>> baselineColor:'#ffffff', >>> allowContainerBoundaryTextCufoff:true, >>> viewWindow:{min:MIN,max:MAX}, >>> format:'dd', >>> gridlines:{color: '#ffffff'}, >>> //logScale:true, >>> textPosition:'out', >>> showTextEvery:1, >>> strictFirstColumnType: false >>> } >>> Why on second chart, I can not see all the dates on the axis X? >>> >>> Thanks, Vadym >>> >> -- 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/-/ob-_zQyP_hwJ. 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.
