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 aLabeldisplaying 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 static java.lang.StringSTYLE_CLASS_LABELName of the CSS class of the label displaying mouse coordinates.static java.lang.StringSTYLE_CLASS_PATHName of the CSS class of the horizontal and vertical lines 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
Name of the CSS class of the horizontal and vertical lines path.- See Also:
- Constant Field Values
-
STYLE_CLASS_LABEL
public static final java.lang.String STYLE_CLASS_LABEL
Name of the CSS class of the label displaying mouse coordinates.- See Also:
- Constant Field Values
-
-