[visualization-api] Google chart with Angular JS help

2014-08-25 Thread Kristofer Johnson
Hello, Im a rookie at google chart and Angular JS. Been working with mostly knockoutjs the last year. Anyways, I found that angularjs combined with google chart might work for some good looking visualization and Ive heard good things about angular. What I dont know is how I should set up the

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

2014-08-25 Thread manish philip
Thanks Andrew, it works as expected, since loading of chart takes time i am displaying a loading image,but as soon as page starts getting reponse loading image vanishes,eventhough chart is not displayed fully. does chart have any loading message display property untill chart is loaded? On Sun,

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

2014-08-25 Thread Andrew Gallant
I looked over the code, but I could not find that event handler - where did you put it? On Sunday, August 24, 2014 6:51:24 PM UTC-4, AM wrote: 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

[visualization-api] Charts drawn to a dynamically created container element (DIV) is unresponsive to events.

2014-08-25 Thread Bhuvana R
My chart container element is a div that's dynamically added to DOM. I am using it to draw chart and realize that the chart drawn is only a snapshot as it is unresponsive to any event. Note my div elements for containing the charts cannot be pre-designed in the HTML. Any help would be greatly

[visualization-api] Re: More than two Y-Axes

2014-08-25 Thread Andrew Gallant
You can get more than 2, but the extras don't work particularly well. The first axis appears on the left, the second and subsequent axes all stack up on the right. From a practical standpoint, you could have 3, with one of the two on the right having the textPosition option set to in and the

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

2014-08-25 Thread Andrew Gallant
The charts do not have a loading message. You could change your loading code to turn off the loading image in the chart's ready event handler instead of turning it off when the data finishes loading. On Monday, August 25, 2014 7:00:11 AM UTC-4, mani wrote: Thanks Andrew, it works as

[visualization-api] Re: Charts drawn to a dynamically created container element (DIV) is unresponsive to events.

2014-08-25 Thread Andrew Gallant
Can you provide an example that demonstrates this effect? I made a basic test case, and it works fine: http://jsfiddle.net/asgallant/va4ehd5f/. On Monday, August 25, 2014 8:42:14 AM UTC-4, Bhuvana R wrote: My chart container element is a div that's dynamically added to DOM. I am using it to

[visualization-api] Re: More than two Y-Axes

2014-08-25 Thread Schabagh
Hi Andrew, thanks a lot. That's good. But how can I now know which value belongs to which axis. Is it possible to style the right axes? Am Montag, 25. August 2014 14:48:01 UTC+2 schrieb Andrew Gallant: You can get more than 2, but the extras don't work particularly well. The first axis

[visualization-api] Re: Timelines in js from a google script?

2014-08-25 Thread Andrew Gallant
Well, something is seriously messed up there. From what I can determine, it looks like the Timeline visualization script is added to the DOM, but the contents are not getting appended to the google.visualization object as they should. Things improve marginally if you use a ChartWrapper (the

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

2014-08-25 Thread Andrew Gallant
First, all ready event handlers should be created before making any related draw calls - otherwise, the chart might draw and throw its ready event before the event handler is created. In your specific case, setting the ready event handler on the Dashboard is insufficient, because you don't