Comments (6)
@jscadden how did you catch this issue?
from ember-highcharts.
Good question. I have an odd case where my application caused a reload of the view before the component had finished rendering (The didInsertElement hadn't ran yet). So it called the willDestroyElement before a chart could be created. This issue may be a sign that something else is a problem with the flow of rendering in my application.
from ember-highcharts.
I have forked the repo and made a couple changes to get around the issue for now. I am also working on upgrading to Ember 1.13. I believe the new component lifecycle hooks will help in my situation as well.
from ember-highcharts.
I'm having the same error. I'm on ember 1.13.3. Seem that destroy was ran before the component finished updating. This solved the issue:
_destroyChart: on("willDestroyElement", function () {
this._super();
if (!!this.get("chart")) {
get(this, "chart").destroy();
}
})
from ember-highcharts.
I have some application using this component on ember 1.13.3 too and its working fine without problems.
If willDestroyElement
was ran before didInsertElement
, then there must be something wrong with your application or ember itself.
from ember-highcharts.
@jscadden I just merged PR #29. Let me know if you had any news on this.
from ember-highcharts.
Related Issues (20)
- Upgrade Hightcharts to get fix for getDistanceBetweenCirclesByOverlap logic HOT 1
- Cannot read property "forExport" of undefined HOT 3
- Build error with highcharts v7.1.2 in styled mode HOT 1
- Upgrade bootstrap to fix cross-site scripting vulnerability
- How to add support to accessibility? HOT 1
- How to pass an object to Highcharts.setOptions HOT 1
- Series with the same name (`series.name`) are "mysteriously" dropped when chart is re-rendered. HOT 1
- Changing Series changes order HOT 1
- ‘Cannot read property "forExport" of undefined’ when transitioning to a new route. HOT 1
- Replacing xAxis, and yAxis HOT 2
- [Octane] Glimmer component refactor HOT 1
- Modifier manager capabilities deprecating warning HOT 8
- I think v3.2.0 should have been a major version HOT 5
- How can one use Annotation module of highchart using ember-highcharts? HOT 1
- Getting https://assets.highcharts.com/errors/16/ error on EmberJS application HOT 1
- Replace `ember-holy-futuristic-template-namespacing-batman` with `ember-template-imports` HOT 2
- Using custom components in a chart
- Question: Can we use highchart version: 8.0.0 with ember-highchart version: 3.1.0 ? HOT 1
- Release v3.2.2 for assign polyfill deprecation HOT 2
- Error: Highcharts error #17: missingModuleFor: funnel HOT 1
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 ember-highcharts.