-
- All Known Implementing Classes:
AreaChartFX
,BarChartFX
,DensityChartFX
,HistogramChartFX
,LineChartFX
,ScatterChartFX
public interface Pluggable
Defines the needed behavior for a plot chart to be plugged withPlugin
s.- Author:
- claudio.rosati@esss.se
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Chart
getChart()
ObservableList<Legend.LegendItem>
getLegendItems()
ObservableList<Node>
getPlotChildren()
ObservableList<Plugin>
getPlugins()
boolean
isNotShownInLegend(String seriesName)
Returns whether the series with the given name is displayed in chartLegend
or not.void
setNotShownInLegend(String seriesName)
Specifies a series to not be shown in chartLegend
.
-
-
-
Method Detail
-
getChart
Chart getChart()
- Returns:
- The "pluggable" chart.
-
getLegendItems
ObservableList<Legend.LegendItem> getLegendItems()
- Returns:
- The an
ObservableList
ofLegend.LegendItem
displayed in theLegend
of the pluggable chart.
-
getPlotChildren
ObservableList<Node> getPlotChildren()
- Returns:
- The pluggable chart's plot children list.
-
getPlugins
ObservableList<Plugin> getPlugins()
- Returns:
- A non-
null
list of plugins added to the chart.
-
isNotShownInLegend
boolean isNotShownInLegend(String seriesName)
Returns whether the series with the given name is displayed in chartLegend
or not.- Parameters:
seriesName
- The name of the series to be checked.- Returns:
true
if the series with the given name is not shown in chartLegend
.
-
-