Add Ability to Select Plot Line

1) Added delegate functions for handling down and up events while over the plot line.
2) Added delegate functions for handling the selection and deselection of the plot line.
3) Added delegate function for performing graphics operations just before drawing the plot line.