Class MouseAxisManipulation
- Namespace
- ScottPlot.Interactivity
- Assembly
- ScottPlot.dll
This class stores logic for changing axis limits according to mouse inputs in pixel units. Methods here are similar to those in Axes except their inputs are all mouse events.
public static class MouseAxisManipulation
- Inheritance
-
MouseAxisManipulation
- Inherited Members
Methods
AutoScale(Plot, Pixel, bool)
public static void AutoScale(Plot plot, Pixel pixel, bool allParallelAxes)
Parameters
DragPan(Plot, Pixel, Pixel, bool)
public static void DragPan(Plot plot, Pixel mouseDown, Pixel mouseNow, bool changeOpposingAxesTogether)
Parameters
DragZoom(Plot, Pixel, Pixel, bool)
public static void DragZoom(Plot plot, Pixel mouseDown, Pixel mouseNow, bool changeOpposingAxesTogether)
Parameters
MouseWheelZoom(Plot, double, double, Pixel, bool)
public static void MouseWheelZoom(Plot plot, double fracX, double fracY, Pixel pixel, bool ChangeOpposingAxesTogether)
Parameters
PlaceZoomRectangle(Plot, Pixel, Pixel)
public static void PlaceZoomRectangle(Plot plot, Pixel mouseDown, Pixel mouseNow)