public class Plot2DController extends PlotController
Plot2D objects.| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashMap<Axis,com.mindfusion.charting.Plot2DController.AxisInfo> |
axisRanges |
renderContext| Constructor and Description |
|---|
Plot2DController(RenderContext renderContext,
boolean vertical)
Initializes a new instance of the
Plot2DController class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getVertical()
Gets a value indicating whether interaction is done along the X or Y axis.
|
void |
onMouseDown(double x,
double y)
PlotController.onMouseDown override.
|
void |
setVertical(boolean value)
Sets a value indicating whether interaction is done along the X or Y axis.
|
drawInteraction, getComponent, getRunningAnimation, onMouseMove, onMouseUpprotected java.util.HashMap<Axis,com.mindfusion.charting.Plot2DController.AxisInfo> axisRanges
public Plot2DController(RenderContext renderContext, boolean vertical)
Plot2DController class.renderContext - A RenderContext instance.vertical - true to implement interaction along the Y axis, or false for the X axis.public void onMouseDown(double x,
double y)
onMouseDown in interface ComponentControlleronMouseDown in class PlotControllerx - A double value specifying the horizontal position of mouse pointer.y - A double value specifying the vertical position of mouse pointer.public boolean getVertical()
public void setVertical(boolean value)