There is an undocumented "range" option for the AnnotationChart which you
can use to control the range selector options. For example, the following
will move the tick labels to the outside position:
{ "range":
{ "ui": { "chartOptions": {
"height": 80,
"chartArea": { "height":60 },
"hAxis": { "textPosition": "out"}
} } }
For the "in" textPosition, there is another option that controls whether
the label is to the left or right of the gridline:
"inTextPosition": "low" // "high" is to the right
On Wed, Aug 20, 2014 at 10:46 AM, Shivani Kanakhara <
[email protected]> wrote:
> In case of Annotation Charts the labels on hAxis of range selector are on
> the left of the vertical gridlines.That seems a bit confusing. It is proper
> in case of Annotated Timeline-there the labels are to the right.
>
> Do we have any option in Annotation Charts to position the labels?
>
> Attached snaps showing the difference.
>
> On Wednesday, August 20, 2014 5:46:33 PM UTC+5:30, Daniel LaLiberte wrote:
>
>> I set the control's ui.chartOptions.chartArea.height and increased the
>> height, and it seems to work fine: http://jsfiddle.net/
>> dlaliberte/0wb2zvye/
>>
>>
>> On Wed, Aug 20, 2014 at 2:17 AM, Shivani Kanakhara <[email protected]>
>> wrote:
>>
>>> Hello, i tried changing the chartArea options (height,top,bottom)..still
>>> cannot get to display the label outside the range filter.
>>> Check this- http://jsfiddle.net/shivani_1001/8yygoyak/
>>>
>>>
>>>
>>> On Tuesday, August 19, 2014 6:43:49 PM UTC+5:30, Shivani Kanakhara wrote:
>>>>
>>>> Cannot position the labels on hAxis of Chart Range Filter control. The
>>>> current position of labels seems a bit confusing on the first sight . E.g.
>>>> the section for the date label is on its right side. Can't we position the
>>>> labels outside the hAxis of the filter control as it is in the chart? There
>>>> is a property 'textPosition' with values 'in','out','none'. But setting
>>>> textPosition:out does not work. Is there any other way to position the
>>>> labels outside the chart range filter?
>>>>
>>>> I have attached a snap showing current label positions.
>>>>
>>> --
>>> 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.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>> - 978-394-1058
>> [email protected] 5CC, Cambridge MA
>> [email protected] 9 Juniper Ridge Road, Acton MA
>>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>
--
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> -
978-394-1058
[email protected] <[email protected]> 5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA
--
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.
For more options, visit https://groups.google.com/d/optout.