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

Not able to display different background colors for the defined threshold values #144

Open
navitharlin opened this issue Mar 18, 2023 · 1 comment

Comments

@navitharlin
Copy link

These are the codes ive written.
image
image
Im not able to define different background colors for threshold values as shown in the main website:
image

@luciferr2001
Copy link

  thresholdConfig = {
    '0': { color: 'red', bgOpacity:'0.2' },
    '40': { color: 'orange',bgOpacity:'0.2' },
    '75.5': { color: 'green',bgOpacity:'0.2' },
  };

Please use bgOpacity to achieve this

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

No branches or pull requests

2 participants