Package de.gsi.chart.plugins
Class CrosshairIndicator
- java.lang.Object
-
- de.gsi.chart.plugins.ChartPlugin
-
- de.gsi.chart.plugins.AbstractDataFormattingPlugin
-
- de.gsi.chart.plugins.CrosshairIndicator
-
public class CrosshairIndicator extends AbstractDataFormattingPlugin
Horizontal and verticalLinedrawn on the plot area, crossing at the mouse cursor location, together with aTextdisplaying the cursor coordinates in data units.CSS style class names: "chart-crosshair-path" and "chart-crosshair-label"
- Author:
- Grzegorz Kruk
-
-
Field Summary
Fields Modifier and Type Field Description protected javafx.scene.text.TextcoordinatesLabelprotected javafx.scene.shape.PathcrosshairPathstatic java.lang.StringSTYLE_CLASS_LABELstatic java.lang.StringSTYLE_CLASS_PATH
-
Constructor Summary
Constructors Constructor Description CrosshairIndicator()Creates a new instance of CrosshairIndicator class.
-
Method Summary
-
Methods inherited from class de.gsi.chart.plugins.AbstractDataFormattingPlugin
formatData, getXValueFormatter, getYValueFormatter, setXValueFormatter, setYValueFormatter, xValueFormatterProperty, yValueFormatterProperty
-
Methods inherited from class de.gsi.chart.plugins.ChartPlugin
addButtonsToToolBarProperty, chartProperty, getChart, getChartChildren, getLocationInPlotArea, isAddButtonsToToolBar, layoutChildren, registerInputEventHandler, setAddButtonsToToolBar, setChart, toDataPoint, toDisplayPoint
-
-
-
-
Field Detail
-
STYLE_CLASS_PATH
public static final java.lang.String STYLE_CLASS_PATH
- See Also:
- Constant Field Values
-
STYLE_CLASS_LABEL
public static final java.lang.String STYLE_CLASS_LABEL
- See Also:
- Constant Field Values
-
crosshairPath
protected final javafx.scene.shape.Path crosshairPath
-
coordinatesLabel
protected final javafx.scene.text.Text coordinatesLabel
-
-