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

Linear-scaled charts maximum gradient color stop is incorrect and does not match legend #1910

Open
Lyq322 opened this issue Oct 30, 2023 · 0 comments
Labels

Comments

@Lyq322
Copy link

Lyq322 commented Oct 30, 2023

Describe the bug
For linear-scaled charts, the maximum gradient color stop is not in the color scheme. It does not match the legend's maximum gradient color stop.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any linear-scaled charts, eg linear-scaled vertical bar charts
  2. The bug occurs for all color schemes, but is most obvious in the forest color scheme

Expected behavior
For linear-scaled charts, the maximum gradient color stop should be in the color scheme and should match the maximum gradient color stop on the legend.

Screenshots
For example, for the forest color scheme, the second bar's top is yellow but yellow is not in the forest color scheme. From the legend we can see that the maximum gradient color stop is supposed to be orange not yellow.
Screenshot 2023-10-29 at 8 24 06 PM

Demo
n/a

ngx-charts version
20.4.1

Additional context
n/a

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

No branches or pull requests

1 participant