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

First point in series has marker animation that can't be disabled #7293

Closed
goodforenergy opened this issue Oct 19, 2017 · 2 comments
Closed
Labels
Status: Stale This issue hasn't had any activity for a while, and will be auto-closed if no further updates occur. Type: Bug

Comments

@goodforenergy
Copy link

Hey guys, another little issue I found moving between 4.x and 6.x.

Expected behaviour

Disabling marker animation should disable all animation related to markers.

Actual behaviour

Animation is still visible on marker halo on the first point in the series.

Live demo with steps to reproduce

Demo: https://jsfiddle.net/goodforenergy/dqohbuo0/8/

Hover your mouse over the first point, and off to the left. If you resize the window, the issue goes away. Setting chart.animation to false doesn't help.

I made a screencast so it's clear about what I'm talking about.

It's not an issue in 4.x. Didn't try 5.x.

Affected browser(s)

Chrome (only tested).

@pawelfus
Copy link
Contributor

Hi @goodforenergy

Thank you for reporting and all the details, we really appreciate this :) Hover animations were introduced in v5.0.8, so v4.x was fine.

Workaround:

  chart: {
    events: {
      load: function() {
        this.renderer.globalAnimation = false;
      }
    }
  },

https://jsfiddle.net/dqohbuo0/10/

Internal note:
It looks like globalAnimation is undefined when initializing chart, but after resize, it's set to false (see workaround).

@stale
Copy link

stale bot commented Apr 16, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

@stale stale bot added the Status: Stale This issue hasn't had any activity for a while, and will be auto-closed if no further updates occur. label Apr 16, 2020
@highsoft-bot highsoft-bot added this to To do in Development-Flow via automation Apr 16, 2020
@stale stale bot closed this as completed Apr 24, 2020
Development-Flow automation moved this from To do to Done Apr 24, 2020
@Izothep Izothep removed this from Done in Development-Flow Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale This issue hasn't had any activity for a while, and will be auto-closed if no further updates occur. Type: Bug
Projects
None yet
Development

No branches or pull requests

3 participants