Style for using with multiple panels

Hi,

is there a way to define one style (like the opacity and starting with which time range to disconnect the dots in the “time series“) and use this for multiple panels? The origin of this is because I found myself often duplicating panels just to avoid having to adjust the styling settings over and over againg. While duplicating works for “initialization“, it does not work when I want to adjust e.g. the opacity for all panels. So one needs to manually touch all panels in order to make them look uniform.

Is there a way to define a “style” which acts as some sort of default to the panels applying this style (each panel might still overwrite the defaults of course for customizability)? (or maybe think of it like multiple “layers“ of configuration where the layer on the top partially shadows the layers below)

Or is there another solution for this issue? (I know library panels exist but then the panels also need to share the same query and selective customizations are not possible as far as I know)

If you are using library panels in different dashboards, you can use variables to specify query. Therefore, query will be also customized for every dashboard while all style configurations would remain the same.

1 Like

Oh yes that’s one way.

Being able to specify an arbitrary query for easier customization would be nice though. It’s a bit sad that this is an all or nothing mechanism. I think often you want panels to look uniform, maybe sometimes the queries are even the same or at least similar (so the way with dashboard variables works) but then if you want to only modify one single property you need to unlink the whole panel. (also the dashboard variable approach does not work if you want multiple linked panels in one dashboard, since the panel will always refer to the same variable → same query for all panels in the dashboard).

But I see sadly this is not possible currently and is more a feature request. (do I need to open a new thread/issue for this somewhere?)

1 Like