chart-fx icon indicating copy to clipboard operation
chart-fx copied to clipboard

AbstractValueIndicator: prevent label editing when setEditable(false)

Open dedeibel opened this issue 1 year ago • 1 comments

  • Affects XValueIndicator, YValueIndicator, YWatchValueIndicator

Workaround available:

        final XValueIndicator xIndicator = new XValueIndicator(xAxis, xValue, label) {
            {
                label.setOnMouseClicked(null);
            }

        };
        xIndicator.setEditable(false);
        chart.getPlugins().add(xIndicator);

dedeibel avatar Dec 12 '24 08:12 dedeibel