Comments (2)
I use ng-show for this.
<div google-chart chart="chart" ng-show="chart.data" />
from angular-google-chart.
Thanks, real neat, somehow I overlooked such a simple solution. Though in production it would flash an error message when data comes back.
I was thinking of adding an event listener to 'link' function,like 'clearChartData' right next to 'resizeMsg' listener, and then call the $scope.chartWrapper.clear() inside it. To my surprise it works only after the listener gets this message second time when its being $rootScope.$emit('clearChartData'). Calling $scope.chartWrapper.clear() twice doesn't help. Hope I will have more time to pin that weird thing.
from angular-google-chart.
Related Issues (20)
- How do I set multiple annotations in a column chart? HOT 3
- Calendar chart - legend showing as NaN HOT 4
- trigger draw() manually HOT 3
- Add Last Step to Getting Started
- Creating charts with a ng-repeat HOT 3
- Unknown provider: agcLibraryLoaderProvider HOT 5
- `BoxPlot chart? HOT 3
- Loading error trying to add angular-google-chart to my project. HOT 3
- Issue in TypeScript Angular Google Chart : GeoChart: getSelection() HOT 2
- GMT Date on Explorer HOT 1
- Material BarChart background not working HOT 1
- responsive chart HOT 6
- getChartLayoutInterface not fully implemented? HOT 3
- Chart not loading HOT 5
- Not working with wkhtmltopdf anymore
- Chart not loading HOT 1
- Property 'map' does not exist on type Object
- Gauge charts not working HOT 2
- Chart not displayed, message "No loader available" HOT 8
- window.google is undefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-google-chart.