javascript amCharts graph item click event

前端 未结 1 486
忘掉有多难
忘掉有多难 2020-12-17 17:58

In amCharts flash chart there is a event name clickGraphItem which work as click on graph item and after fetching this event we can do any action on graph item click.

相关标签:
1条回答
  • 2020-12-17 18:30

    You can add event handlers to the AMCharts Javascript library in the following way

    // add click listener
    chart.addListener("clickGraphItem", handleClick);
    

    Here is jsFiddle for this:

    http://jsfiddle.net/amcharts2/cV8GG/

    0 讨论(0)
提交回复
热议问题