public class CrosshairIndicator extends AbstractDataFormattingPlugin
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, yValueFormatterPropertyaddButtonsToToolBarProperty, chartProperty| 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, yValueFormatterPropertyaddButtonsToToolBarProperty, chartProperty, getChart, getChartChildren, getLocationInPlotArea, isAddButtonsToToolBar, layoutChildren, registerInputEventHandler, setAddButtonsToToolBar, setChart, toDataPoint, toDisplayPointpublic static final String STYLE_CLASS_PATH
public static final String STYLE_CLASS_LABEL
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.