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

Process flow with showing dataLabels breaks linked series interaction #5618

Closed
mdhari opened this Issue Aug 24, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@mdhari

mdhari commented Aug 24, 2016

Expected behaviour

  • Initialize a blank highcharts chart with no series
  • Add a series with a linked series (for a total of two series).
  • Show the parent series, which also shows the linked series.
  • Click on the parent series to show data labels.
  • Click on the linked series to show it's data labels.

Actual behaviour

  • Initialize a blank highcharts chart with no series
  • Add a series with a linked series (for a total of two series).
  • Show the parent series, which also shows the linked series.
  • Click on the parent series to show data labels.
  • Linked series is no longer interactive. (Graph scales to indicate this)

Live demo with steps to reproduce

http://jsfiddle.net/6ef9topw/

  1. Click the "Step 1" button
  2. Click the "Step 2" button
  3. Hover over the blue and black lines to confirm interactivity via hover tooltip.
  4. Left click on blue line.
  5. Notice that black line is no longer clickable and the chart scales.

Affected browser(s)

Google Chrome 52.0.2743.116 (only targeting this currently)

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Aug 29, 2016

Collaborator

@pawelfus I think this too is related to the Pointer logic. Once the first series is clicked (and Series.update has run), the tooltip for second series doesn't show. In Pointer.runPointActions, the hoverSeries is reported as 1A, even when we hover 2A. Consequently, when we click, the hoverSeries and hoverPoint are wrong, so we don't get the expected result.

Collaborator

TorsteinHonsi commented Aug 29, 2016

@pawelfus I think this too is related to the Pointer logic. Once the first series is clicked (and Series.update has run), the tooltip for second series doesn't show. In Pointer.runPointActions, the hoverSeries is reported as 1A, even when we hover 2A. Consequently, when we click, the hoverSeries and hoverPoint are wrong, so we don't get the expected result.

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus Sep 2, 2016

Contributor

Internal note:
In fact, issue was related to series.visible, which was misconfigured: param was set to false without hiding series - that cause Pointer to omit this 'hidden' series.

Contributor

pawelfus commented Sep 2, 2016

Internal note:
In fact, issue was related to series.visible, which was misconfigured: param was set to false without hiding series - that cause Pointer to omit this 'hidden' series.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment