Comments (4)
Thank you for create an issue for your problem, this helps a lot.
I was not able to reproduce your problem, can you please adopt this plnkr to show me when it fails.
https://plnkr.co/edit/BT1CFkMAXFTjo5Jzh1LK?p=preview
from angular-chart.
@maxklenk I managed to reproduce it but including one more dependency - ui-router
. This is actually my real use case, but I never thought this could break the charts...
Please see my plunk here: https://plnkr.co/KOMKGekcJNkQVOIblFum
It's forked from yours. Switch quickly between the two states(to reproduce it easier) with the buttons on each state until you see the this.config is null
message in the developer console and the chart will not appear until app is reloaded.
from angular-chart.
puh, I see. Interesting bug, we should check if destruction of the chart is not finished and is responsible for this strange behavior. If you find a solution please tell me.
from angular-chart.
Like I told you I traced it to the applyZoom
in the ChartService.prototype.stateCallback
function. And when I don't call it it does not happen which is strange to me too.
My "solution"(and I am not proud of it, but I need the charts to always appear) is a monkey-patched chartService
that uses the code of applyZoom before you removed the check.
Maybe this stateCallback
needs to me smarter?
from angular-chart.
Related Issues (20)
- charts don't render HOT 1
- some options don't work HOT 2
- Custom Legend Support? HOT 3
- Injecting chart containers HOT 3
- dimensions with predicate?
- Get data on click HOT 2
- Y axis goes below 0 when min is set to 0 and dataset starts at 1 HOT 1
- Is C3s data.xs supported? HOT 2
- request: function for line chart marker color in dimension configuration HOT 2
- Failed to parse x '2016-06-29 04:10:01' to Date object
- How to capture the x axis tick label HOT 1
- chart is not displaying in Chrome browser.
- How to implement on click event on piechart/bar chart using this directive HOT 2
- accesing $scope inside chart.data.onclick event of pie chart HOT 1
- show pie chart on click of bar chart(chart drilldown)
- Chart is generated with black color fill. HOT 2
- scatterplot implementation HOT 2
- Move to billboard.js? HOT 1
- npm audit vulnerabilities found in v0.5.0
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-chart.