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

halo not transparent when explicit color #2960

Closed
iweindesmedt opened this issue Apr 24, 2014 · 2 comments
Closed

halo not transparent when explicit color #2960

iweindesmedt opened this issue Apr 24, 2014 · 2 comments

Comments

@iweindesmedt
Copy link

http://jsfiddle.net/LLExL/2680/

i think it would be expected that the halo is transparent

@TorsteinHonsi
Copy link
Collaborator

Highcharts is only able to change the opacity of colors given in the hex or rgb(a) formats. See http://www.highcharts.com/docs/chart-design-and-style/colors/.

I've added this information to the API on halo.opacity.

Fixing this would mean that we would have to extend Highcharts with a list of full HTML color alias names, which will add to the filesize.

Another convenient approach would be to supply a plugin that allows implementers to use color names, but that requires a rewrite of the Color object to make it extendable.

@oysteinmoseng
Copy link
Member

Seems to be working as expected now (http://jsfiddle.net/LLExL/12425), though I don't remember us adding support for this anywhere @TorsteinHonsi? Looks like fill-opacity is added to the halo, which seems to do the job well, even with named fills.

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

No branches or pull requests

3 participants