First, when working with ChartWrappers, you have to structure the event
listeners a bit differently. Here's what they would look like using your
casesDetailed table as an example:
google.visualization.events.addListener(casesDetailed, 'ready', function ()
{
google.visualization.events.addListener(casesDetailed.getChart(),
'sort', setWidth);
setWidth();
});
Place the code after creating the casesDetailed table, but before the
Dashboard's draw call.
On Thursday, March 6, 2014 2:08:03 PM UTC-5, Christina Sanabria wrote:
>
> Hi,
>
> I am trying to use this technique to set the width on a column in my
> casesDetailed table. It is a table using ChartWrapper and using remote
> data.
>
> I checked out the fiddle and basically understand how it works, but I'm
> not sure where to put the snippet into my code.
>
> Here's my code.
>
> http://jsfiddle.net/christina_sanabria/L7q2X/3/
>
> Thanks in advance for your help!
>
>
>
--
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/groups/opt_out.