Pre loader

IPointMarkerPaletteProvider and IFillPaletteProvider Interface not available in iOS

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

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.

Try SciChart Today

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

Start TrialCase Studies