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

Legend symbol formatting does not match series symbol formatting #674

Closed
ervwalter opened this issue Dec 30, 2011 · 3 comments
Closed

Legend symbol formatting does not match series symbol formatting #674

ervwalter opened this issue Dec 30, 2011 · 3 comments

Comments

@ervwalter
Copy link

@ervwalter ervwalter commented Dec 30, 2011

If you change the fillColor, LineColor, and lineWidth for the marker for a series, the legend still draws the symbol with the default formatting.

Here is an example, the markers in the series are a hollow black diamond, but in the legend, it is shows as a filled blue diamond:

http://jsfiddle.net/ERsMu/

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Jan 2, 2012

Internal note: Marker options should be respected in the colorizeItem method. Ideally, the series class should have a renderLegendSymbol method that can be overrridden. Also, pointAttr should be used directly, it not the getAttr logic should be rewritten.

@pawelfus
Copy link
Contributor

@pawelfus pawelfus commented Apr 18, 2012

It's also problem with Highcharts 2.2.1, but works in 2.1.9, examples:

@sebastianbochan
Copy link
Contributor

@sebastianbochan sebastianbochan commented Sep 3, 2012

It is also problem with Highcharts 2.3.1 / 2.3.2

TorsteinHonsi added a commit that referenced this issue Sep 4, 2012
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
4 participants