Hide unnecessary capabilities

I’m writing custom panel plugin and i want to use the threshold configuration capabilities under field tab (see screenshot below).

There is any way to hide the ‘Overrides’ tab and ‘Thresholds mode’ section, since it is not relevant to my plugin?

I saw some Grafana OOTB plugins (for example Bar gauge) that use it also (‘Thresholds mode’), but there is no impact on the displayed data.

Screen Shot 2020-10-28 at 12.59.41