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 SummaryFields inherited from class com.inductiveautomation.factorypmi.application.components.chart.runtime.AutoAnnotateXYPlot.TransparentCrosshairStateanchor, anchorX, anchorY, crosshairX, crosshairY, distance
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.TransparentCrosshairStategetCrosshairX, getCrosshairY, getDistanceMethods inherited from class org.jfree.chart.plot.CrosshairStategetAnchor, getAnchorX, getAnchorY, getCrosshairDistance, getDatasetIndex, getDomainAxisIndex, getRangeAxisIndex, setAnchorX, setAnchorY, setDatasetIndex
- 
Constructor Details- 
MultiCrosshairStatepublic MultiCrosshairState(int series) 
 
- 
- 
Method Details- 
multiEnabledpublic boolean multiEnabled()
- 
getCrosshairXpublic double getCrosshairX(int i) 
- 
getCrosshairYpublic double getCrosshairY(int i) 
- 
getDistancepublic double getDistance(int i) 
- 
getBestCrosshairSeriespublic int getBestCrosshairSeries()
- 
setAnchor- Overrides:
- setAnchorin class- AutoAnnotateXYPlot.TransparentCrosshairState
 
- 
setCrosshairDistancepublic void setCrosshairDistance(double distance) - Overrides:
- setCrosshairDistancein class- AutoAnnotateXYPlot.TransparentCrosshairState
 
- 
updateCrosshairPoint@Deprecated public void updateCrosshairPoint(double x, double y, double transX, double transY, org.jfree.chart.plot.PlotOrientation orientation) Deprecated.- Overrides:
- updateCrosshairPointin class- AutoAnnotateXYPlot.TransparentCrosshairState
 
- 
updateCrosshairPointpublic void updateCrosshairPoint(double x, double y, int domainAxisIndex, int rangeAxisIndex, double transX, double transY, org.jfree.chart.plot.PlotOrientation orientation) - Overrides:
- updateCrosshairPointin class- AutoAnnotateXYPlot.TransparentCrosshairState
- Parameters:
- x- the x value of the item being rendered in data space
- y- the y value of the item being rendered in data space
- transX- The domain value, in j2d space.
- transY- The range value in j2d space.
 
- 
updateCrosshairXDeprecated.- Overrides:
- updateCrosshairXin class- AutoAnnotateXYPlot.TransparentCrosshairState
 
- 
updateCrosshairXpublic void updateCrosshairX(double candidateX, int axis) - Overrides:
- updateCrosshairXin class- AutoAnnotateXYPlot.TransparentCrosshairState
 
- 
updateCrosshairYDeprecated.- Overrides:
- updateCrosshairYin class- AutoAnnotateXYPlot.TransparentCrosshairState
 
- 
updateCrosshairYpublic void updateCrosshairY(double candidateY, int axis) - Overrides:
- updateCrosshairYin class- AutoAnnotateXYPlot.TransparentCrosshairState
 
- 
setCrosshairXpublic void setCrosshairX(double x) - Overrides:
- setCrosshairXin class- AutoAnnotateXYPlot.TransparentCrosshairState
 
- 
setCrosshairYpublic void setCrosshairY(double y) - Overrides:
- setCrosshairYin class- AutoAnnotateXYPlot.TransparentCrosshairState
 
- 
setSeriesprotected void setSeries(int series) 
- 
toString- Overrides:
- toStringin class- AutoAnnotateXYPlot.TransparentCrosshairState
 
 
-