Try this:
#myTable table.google-visualization-table-table,
#myTable .google-visualization-table-tr-head,
#myTable .google-visualization-table-tr-over,
#myTable .google-visualization-table-tr,
#myTable .google-visualization-table-tr-head td,
#myTable .google-visualization-table-tr-over td,
#myTable .google-visualization-table-tr td {
background-color: transparent;
}
where "myTable" is the id of the table div.
On Monday, July 2, 2012 3:19:49 PM UTC-4, Bernardo Martínez wrote:
>
> Ok, i did two tests:
> 1. Changing the respective *tr-head, tr, tr-even and tr-odd classes,* in
> the cssClassNames to transparent background, but since also the *table*has by
> default a white background, it still doesnt work.
> 2. In my css y add the class google-visualization-table-table , and set
> it to* background:transparent*, but the javascript loaded from google
> changes it to the default white.
> Hope I explian myself right, since i dont speak english
> Thanks for your support asgallant
>
> On Monday, July 2, 2012 12:26:37 PM UTC-5, asgallant wrote:
>>
>> There are three style classes you have to change to make the background
>> color change:
>>
>> google-visualization-table-table
>> google-visualization-table-tr-head
>> google-visualization-table-tr
>>
>> and if using alternating rows:
>>
>> google-visualization-table-tr-even
>> google-visualization-table-tr-odd
>>
>> and maybe these too, but I'm not sure:
>>
>> google-visualization-table-th
>> google-visualization-table-td
>>
>> You can also set the cssClassNames option to change the class names
>> applied for most of these so the default styles won't be applied.
>>
>> Set "background-color: transparent;" for each of these classes and it
>> should work.
>>
>> On Monday, July 2, 2012 11:42:13 AM UTC-4, Bernardo Martínez wrote:
>>>
>>> Have anyone figured this out? cause its been 2 years now and i cant find
>>> clear information on how to get transparent background on a table chart.
>>> Thanks for any reply
>>>
>>> On Sunday, August 15, 2010 7:35:19 AM UTC-5, h wrote:
>>>>
>>>> The corechart package currently does not support the extended color
>>>> objects {stroke:,fill: strokeSize:}.
>>>> If this is a necessary feature for you please revert to the old version
>>>> of the charts -
>>>> http://code.google.com/apis/visualization/documentation/gallery/linechart_old.html#backgroundColor
>>>>
>>>>
>>>> <http://code.google.com/apis/visualization/documentation/gallery/linechart_old.html#backgroundColor>
>>>> ChartMan
>>>>
>>>> On Thu, Aug 12, 2010 at 10:11 PM, Jré Sarenac <[email protected]>wrote:
>>>>
>>>>> A correction to my previous post:
>>>>> This method still doesn't work for Internet Explorer. It works in
>>>>> Firefox, Safari and Chrome.
>>>>>
>>>>> Cheers,
>>>>> Jré
>>>>>
>>>>>
>>>>> On Thu, Aug 12, 2010 at 10:59 AM, Jré Sarenac <[email protected]>wrote:
>>>>>
>>>>>> I got it to work by using: backgroundColor: {stroke:null, fill:null,
>>>>>> strokeSize: 0}
>>>>>> Although this was only possible thanks to an example I saw as I did
>>>>>> not know I could edit specifics of the backgroundColor.
>>>>>> Where can I find detailed information on the properties of vis
>>>>>> charts? I.e where can I find out that the backgroundColor has
>>>>>> additional
>>>>>> properties of: stroke, fill, strokeSize?
>>>>>>
>>>>>> Thanks!
>>>>>> Jré
>>>>>>
>>>>>>
>>>>>> On Thu, Aug 12, 2010 at 4:24 AM, ChartMan <[email protected]>wrote:
>>>>>>
>>>>>>> I will record this bug.
>>>>>>>
>>>>>>> Thanks
>>>>>>> ChartMan
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Aug 12, 2010 at 1:53 AM, Jré <[email protected]> wrote:
>>>>>>>
>>>>>>>> Setting backgroundColor: 'transparent' worked for me but only in
>>>>>>>> Firefox.
>>>>>>>> It shows as a black background in all other browsers :(
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Jré
>>>>>>>>
>>>>>>>> On Aug 2, 12:11 am, rein <[email protected]> wrote:
>>>>>>>> > Dear Google Charts users,
>>>>>>>> >
>>>>>>>> > I trying to get atransparentbackground on my Google pie chart.
>>>>>>>> > Someone posted a solution for the image charts:
>>>>>>>> http://alblue.bandlem.com/2007/12/use-transparent-backgrounds-in-goog..
>>>>>>>> .,
>>>>>>>> > but i can't find a solution for the Interactive Charts (using
>>>>>>>> > javascript).
>>>>>>>> >
>>>>>>>> > Anyone knows what is have to define at backgroundColor? I tried
>>>>>>>> > backgroundColor:'transparent' and backgroundColor:'none' but that
>>>>>>>> does
>>>>>>>> > not work..
>>>>>>>> >
>>>>>>>> > Thanks for your time!
>>>>>>>> >
>>>>>>>> > Regards,
>>>>>>>> > Rein
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "Google Visualization API" group.
>>>>>>>> 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.
>>>>>>>>
>>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Google Visualization API" group.
>>>>>>> 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.
>>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Google Visualization API" group.
>>>>> 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.
>>>>>
>>>>
>>>>
--
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/-/tUGJQq0JF8AJ.
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.