Fusionchars 里面有个Linear Gauge用的是HLinearGauge.swf 图例  出来的效果如下:可以拖动改变值   下面的js就是api 里面说的获取值得js 按上面写的好像是只要值改变了他就会自动触发下面的函数获取到值 但是现在没反应 我就加了个onclik事件触发FC_ChartUpdated但是到chartRef.getData(1); 就报"对象不支持此属性或方法" 想问一下大家 怎么可以获得他的值呢,知道的帮帮我  谢谢了等待回复。。
 <script language="javascript">
   //FC_ChartUpdated method is called when user has changed pointer value.
   function FC_ChartUpdated(DOMId){
      //Check if DOMId is that of the chart we want
      if (DOMId=="myChartId"){
         //Get reference to the chart
         var chartRef = getChartFromId(DOMId);
          //Get the current value 
         //You can also use getDataForId method as commented below, to get the pointer value.
         var pointerValue = chartRef.getData(1); 
         //Update display 
     alert("<span class='text'>Your satisfaction index: <B>" + Math.round(pointerValue) + "%</B></span>");
      }
   } 
</script>