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

0
0

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

Version
2.0.0.1523
Images
  • You must to post comments
0
0

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
Andrii
SciChart iOS Developer

  • 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