12-01-2011 07:55 AM
Hey,
I have a slight issue with annotation indexing, basically I'm loading up to 5 sets of data to the same graph, these consist of a plot and annotation for each. I want to be able to let the user clear and re-plot each set of data and annotation as they wish, i.e. clear the first set of data and annotation and re-load another set whilst keeping slots 2 and 3 loaded. However from what I understand the indexing of annotations doesn't work in the same way as plots. Meaning that when I'm clearing and re-loading annotations in a different order from how they were loaded, eventually it ends up deleting the wrong annotation with the wrong plot. Is there any simple work-around for this?
Cheers,
Ben
12-01-2011 10:37 AM
No worries, I've managed to come up with a solution, it's perhaps not the most elegant solution in the world but it works!