SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

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.