Manual color scale
- Dominant language
- TypeScript
- Stars
- 12k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 66
Description
_I would like to manually set the color of specific points from timeseries data._
I'm working with a large timeseries dataset with a basic point layer. The issue I have, is that when I set a color range based on a certain value, the color is set based on the entire dataset.
So on day 1, all my values are light blue , and on the final day, every single value on the map is bright red because of the large difference in values.
What I would actually want, is set those color values based on the actual filtered dataset. So coloring of the data would be based on 1 day of data instead of 60.
I see 2 options for this:
1. Make color assignments based on the filtered data, not the entire dataset.
2. Make it possible to pass an actual color value through the dataset. e.g. I have a column with a specific hex value (or just an index that would get remapped) which could be called fill_color and/or stroke_color (like the properties for geojson fillColor/strokeColor). And those colors would actually be the ones used in the layer visualisation.
I hope this makes some sense.
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.