Table of Contents

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

plot Plot
pixel Pixel
allParallelAxes bool

DragPan(Plot, Pixel, Pixel, bool)

public static void DragPan(Plot plot, Pixel mouseDown, Pixel mouseNow, bool changeOpposingAxesTogether)

Parameters

plot Plot
mouseDown Pixel
mouseNow Pixel
changeOpposingAxesTogether bool

DragZoom(Plot, Pixel, Pixel, bool)

public static void DragZoom(Plot plot, Pixel mouseDown, Pixel mouseNow, bool changeOpposingAxesTogether)

Parameters

plot Plot
mouseDown Pixel
mouseNow Pixel
changeOpposingAxesTogether bool

MouseWheelZoom(Plot, double, double, Pixel, bool)

public static void MouseWheelZoom(Plot plot, double fracX, double fracY, Pixel pixel, bool ChangeOpposingAxesTogether)

Parameters

plot Plot
fracX double
fracY double
pixel Pixel
ChangeOpposingAxesTogether bool

PlaceZoomRectangle(Plot, Pixel, Pixel)

public static void PlaceZoomRectangle(Plot plot, Pixel mouseDown, Pixel mouseNow)

Parameters

plot Plot
mouseDown Pixel
mouseNow Pixel