I have a diagram with multiple shapes. Each shape has multiple rectangles.
1. Is there a way (do you have examples) to identify which rectangle in the shape was clicked in the Click event?
2. Is there any mechanism to store data in the rectangles? i.e. Similar to data-id="5" in standard html. I'm pretty sure I can figure out the Id of each rectangle from the shape.dataItem - but it would be alot easier if I could store data with each rectangle.
Thanks!