this options/configuration object is supposed to be *a tree* of properties,
rather then kind-of hash-map
so, instead of:
ar options = { 'vAxis.gridlines.color': 'red');
try something like:
vAxis: {gridlines: {color: '#CCC'}};
On Wednesday, February 15, 2012 2:18:30 PM UTC+1, Nicholas Newlands wrote:
>
> Hey, im really, really having trouble with this...any property with a dot
> '.' in it does not seem to work ie:
>
> var options = { 'width': 410,
> 'height': 260, 'areaOpacity': 1,
> 'backgroundColor': '#4d4d4f',
> 'hAxis.baselineColor': 'red',
> 'series': [{color: '#000', visibleInLegend: false}],
> 'vAxis.gridlines.color': 'red',
> 'vAxis.gridlines.color': 'red' };
>
> Where 'vAxis.gridlines.color': 'red', dosent work, ive tried with and
> without quotes. I am also looking for the rule to change the color of text
> on the x/y axis and the background color of the actual chart area, not the
> entire graph itself. If anyone can help me that would be great, if the API
> is broken can you recommend another? im looking rather incompetent to my
> boss right now at the mercy of this API.....
>
On Wednesday, February 15, 2012 2:18:30 PM UTC+1, Nicholas Newlands wrote:
>
> Hey, im really, really having trouble with this...any property with a dot
> '.' in it does not seem to work ie:
>
> var options = { 'width': 410,
> 'height': 260, 'areaOpacity': 1,
> 'backgroundColor': '#4d4d4f',
> 'hAxis.baselineColor': 'red',
> 'series': [{color: '#000', visibleInLegend: false}],
> 'vAxis.gridlines.color': 'red',
> 'vAxis.gridlines.color': 'red' };
>
> Where 'vAxis.gridlines.color': 'red', dosent work, ive tried with and
> without quotes. I am also looking for the rule to change the color of text
> on the x/y axis and the background color of the actual chart area, not the
> entire graph itself. If anyone can help me that would be great, if the API
> is broken can you recommend another? im looking rather incompetent to my
> boss right now at the mercy of this API.....
>
On Wednesday, February 15, 2012 2:18:30 PM UTC+1, Nicholas Newlands wrote:
>
> Hey, im really, really having trouble with this...any property with a dot
> '.' in it does not seem to work ie:
>
> var options = { 'width': 410,
> 'height': 260, 'areaOpacity': 1,
> 'backgroundColor': '#4d4d4f',
> 'hAxis.baselineColor': 'red',
> 'series': [{color: '#000', visibleInLegend: false}],
> 'vAxis.gridlines.color': 'red',
> 'vAxis.gridlines.color': 'red' };
>
> Where 'vAxis.gridlines.color': 'red', dosent work, ive tried with and
> without quotes. I am also looking for the rule to change the color of text
> on the x/y axis and the background color of the actual chart area, not the
> entire graph itself. If anyone can help me that would be great, if the API
> is broken can you recommend another? im looking rather incompetent to my
> boss right now at the mercy of this API.....
>
On Wednesday, February 15, 2012 2:18:30 PM UTC+1, Nicholas Newlands wrote:
>
> Hey, im really, really having trouble with this...any property with a dot
> '.' in it does not seem to work ie:
>
> var options = { 'width': 410,
> 'height': 260, 'areaOpacity': 1,
> 'backgroundColor': '#4d4d4f',
> 'hAxis.baselineColor': 'red',
> 'series': [{color: '#000', visibleInLegend: false}],
> 'vAxis.gridlines.color': 'red',
> 'vAxis.gridlines.color': 'red' };
>
> Where 'vAxis.gridlines.color': 'red', dosent work, ive tried with and
> without quotes. I am also looking for the rule to change the color of text
> on the x/y axis and the background color of the actual chart area, not the
> entire graph itself. If anyone can help me that would be great, if the API
> is broken can you recommend another? im looking rather incompetent to my
> boss right now at the mercy of this API.....
>
On Wednesday, February 15, 2012 2:18:30 PM UTC+1, Nicholas Newlands wrote:
>
> Hey, im really, really having trouble with this...any property with a dot
> '.' in it does not seem to work ie:
>
> var options = { 'width': 410,
> 'height': 260, 'areaOpacity': 1,
> 'backgroundColor': '#4d4d4f',
> 'hAxis.baselineColor': 'red',
> 'series': [{color: '#000', visibleInLegend: false}],
> 'vAxis.gridlines.color': 'red',
> 'vAxis.gridlines.color': 'red' };
>
> Where 'vAxis.gridlines.color': 'red', dosent work, ive tried with and
> without quotes. I am also looking for the rule to change the color of text
> on the x/y axis and the background color of the actual chart area, not the
> entire graph itself. If anyone can help me that would be great, if the API
> is broken can you recommend another? im looking rather incompetent to my
> boss right now at the mercy of this API.....
>
--
You received this message because you are subscribed to the Google Groups
"Google Chart API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-chart-api/-/ikunVUatirwJ.
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-chart-api?hl=en.