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

Selecting palette in Covariate Bars portion of Heat Map Display Properties for throwing error. #538

Open
jmelott opened this issue Jul 31, 2024 · 0 comments

Comments

@jmelott
Copy link

jmelott commented Jul 31, 2024

Clicking a palette does not change the colors assigned to the covariate breakpoints.
The following error appears in the console:
ngchmWidget-min.js?v=fe1a4448dce2762009386be05bc68ec8:707 Uncaught TypeError: Cannot read properties of null (reading 'value')
at n.setupLayerBreaksToPreset (ngchmWidget-min.js?v=fe1a4448dce2762009386be05bc68ec8:707:392)
at HTMLDivElement.C (ngchmWidget-min.js?v=fe1a4448dce2762009386be05bc68ec8:671:355)

Steps to repeat:
Open a map with a continuous covariate bar.
Open developers console.
Click gear menu to open Heat Map Display Properties dialog box.
Click the Covariate Bars tab.
Select a continuous covariate in the Covariate Bar dropdown.
If the Bar type is not already Color Plot, then switch it to Color Plot.
Click on any of the pre-defined color palettes at the bottom of the dialog.
Result: The error above appears in the console and no breakpoint colors are selected.
Desired result: Breakpoint colors should change to match palette definition that was clicked on similar to how this works on the Heat Map Colors tab.

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

No branches or pull requests

1 participant