如何将工具提示的值存储在融合条形图中的变量中?

问题描述

我有融合条形图,其值如下所示。悬停时 显示工具提示选项,我想将工具提示值存储在一个变量中 作进一步处理。由于我是融合图表的新手,任何 建议或想法会有所帮助。谢谢! js小提琴有 带工具提示的条形图。单击该栏,我想提取 工具提示值并将其存储在变量中。

http://jsfiddle.net/u3mtgow9/

 FusionCharts.ready(function() {
  var salesChart = new FusionCharts({
      type: 'column2d',renderAt: 'chart-container',id: 'myChart',width: '450',height: '300',dataFormat: 'json',dataSource: {
        "chart": {
          "theme": "fusion","caption": "Quarterly Revenue","subcaption": "Last year","xAxisName": "Quarter","yAxisName": "Amount (In Rupees)","showValues": "1","numberPrefix": "Rs"
        },"data": [{

          "value": "190"
        },{
          "value": "145"
        },{
          "value": "17"
        },{
          "value": "212",//Custom display string
          "displayValue": "Year's best"
        }]
      }
    })
    .render();
});

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)