This library might help you. 
 https://github.com/angular-google-chart/angular-google-chart

-Seth


On Friday, August 21, 2015 at 9:27:40 AM UTC-7, Raj wrote:
>
> Hi
>
>
> http://angular-google-chart.github.io/angular-google-chart/#/fat
>
> I am trying to use charts in Angular framework.
>
> I want to add different listeners to chart. How can i add it.
>
>
> 1)I do not know when is the appropriate time in angular to add the 
> listener.
>
> 2)
> <div google-chart chart="chart" style="{{chart.cssStyle}}" 
> id="gchart"></div>
>
> When i try to access the element like [angular.element(gchart)]..i get 
> error gchart is not defined
>
>
> 3) I tried
>
> $scope.$watch(function(scope) { return scope.chart },
>               function(newValue, oldValue) {
>                     console.log("this should work");
>               }
>              );
>
> but i do not know how to type cast newValue?
>
>
> Any sample having angular and Google Visualization API code will be 
> helpful.
>
>
> Regards
> Raj
>
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/369e7168-6aaa-4d82-a195-7fe749e01076%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to