CalculateScaledRange Method (XAxisDragModifier)
When overriden in a derived class, calculates an output SciChart.Data.Model.IRange to apply to the associated Axis, given the input parameters
Syntax
protected override IRange CalculateScaledRange( Point currentPoint, Point lastPoint, bool isSecondHalf, IAxis axis )
Parameters
- currentPoint
- The current mouse position
- lastPoint
- The last mouse position
- isSecondHalf
- A flag, which determines how the scale operates, e.g. which half of the axis (top or bottom, left or right) was dragged
- axis
- The axis being operated on
Return Value
The output SciChart.Data.Model.IRange
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also