This may or may not be possible, depending on a number of factors.  First 
of all, are you using strings, numbers, or Date objects for your x-axis 
values?  If you are using strings, then you have to set some combination of 
the hAxis suboptions slantedText, slantedTextAngle, maxAlternation, 
maxTextLines, minTextSpacing, and showTextEvery (documented in the LineChart 
options<https://developers.google.com/chart/interactive/docs/gallery/linechart#Configuration_Options>).
 
 If you are using numbers, then you have to set the hAxis.gridlines.count 
option to the number of days you want to show (as each label corresponds to 
a gridline).  If you are using Date objects, you are out of luck for the 
time being, as the hAxis.gridlines.count option is broken in combination 
with Dates (see bug report 
here<http://code.google.com/p/google-visualization-api-issues/issues/detail?id=908>for
 more info).

In any case, if your chart isn't wide enough to draw the labels for all of 
your days, then you won't get all of them no matter what options you set 
(without changing the width, anyway).

On Thursday, February 7, 2013 1:32:12 PM UTC-5, Asrar Hussain wrote:
>
> Hi All,
>
> I am working with the LineChart api, I can't get the x axis to show all 
> the days in the month.  i.e.1,2,3 etc) I bet the option is staring me in 
> the face on this page but i just cannot find it 
> https://developers.google.com/chart/interactive/docs/gallery/linechart 
>
> Any help greatly appreciated
>
>
> Thanks 
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to