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

Ability to set different colors for parts of the line from a line chart #1603

Open
kaciula opened this issue Mar 9, 2024 · 1 comment
Open
Labels
enhancement New feature or request Line Chart

Comments

@kaciula
Copy link

kaciula commented Mar 9, 2024

I want to be able to set different colors for different sections of a line from a line chart. For example, I want to have a red line from spots 1 to 10, a blue line from spots 10 to 40 etc.

Right now I can only set one single color or a gradient for the entire line. Is there a more low-level way of achieving what I need?

How I see this working is having a colors param that is the same length as the spots list and contains a color for each spot.

Screenshot 2024-03-09 at 11 29 02

@imaNNeo
Copy link
Owner

imaNNeo commented Apr 15, 2024

Unfortunately, it is not possible to do that at the moment.
But it's a good feature that we need to have. Thanks for reporting it.

@imaNNeo imaNNeo added enhancement New feature or request Line Chart labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Line Chart
Projects
None yet
Development

No branches or pull requests

2 participants