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

0
0

I couldnt find IPointMarkerPaletteProvider Interface in SciChart iOS framework. I want to change the color of the point markers of line series on tapping the markers. With IPointMarkerPaletteProvider it would have been easier.

SCIPaletteProvider is there but how do I provide the colors to each markers through that. Is there any other way to go about it ?

Version
v2.5.0.2523
  • You must to post comments
1
0

Hello Ayush Jain.
Thank you for the question.

On iOS you need to SCIPaletteProvider, and override this method:

-(id<SCIStyleProtocol>)styleForX:(double)x Y:(double)y Index:(int)index 

It allows you to provide custom style for each point, so you can create a different series style with different pointmarker style for each point and have not only custom color, but custom shape as well.

Please check UsePalleteProvider example, for details.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.