Skip to content

${__url_time_range} doesn't work in Custom Properties #139

Answered by ZuperZee
psheehymn asked this question in Q&A
Discussion options

You must be logged in to vote

The ${__url_time_range} should work in the HTMLGraphics panel.
Could you share a bit more information about your setup?



Panel options

{
    "calcsMutation": "standard",
    "add100Percentage": true,
    "centerAlignContent": true,
    "overflow": "visible",
    "useGrafanaScrollbar": true,
    "SVGBaseFix": true,
    "codeData": "{\n  \"text\": \"Random text\"\n}",
    "rootCSS": "",
    "css": "* {\n  font-family: Open Sans;\n}\n",
    "html": "<div></div>",
    "renderOnMount": true,
    "onRender": "const divElt = htmlNode.querySelector(\"div\");\n\ndivElt.textContent = htmlGraphics.props.replaceVariables(\"${__url_time_range}\");",
    "dynamicHtmlGraphics": false,
    "dynamicData": 

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@psheehymn
Comment options

@ZuperZee
Comment options

@psheehymn
Comment options

Answer selected by ZuperZee
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