Open brendangregg opened 6 years ago
Should this be implemented as part of flamescope? Currently this capability does not exist in the heatmap implementation heatmap2-d3. I'd opt to implement it there, possibly a heatmap().quantizeLegend()
method, and then enable it here. Does that approach make sense?
There has not been any activity here for some time, I could look into this and see what I can do if no one's up to it.
I agree doing in it in heatmap plugin and integrating here. I'll go over the heatmap repo.
@bahtiyarkaba missed the comment here. Sure, feel free to submit PRs to the heatmap plugin repo and I'll merge it there and make the changes here.
The current count scale implies many colors you won't actually see, due to the gradient fill. This example heat map (with "enhance") only has 8 colors. Does it make sense to turn the gradient fill into rectangles for each possible color? I'd prototype it and paste an example screenshot here for comment.