redash icon indicating copy to clipboard operation
redash copied to clipboard

Add option to choose color scheme for charts other than heatmaps

Open ezraodio1 opened this issue 1 year ago • 0 comments
trafficstars

What type of PR is this?

  • [ ] Refactor
  • [x] Feature
  • [ ] Bug Fix
  • [ ] New Query Runner (Data Source)
  • [ ] New Alert Destination
  • [ ] Other

Description

This PR allows the user to switch the color scheme for charts. In addition to the existing Redash color scheme, users can now choose the Tableau colors, D3 colors, and Viridis colors. New color schemes can be manually added by editing the ColorPalette.ts file.

How is this tested?

  • [ ] Unit tests (pytest, jest)
  • [x] E2E Tests (Cypress)
  • [x] Manually
  • [ ] N/A

Created a number of different charts and verified that the color scheme was changing correctly.

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Screenshot 2024-07-17 at 10 15 46 AM Screenshot 2024-07-17 at 10 16 48 AM

ezraodio1 avatar Jul 17 '24 14:07 ezraodio1