Netflix / flamescope

FlameScope is a visualization tool for exploring different time ranges as Flame Graphs.
Apache License 2.0
3.02k stars 169 forks source link

pixelate count legend #41

Open brendangregg opened 6 years ago

brendangregg commented 6 years ago
screen shot 2018-04-13 at 8 58 40 am

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.

nhick commented 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?

bahtiyarkaba commented 5 years ago

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.

spiermar commented 5 years ago

@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.