Class AutoAnnotateXYPlot.MultiCrosshairState
java.lang.Object
org.jfree.chart.plot.CrosshairState
com.inductiveautomation.factorypmi.application.components.chart.runtime.AutoAnnotateXYPlot.TransparentCrosshairState
com.inductiveautomation.factorypmi.application.components.chart.runtime.AutoAnnotateXYPlot.MultiCrosshairState
- Enclosing class:
- AutoAnnotateXYPlot
public class AutoAnnotateXYPlot.MultiCrosshairState
extends AutoAnnotateXYPlot.TransparentCrosshairState
This CrosshairState subclass maintains an array of crosshair states for supporting crosshairs across multiple
series
-
Field Summary
Fields inherited from class com.inductiveautomation.factorypmi.application.components.chart.runtime.AutoAnnotateXYPlot.TransparentCrosshairState
anchor, anchorX, anchorY, crosshairX, crosshairY, distance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoublegetCrosshairX(int i) doublegetCrosshairY(int i) doublegetDistance(int i) booleanvoidvoidsetCrosshairDistance(double distance) voidsetCrosshairX(double x) voidsetCrosshairY(double y) protected voidsetSeries(int series) toString()voidupdateCrosshairPoint(double x, double y, double transX, double transY, org.jfree.chart.plot.PlotOrientation orientation) Deprecated.voidupdateCrosshairPoint(double x, double y, int domainAxisIndex, int rangeAxisIndex, double transX, double transY, org.jfree.chart.plot.PlotOrientation orientation) voidupdateCrosshairX(double candidateX) Deprecated.voidupdateCrosshairX(double candidateX, int axis) voidupdateCrosshairY(double candidateY) Deprecated.voidupdateCrosshairY(double candidateY, int axis) Methods inherited from class com.inductiveautomation.factorypmi.application.components.chart.runtime.AutoAnnotateXYPlot.TransparentCrosshairState
getCrosshairX, getCrosshairY, getDistanceMethods inherited from class org.jfree.chart.plot.CrosshairState
getAnchor, getAnchorX, getAnchorY, getCrosshairDistance, getDatasetIndex, getDomainAxisIndex, getRangeAxisIndex, setAnchorX, setAnchorY, setDatasetIndex
-
Constructor Details
-
MultiCrosshairState
public MultiCrosshairState(int series)
-
-
Method Details
-
multiEnabled
public boolean multiEnabled() -
getCrosshairX
public double getCrosshairX(int i) -
getCrosshairY
public double getCrosshairY(int i) -
getDistance
public double getDistance(int i) -
getBestCrosshairSeries
public int getBestCrosshairSeries() -
setAnchor
- Overrides:
setAnchorin classAutoAnnotateXYPlot.TransparentCrosshairState
-
setCrosshairDistance
public void setCrosshairDistance(double distance) - Overrides:
setCrosshairDistancein classAutoAnnotateXYPlot.TransparentCrosshairState
-
updateCrosshairPoint
@Deprecated public void updateCrosshairPoint(double x, double y, double transX, double transY, org.jfree.chart.plot.PlotOrientation orientation) Deprecated.- Overrides:
updateCrosshairPointin classAutoAnnotateXYPlot.TransparentCrosshairState
-
updateCrosshairPoint
public void updateCrosshairPoint(double x, double y, int domainAxisIndex, int rangeAxisIndex, double transX, double transY, org.jfree.chart.plot.PlotOrientation orientation) - Overrides:
updateCrosshairPointin classAutoAnnotateXYPlot.TransparentCrosshairState- Parameters:
x- the x value of the item being rendered in data spacey- the y value of the item being rendered in data spacetransX- The domain value, in j2d space.transY- The range value in j2d space.
-
updateCrosshairX
Deprecated.- Overrides:
updateCrosshairXin classAutoAnnotateXYPlot.TransparentCrosshairState
-
updateCrosshairX
public void updateCrosshairX(double candidateX, int axis) - Overrides:
updateCrosshairXin classAutoAnnotateXYPlot.TransparentCrosshairState
-
updateCrosshairY
Deprecated.- Overrides:
updateCrosshairYin classAutoAnnotateXYPlot.TransparentCrosshairState
-
updateCrosshairY
public void updateCrosshairY(double candidateY, int axis) - Overrides:
updateCrosshairYin classAutoAnnotateXYPlot.TransparentCrosshairState
-
setCrosshairX
public void setCrosshairX(double x) - Overrides:
setCrosshairXin classAutoAnnotateXYPlot.TransparentCrosshairState
-
setCrosshairY
public void setCrosshairY(double y) - Overrides:
setCrosshairYin classAutoAnnotateXYPlot.TransparentCrosshairState
-
setSeries
protected void setSeries(int series) -
toString
- Overrides:
toStringin classAutoAnnotateXYPlot.TransparentCrosshairState
-