X
- type of X valuesY
- type of Y valuespublic class CrosshairIndicator<X,Y> extends AbstractDataFormattingPlugin<X,Y>
Line
drawn on the plot area, crossing at the mouse cursor location, together with a
Label
displaying the cursor coordinates in data units.
CSS style class names: "chart-crosshair-path" and "chart-crosshair-label"
xValueFormatterProperty, yValueFormatterProperty
chartPaneProperty
Modifier and Type | Field and Description |
---|---|
static String |
STYLE_CLASS_LABEL
Name of the CSS class of the label displaying mouse coordinates.
|
static String |
STYLE_CLASS_PATH
Name of the CSS class of the horizontal and vertical lines path.
|
Constructor and Description |
---|
CrosshairIndicator()
Creates a new instance of CrosshairIndicator class.
|
formatData, getXValueFormatter, getYValueFormatter, setXValueFormatter, setYValueFormatter, xValueFormatterProperty, yValueFormatterProperty
chartPaneProperty, getChartChildren, getChartPane, getCharts, getLocationInPlotArea, layoutChildren, registerMouseEventHandler, setChartPane, toDataPoint, toDisplayPoint
public static final String STYLE_CLASS_PATH
public static final String STYLE_CLASS_LABEL
Copyright © 2019 CERN. All rights reserved.