Excellent, this works:
 <style>
  text{
    font-style:normal
  }
</style>


On Sunday, January 13, 2013 8:09:51 PM UTC+2, asgallant wrote:
>
> Font-style is an attribute of the SVG text elements, it's not a style. 
>  You can try to override with styles, it may work.
>
> On Sunday, January 13, 2013 12:49:52 PM UTC-5, Amir Miller wrote:
>>
>> is there any css option I can use or is this text part of the SVG?
>>
>> On Sunday, January 13, 2013 7:48:07 PM UTC+2, asgallant wrote:
>>>
>>> Ahh, yes, the axis titles are in italics.  I don't believe there is a 
>>> way to change that in the API.  If you are willing to mess with the SVG/VML 
>>> of the charts, then you can do this.  Here's a script that changes all 
>>> italic text in the chart to non-italics: 
>>> http://jsfiddle.net/asgallant/AcuHp/.  Note that the script uses jQuery 
>>> for browser detection and document manipulation; you can do all of this 
>>> with other libraries or plain js if you don't use jQuery.  Also note that 
>>> since this is messing with the internal code, it could break at any time 
>>> with an update to the API; none of the internal structure of the charts is 
>>> guaranteed to be stable across releases.  That said, you're probably safe 
>>> with this one, as it doesn't muck about with anything critical to the 
>>> charts.
>>>
>>> On Sunday, January 13, 2013 12:04:04 PM UTC-5, Amir Miller wrote:
>>>>
>>>> ColumnChart.
>>>> Even if you look at the playground you will see the text is italic.
>>>>
>>>>
>>>> On Sunday, January 13, 2013 6:29:13 PM UTC+2, asgallant wrote:
>>>>>
>>>>> What chart are you using?  I don't recall any of them using italics.
>>>>>
>>>>> On Sunday, January 13, 2013 6:39:28 AM UTC-5, Amir Miller wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Is there a way I can make the axis label font not italic?
>>>>>> I see how to change the font, it's size and it's color but it always 
>>>>>> stays italic.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Amir
>>>>>>
>>>>>

-- 
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/-/Hb28U8IHl04J.
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.

Reply via email to