Basic button panel

hello,
I am new to grafana,I was on node-red before, to develop a supervision with data from line production.
I want to do a button on a panel or a dashboard to change of view, like you can do on Wincc or Magelis (automation), just put a button that I can place where I want on the dashboard between some panels.

I look a lot of topic, but I don’t want a button to send query to my database, or change color or others. Just change my page. the very basic button function : I click on the button = I change page that I defined in link.

For the moment, I use the canvas function to do a button but when I want to click on it, it just show a little sidebar wth the function of change page in it (Square with arrow), why my button show me this ?

I see only dashboard with a lot of graph and curve, but who got just one page full of curves ? this is unreadable …and on NodeRed this is very simple !
I have to post a request on a forum for basic button… :o

thanks a lot in advance for anyone who know how to do this :')

Hey @SunrakuBzh, welcome to the forum

Everything is simple when you do know how to do it, nothing is if you don’t…

I never did that but I assume you can do it using the text panel. Using the HTML for the content type (and I’m sure you can still do it with markdown), with something like:

<button onclick="window.location.href='https://example.com';">Go to example</button>

And this method allow you to personalize the button, with CSS.

Let me know how it goes!


Update:
I just try and it easier with markdown:

[![Button](https://img.shields.io/badge/Button-Go_to_Grafana_doc-orange)](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/snmp)
3 Likes

Wow that was fast :smiley:
Ok it works and this is perfect for the moment, thanks a lot !

I let open the sub until monday if someone as an other idea… I am here to learn :nerd_face:

1 Like

there are many other ways (we wait to see what you personally dig and find in this forum) but what @codi639 has is perfect.

1 Like