0

I want to know how I could utilize the point click event on the Shield UI Chart? What I need is to show a message to the user, consisting of the point's value and some text.

Vladimir Georgiev
  • 1,949
  • 23
  • 26
Faris Abdi
  • 43
  • 3

1 Answers1

0

Below is the code that uses the event of a point being clicked on a Shield UI Chart:

   events: {
    pointSelect: function pointSelectHandler(args) {

    var Information= "Point Value: " + args.point.y;    
    alert(Information);
    },

Don't forget to enable the point selection:

       enablePointSelection:true,
Ed Jankowski
  • 449
  • 1
  • 3
  • 5