I’m not sure that I understand what you mean by limiting the multiplier of enlargement and reduction.
If you want to adjust scale factor of PinchZoomModifier you can use ScaleFactor property ( by default it has 2f value ). You can reduce it to decrease zoom speed and vice versa:
sciChartBuilder.newModifierGroup() .withPinchZoomModifier().withScaleFactor(1.5f).build() .build();
If you want to restrict zoom on some axis then you can use one of properties provided by axis such as MinimalZoomConstrain, MaximumZoomConstrain or VisibleRangeLimit:
xAxis.setMinimalZoomConstrain(0.001d); xAxis.setMaximumZoomConstrain(1000d); xAxis.setVisibleRangeLimit(new DoubleRange(0d, 10000d));
Hope this will help you!
- You must login to post comments