Interface Series
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractSeries,DataProviderSeries,DataSeries,GanttSeries,HeatSeries,ListSeries,NodeSeries,RangeSeries,TreeSeries
Series interface for all kinds of Series
-
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()Gets the plot options related to this specific series.voidsetConfiguration(Configuration configuration) Sets the configuration to which this series is linked.voidSets an id for the seriesvoidSets the name of the series as shown in the legend, tooltip etc.voidsetPlotOptions(AbstractPlotOptions plotOptions) Sets the plot options for this specific series.
-
Method Details
-
getName
String getName()- Returns:
- The name of the series.
- See Also:
-
setName
Sets the name of the series as shown in the legend, tooltip etc. Defaults to "".- Parameters:
name-
-
setConfiguration
Sets the configuration to which this series is linked.- Parameters:
configuration-
-
getPlotOptions
AbstractPlotOptions getPlotOptions()Gets the plot options related to this specific series. This is needed e.g. in combined charts.- Returns:
-
setPlotOptions
Sets the plot options for this specific series. The type of the plot options also explicitly sets the chart type used when rendering this particular series. If plot options is null, the component wide chart type is used.Options that are not defined at this level will be inherited from the chart and theme levels.
- Parameters:
plotOptions-
-
getId
String getId()- Returns:
- the series ID
-
setId
Sets an id for the series- Parameters:
id- new ID to set
-