Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in runPointActions method after Series.update() #7127

AlexanderSokolov1 opened this issue Sep 5, 2017 · 2 comments

Exception in runPointActions method after Series.update() #7127

AlexanderSokolov1 opened this issue Sep 5, 2017 · 2 comments


Copy link

@AlexanderSokolov1 AlexanderSokolov1 commented Sep 5, 2017

Expected behaviour

The "update" method finished successful and no errors occurred.

Actual behaviour

Exception: Uncaught TypeError: hoverPoint.firePointEvent is not a function
occurred after calling the "update" method in series event handler.

Affected chart types


Live demo with steps to reproduce

Live demo
I am trying to show data labels on heatmap chart when the user hovers mouse on the chart series. It works fine, but exception occurred after calling the "update" method (only at the "mouseOver" event).

series: [{
    name: '...',
    data: ...,
    events: {
        mouseOver: function() {
            this.update({ dataLabels: { enabled: true }});
        mouseOut: function() {
            this.update({ dataLabels: { enabled: false }});

The exception occurred when the runPointActions method tried to call firePointEvent method of the hoverPoint object:
But all fields and methods of the hoverPoint object are null because the update method destroys all series point objects.

Affected browser(s)


Copy link

@TorsteinHonsi TorsteinHonsi commented Sep 6, 2017

Thanks for reporting!


For your specific use case, I think calling Series.update on mouse over and mouse out is overkill that will affect performance on larger data sets. Instead, I would go for a pure CSS solution of hiding and showing the data labels:

Copy link

@AlexanderSokolov1 AlexanderSokolov1 commented Sep 6, 2017

Thank you for reply. It is helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants