I have written an indicator that allows for user (mouse) drawn multiple rectangles on a chart. I have done this using the Rectangle myRec approach and placed code in OnRender. Each rectangle draw has an incremental tag.
On the chart when one of the rectangles is selected myRec.IsSelected is returned true, however I have been unable to get the correlating myRec.Tag. Any suggestions on this can be achieved?
Alternatively is there a way to index myRec[x] so each instance is unique?
Thank you.
Comment