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

Legend icon size increases on increasing the radius of marker #6202

Closed
sagargurtu opened this Issue Jan 4, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@sagargurtu

sagargurtu commented Jan 4, 2017

Expected behaviour

Legend marker radius should not change on change of chart marker radius.

Actual behaviour

On increasing marker radius, legend marker radius also increases.

Live demo with steps to reproduce

http://jsfiddle.net/Rfaav/25/

Affected browser(s)

Chrome

@sebastianbochan

This comment has been minimized.

Show comment
Hide comment
@sebastianbochan

sebastianbochan Jan 4, 2017

Contributor

At this moment this is default behaviour, but you can use a workround with linked two series. The first defines legend symbol and the second one, draw points.

Example:

For general support, please use email / stackOverflow / forum. More information you can find here: http://www.highcharts.com/support

Contributor

sebastianbochan commented Jan 4, 2017

At this moment this is default behaviour, but you can use a workround with linked two series. The first defines legend symbol and the second one, draw points.

Example:

For general support, please use email / stackOverflow / forum. More information you can find here: http://www.highcharts.com/support

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Jan 4, 2017

Collaborator

I agree with @sagargurtu it's a bug. It doesn't make sense to allow the legend markers to overflow the text lines.

We should go in to the drawLineMarker function and disallow the marker to be larger than legend.symbolHeight. Also check with the new Bubble markers.

Collaborator

TorsteinHonsi commented Jan 4, 2017

I agree with @sagargurtu it's a bug. It doesn't make sense to allow the legend markers to overflow the text lines.

We should go in to the drawLineMarker function and disallow the marker to be larger than legend.symbolHeight. Also check with the new Bubble markers.

@TorsteinHonsi TorsteinHonsi reopened this Jan 4, 2017

@TorsteinHonsi TorsteinHonsi self-assigned this Jan 4, 2017

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