Pre loader

Multiple point markers within the same series


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.

  • You must to post comments

Hi there,

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!

Best regards,

  • Doug Milewsky
    The second example you referenced had exactly what I was looking for. Thank you very much.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies