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

Cannot set rgba color nor opacity for particular data in line chart #168

Closed
steven-pribilinskiy opened this issue Oct 22, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@steven-pribilinskiy
Copy link

https://codepen.io/anon/pen/BqPbMP

In order to dim/highlight particular data in a chart we need to increase transparency of such lines.

When applying a color in rgba format the lines appear gray on the chart, although such colors appear correctly in legend and tooltip.

  colors: [
    'rgba(42, 158, 251, .3)'
  ],
@junedchhipa junedchhipa added the bug Something isn't working label Oct 22, 2018
@junedchhipa
Copy link
Contributor

If it works in legend, then I need to take a look why it doesn't work for paths.

@junedchhipa
Copy link
Contributor

junedchhipa commented Oct 22, 2018

This commit fixes it.
From 2.1.6 onwards, colors will accept rgba

@steven-pribilinskiy
Copy link
Author

@junedchhipa Great! Waiting for release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants