Polystat Legend

Hello, I have created a panel with a polystat plugin visualization, and created five thresholds. I need a legend to tell viewers what the five different colors mean, but polystat has no “Legend” section as do other visualizations. Any suggestions on how to add a legend? This is a curious omission. Thanks!

Could you open an issue in the repo? We can add that as a new configuration option with a little more detail on what you’d like to see.

A legend could be added to the tooltip itself (since thresholds can be different per composite), or in another location (maybe a corner of the polygon).

Here’s the repo:

Sure, will do, thanks for getting back to me.