Is it possible to use dashbaord avriables in Echarts plugin

I


Is it possible to use dashbaord’s variables in Echarts plugin?

i use below code to get the value in dashboard, is there any better way to do it?
var targetYear=document.getElementById(“TargetYear”).title ;

@zhixinghe,

I think you’ll have more luck getting an answer in that plugin’s repo:

@zhixinghe,

If you are still interested in using dashboard variables in the ECharts plugin, we recently forked the old plugin and added replaceVariables() function: GitHub - VolkovLabs/volkovlabs-echarts-panel: Apache ECharts panel for @grafana.

Please try and let us know if you have any questions.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.