Skip to content

Are data links supported? #219

Answered by Duologic
julianorchard asked this question in Q&A
Discussion options

You must be logged in to vote

https://grafana.github.io/grafonnet/API/panel/timeSeries/index.html#fn-standardoptionswithlinks should give you that.

The items in the array doesn't seem to be defined in the schema, so we don't have a jsonnet counterpart for it. I had a quick look at a local instance and it seems very simple:

panel
+ standardOptions.withLinks([
  {
    title: 'my title',
    url: 'http://site.com',
    targetBlank: true,
  },
])

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@julianorchard
Comment options

Answer selected by julianorchard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants