If I have line like this (a xy plot in the future)
`Canvas {
    id:canvas
    onPaint:{
       var ctx = canvas.getContext('2d');
       ctx.moveTo(0,0);
       ctx.lineTo(50,20);
       ctx.lineTo(50,70);
       // etc...
    }
 }`
so, is there a good way to check mouse press event on this line? i.e. If I have a plot and want to show context menu on right click on graph line
 
     
    