Re: [visualization-api] Re: Display total at top of legend in pie chart

2014-08-24 Thread manish philip
Hi Andrew, thanks for the details,i tried to implement the same in js fiddle link below http://jsfiddle.net/manising/Luwodpg9/ code works on commenting the aggregation part. is the initialization incorrect? On Sun, Aug 24, 2014 at 6:43 AM, Andrew Gallant agall...@google.com wrote: The

Re: [visualization-api] Re: Display total at top of legend in pie chart

2014-08-24 Thread Andrew Gallant
You have a syntax error in that code: you are missing the closing }); for the addListener call. Also, since your example uses a plain chart object instead of a ChartWrapper, you cannot use the #getDataTable method - you must reference the base DataTable instead (and actually wouldn't need to

[visualization-api] Re: Garbled Chart Legends When Hiding / Showing Charts in Div

2014-08-24 Thread AM
Thanks Andrew. I followed your direction, removed the code that was hiding the DIVs, and then added an event handler on the toolbar 'ready' event where I hide the divs I don't want to show. Here is the code: var dashboard = new