Pre loader

Per-point shapes

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

How to achieve per-point shapes? I need to have, say, triangle, ellipse, and square shapes on a single line series. It’s pretty straightforward for iOS by overriding the StyleForPoint() method and providing shapes and colors. However, I had hard times figuring it out for Android (Xamarin). I found how to change colors of markers but not shapes. Could anyone help me with this, please?

Version
2.1.0.615
  • You must to post comments
0
0

Hi there,

Unfortunately it isn’t possible to provide different shapes for point marker via PalletteProvider in Android for now.

To workaround this limitation you can try to use line series without point marker and separate scatter series with different shapes. Then append whole data set into line series and append filtered data set ( select points with desired shape ) into appropriate scatter series. Or you can use same data series instance for line and scatter series with different shapes. Then use create PaletteProvider for each scatter series and return transparent color for those markers which shouldn’t be drawn.

Hope this will help you!

Best regards,
Yura

  • 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