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

Marker Cluster: Point.update error and not able to be used #14017

Closed
codywsears opened this issue Aug 7, 2020 · 5 comments
Closed

Marker Cluster: Point.update error and not able to be used #14017

codywsears opened this issue Aug 7, 2020 · 5 comments
Assignees
Labels
Type: Feature Request Used when a new feature is requested either directly or indirectly

Comments

@codywsears
Copy link

Expected behaviour

Steps:

  1. Hover over a point in a scatter series that is not clustered
  2. The symbol changes when using the Point.update with a symbol change in the marker
  3. The symbol for the marker changes back to the original on mouseOut

Actual behaviour

  1. Hover over a point in a scatter series
  2. The symbol does not change
  3. The console outputs: "Highcharts marker-clusters module: Running Point.update when point belongs to clustered series is not supported."

Live demo with steps to reproduce

https://codepen.io/codywsears/pen/YzqPRaX

Product version

Highcharts v8.1.2

Affected browser(s)

Found in Chrome

@highsoft-bot highsoft-bot added this to To do in Development-Flow Aug 7, 2020
@sebastianbochan
Copy link
Contributor

Hi @codywsears,
Thank you for reporting.

FYI @wchmiel

@sebastianbochan sebastianbochan added Changelog: Bugfix Use on PR to add description as a bugfix in the generated changelog. Type: Bug and removed Changelog: Bugfix Use on PR to add description as a bugfix in the generated changelog. Type: Bug labels Aug 10, 2020
@wchmiel
Copy link
Contributor

wchmiel commented Aug 10, 2020

This issue is not a bug. As you can read in the console the point can not be updated when a series is clustered. I will mark it for now as a feature request and check if it is possible to implement it.

@wchmiel wchmiel added the Type: Feature Request Used when a new feature is requested either directly or indirectly label Aug 10, 2020
@wchmiel wchmiel self-assigned this Aug 10, 2020
@codywsears
Copy link
Author

@wchmiel thanks for checking on this! It is ok that the clustered point is not able to be updated. However, would it be possible for a non-clustered point (one that is in a series that has clustering enabled) use the Point.update functionality?

@wchmiel
Copy link
Contributor

wchmiel commented Aug 11, 2020

@codywsears You're welcome! For now, this is not supported (updating a single point that belongs to the series that has clustered points). I will check and try to implement it, yet I can not give you any ETA.

@wchmiel
Copy link
Contributor

wchmiel commented Nov 5, 2020

Unfortunately, this feature will require a lot of changes in the core implementation of marker clusters (and also data grouping because it uses partially the same logic). So, for now, this feature will not be implemented.

As a workaround for a point updating in this use case you can use SVGElement.attr() to set for example a different fill color on mouse over a noise point. Demo: https://jsfiddle.net/BlackLabel/j6mbr71u/.

@wchmiel wchmiel closed this as completed Nov 5, 2020
Development-Flow automation moved this from To do to Done Nov 5, 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
Type: Feature Request Used when a new feature is requested either directly or indirectly
Projects
None yet
Development

No branches or pull requests

4 participants