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

v5.0.6 causes bug when swapping 2 series indexes #6112

Closed
Munzey opened this issue Dec 7, 2016 · 2 comments
Closed

v5.0.6 causes bug when swapping 2 series indexes #6112

Munzey opened this issue Dec 7, 2016 · 2 comments

Comments

@Munzey
Copy link

@Munzey Munzey commented Dec 7, 2016

Expected behaviour

Be able to right click on two legend items of a stack column chart and swap there position/order by switching their indexes

Actual behaviour

always works when i click the left item first before the right. sometimes swaps their positions when clicking the right item first, but usually makes one item lose its color

Live demo with steps to reproduce

try right clicking 'test2' legend name first then 'test1' and the desired behaviour wont occur with 5.0.6
http://jsfiddle.net/LLExL/6817/ --> 5.0.6
http://jsfiddle.net/LLExL/6818/ --> 5.0.5

Note: Youll need to hit 'run' again everytime you want to try swap the items

Affected browser(s)

chrome, firefox is all ive tested

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Dec 8, 2016

I have troubles getting the right-click thing to work, but I simplified it here: http://jsfiddle.net/highcharts/Le32owLp/

Something has changed in v5.0.6.

@oysteinmoseng
Copy link
Member

@oysteinmoseng oysteinmoseng commented Dec 12, 2016

Offending commit: ed84e5d

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

Successfully merging a pull request may close this issue.

None yet
3 participants