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: