Cosmetic: on port graphs, only show legend entries for ports that are currently UP or have data for the period selected

so the topic says it succintly,

I find the routers ports traffic (the graph you get when you click on Overall Traffic graph on the device page) useful but with routers having multiple ports, not ALL of which are being used, there are more entries in the legend than data areas on the graph (the inactive ports all show -nan on Current, Average, Maximum and Total - could this be used to filter out the legend entries that are irrelevant?)
(EDIT: or a toggle in port settings to manually override the choice of what’s shown in the legend?)

Thanks in advance :slight_smile: