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

Tooltips on scatter cannot be shown when there is a line behind it (breaks on version 5.0.8)(works on 5.0.7) #6449

Closed
tangyouze opened this Issue Mar 10, 2017 · 3 comments

Comments

Projects
None yet
4 participants
@tangyouze

tangyouze commented Mar 10, 2017

In highstock 5.0.7 when I create a figure with following series, I can see the tooltips on the scatter(black tooltips).
image
However this tooltip is missing when highstock upgrade to 5.0.8

        series: [{
            name: 'AAPL',
            data: data,
            zindex: 1,
            tooltip: {
                valueDecimals: 3
            }
        },
        {
            name: 'AAPL',
            type: 'scatter',
            zindex: 10,
            color: 'black',
            data: data,
            tooltip: {
                valueDecimals: 2
            }
        }
        
        ]

Jumping from highstock 5.0.7 to 5.0.8
The tooltips on scatter is missing(cannot be shown when mouse is around the node)

Expected behaviour

with version 5.0.7
http://jsfiddle.net/ao7zt82v/2/
image

Actual behaviour

with version 5.0.8
http://jsfiddle.net/92Lh0s5p/1/
image

Live demo with steps to reproduce

Affected browser(s)

Chrome, Edge, and may be more

@KacperMadej KacperMadej added the Bug label Mar 10, 2017

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Mar 10, 2017

Contributor

Thank you for reporting the problem.

This is more general - when tooltip has shared:true then it is not possible to displayed tooltip for any scatter point.
Simple demo: http://jsfiddle.net/jjt0a5z5/

Contributor

KacperMadej commented Mar 10, 2017

Thank you for reporting the problem.

This is more general - when tooltip has shared:true then it is not possible to displayed tooltip for any scatter point.
Simple demo: http://jsfiddle.net/jjt0a5z5/

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Mar 10, 2017

Contributor

This commit seems (tested on issue-by-commit) to be causing the issue: fc77bfc

@jon-a-nygaard

Contributor

KacperMadej commented Mar 10, 2017

This commit seems (tested on issue-by-commit) to be causing the issue: fc77bfc

@jon-a-nygaard

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Mar 23, 2017

Collaborator

Another case, scatter tooltip cannot be accessed: http://jsfiddle.net/highcharts/xgn6Lan4/5/

Collaborator

TorsteinHonsi commented Mar 23, 2017

Another case, scatter tooltip cannot be accessed: http://jsfiddle.net/highcharts/xgn6Lan4/5/

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