Pre loader

Zoom Constrain

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


Hi, guys

Is it possible to set min and max zoom constraints for renderable serie with one element ?
Default value (default_zoom.PNG) is too big.

Can you look at this?

Best regards,
Sushynski Andrei

  • You must to post comments

Good day

Candle or column width is calculated depending on count of data points in viewport.
You can change data point width by creating subclass os SCIFastCandlestickRenderableSeries or SCIFastCollumnRenderableSeries and overriding the following method:

   - (float) getDatapointWidthFrom:(id<SCIPointSeries>)pointSeries Amount:(int)barsAmount Calculator:(id<SCICoordinateCalculator>)xCalc WidthFraction:(double)widthFraction

Return value is data point width in pixels.

Best regards
SciChart iOS Developer

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.