Click and hover events are not firing on my line graph

Martynas Majeris -

There are several issues that you need to look out for when employing user interaction events on line graphs. We'll detail them here:

Events fire only on bullets, not line itself

No bullets - no events.

But what if I don't want to display bullets? There's a workaround: enable bullets but set their alpha to zero, so they remain invisible but will still trigger interaction events:

graph.bullet = "round";
graph.bulletAlpha = 0;

Rollover bullet might be obstructing the actual graph bullets

ChartCursor as well as AmBalloon instances can also display their own rollover bullets that when drawn on top of graph's bullet will prevent events from firing. Make sure those are disabled:

chart.balloon.showBullet = false;
chartCursor.bulletSize = 0;
Have more questions? Submit a request


  • Avatar
    Basil Shubin

    You can also increase bulletSize:

    graph.bullet = "round";
    graph.bulletAlpha = 0;

    graph.bulletSize = 16; // increase event area

  • Avatar

    Thanks for an insightful post. These tips are really helpful. Again thanks for sharing your knowledge with us.Keep up the good work. Maybe you can find inspiration in something with http://

  • Avatar
    Basi G. Sarip

    I have realize you'll be able to find guide to Digital Marketing .It is the best way to grow your website with seo .

Powered by Zendesk