Comments (7)
@hubertkozik just as an update, I put the workaround in my code now and is working. I don't see any errors now. Thanks
from highcharts.
Hi @cristianiniguez!
Your issues are similar to the one described here: #20572 It is already fixed on the master. You can use the workaround in your project from this comment. Can you check it on your side?
from highcharts.
Hi @hubertkozik
I added the following to the main.tsx file but I'm still getting the error
(function(H) {
H.wrap(H.Point.prototype, 'pos', function (proceed) {
if (!this.destroyed) {
return proceed.apply(this, Array.prototype.slice.call(arguments, 1));
}
});
})(Highcharts);
This is the same workaround mentioned in the other issue's comment.
from highcharts.
@cristianiniguez Can you reproduce the issue in the online editor and send me a link to the demo with a code? I would like to check some things for you :)
from highcharts.
@hubertkozik I couldn't manage to create a demo on jsfiddle. However there is this one in codesandbox. Hope it helps https://codesandbox.io/p/sandbox/react-highcharts-test-9d8kk3
from highcharts.
Thank you for the demo. I've reproduced the issue in vanilla JS: https://jsfiddle.net/BlackLabel/d1s2jvhw/ If you hover over any points, then click on the chart to fire chart.click
event to destroy the chart - the error comes up.
It's a regression, it was working correctly in Highcharts v10.3.3.
I've prepared a workaround for that issue. If you want to use it in your project, simply copy-paste the IIFE function with the plugin from the demo below.
Live demo with a workaround: https://jsfiddle.net/BlackLabel/fb1yqanz/
Internal note:
Bisected to: 6e1d9b9
from highcharts.
This issue has been fixed in c5db31e (#20994) Closing as completed.
from highcharts.
Related Issues (20)
- Alignment of chart's inner plot for rendering n x m charts in a grid HOT 10
- Navigator position is incorrect HOT 4
- Pictorial Chart painting Issue with number of colors set HOT 1
- Typescript defination for tooltip is incorrect in v11.4 HOT 3
- Need guidance for many series in chart (30+ series on chart) HOT 1
- NextJs[^14.2.3] dev/build error: Cannot read properties of undefined (reading 'hasOwnProperty') HOT 3
- Reversed xAxis doesn't work when chart is inverted HOT 2
- DataGrid sync not working in custom layout demo
- How to add some custom buttons and elements above the chart in fullscreen mode? HOT 2
- Gantt does not display all data in limited extremes.
- A shadow appears when hover an inverted bubble HOT 1
- Live data updates prevents panning the chart and affects zoom HOT 5
- Indicator artifacts on live chart HOT 2
- Polar charts not generating on Vue HOT 2
- When panning, the reset zoom button appears HOT 1
- Unable to zoom/pan on mobile when ordinal enabled
- Disabling inactive state is not honored in styled mode HOT 1
- errorbar alignment - regression HOT 1
- Zooming on Axis drag in Stock Chart
- Pie chart overlapping and crossing labels HOT 2
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 highcharts.