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

Improve Bullet complex color config validation #2337

Open
nickofthyme opened this issue Feb 13, 2024 · 0 comments
Open

Improve Bullet complex color config validation #2337

nickofthyme opened this issue Feb 13, 2024 · 0 comments
Labels
:bullet Bullet chart related issues enhancement New feature or request

Comments

@nickofthyme
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Improve validation and handling of the ColorBandComplexConfig for Bullet charts.

Describe the solution you'd like
Currently this method to define the color bands is the least opinionated and most flexible. It would be ideal to validate the config that the user passes and fix/warn of any errors. Checks could include

  • Validate continuous color ranges, no holes or overlapping ranges.
  • Validate ranges fully cover the given domain
  • Validate start and end of each range is consistent direction
  • Validate direction/order of ranges is consistent across all range pairs
  • Validate computed percentage values conform to all other validations
  • Provided, filling or clamping as needed or practicable
@nickofthyme nickofthyme added the enhancement New feature or request label Feb 13, 2024
@nickofthyme nickofthyme changed the title Improve Bullet Improve Bullet complex color config validation Feb 13, 2024
@nickofthyme nickofthyme added the :bullet Bullet chart related issues label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:bullet Bullet chart related issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant