There is not, currently, a way to provide the labels used with the axes.
 Currently, the charts must compute the values of each tick, and at best,
you specify a format string, but can't perform a calculation such as divide
the number of days by 7 to get a week number.

A soon to-be-released feature will let you specify explicit tick values,
but again, the formatting of these values is limited to the format string.
 We are contemplating a couple different options to allow you to specify
the format of tick values more generally.  One simple way is that, combined
with the explicit tick values, you could provide the formatted version of
those same values, just as you can do in data tables.  Another very general
way would let you provide a function to compute the format given a value.

dan


On Mon, Apr 8, 2013 at 11:46 AM, PatW <[email protected]> wrote:

> Is there a way to manually label the h-axis using the f labels from the
> JSON data structure?
>
>
> On Monday, April 8, 2013 11:42:52 AM UTC-4, asgallant wrote:
>>
>> The "week of year" date formatting is not yet supported by the API.  You
>> can manually calculate week-of-year and transform your date axis into a
>> string or number axis, if that would help you.
>>
>> On Monday, April 8, 2013 10:58:51 AM UTC-4, PatW wrote:
>>>
>>> Hi!
>>>
>>> I have a dashboard that contains an area graph and a chart range filter
>>> control. I want the haxis in the chart and control to show week of year
>>> values instead of the default date. For example, I have a date:
>>> Date(2013,02,01), I want to get the week of the year from this date to
>>> appear on the haxis. My data table and the tooltips show these values
>>> correctly by default but I cannot get the haxis on the chart to display
>>> those values. Could anyone help me out with this? I
>>> have attached screenshots of my charts.
>>>
>>  --
> 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.
>
>
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   562D 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to