I have a class that extends the IPointMetadata interface that I append in my XyDataSeries data. What I would like to do is create a point marker based off this metadata.
For instance, say I have a property called Shape in my metadata that contains values of Circle, Triangle, Star. I want to be able to create those point marker shapes on the same series of data.
I tried creating my own marker by extending the BasePointMarker class, but I wasn’t able to find a way to get to the metadata.
Thanks for your question. Please take a look at our “Series with Metadata” example. It demonstrates how to access metadata from within a PointMarker.
Also please be aware that you may want to switch clustering off for your point markers, to prevent mismatch between point markers and metadata indexes. You can find more info on how to do this in this thread.
Hope this helps!
Please login first to submit.