Package com.inet.report.chart.plot
Class LineStyle
java.lang.Object
com.inet.report.chart.plot.ChartStyle
com.inet.report.chart.plot.LineStyle
- All Implemented Interfaces:
Serializable
This class defines the different styles of the line chart.
This style belongs to the plot
LinePlot
.- Since:
- 8.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LineStyle
The simple line chart style.static final LineStyle
The line chart style with marker.static final LineStyle
The line chart style with marker and percent values.static final LineStyle
The line chart style with marker and stacked values.static final LineStyle
The simple line chart style with percent values.static final LineStyle
The simple line chart style with stacked values. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAllowedDatasets
(Chart2 chart) Returns the list of dataset supported by this chart style.Creates a new line plot and initializes the plot with default settings.boolean
Returns this line style has shapes on the lines.boolean
Returns this is a percent style with or without marker.boolean
Returns this is a simple style with or without marker.boolean
Returns this is a stacked style with or without marker.Methods inherited from class com.inet.report.chart.plot.ChartStyle
hashCode, toString
-
Field Details
-
LINE
The simple line chart style. -
LINE_STACKED
The simple line chart style with stacked values. -
LINE_PERCENT
The simple line chart style with percent values. -
LINE_MARKER
The line chart style with marker. -
LINE_MARKER_STACKED
The line chart style with marker and stacked values. -
LINE_MARKER_PERCENT
The line chart style with marker and percent values.
-
-
Method Details
-
equals
- Overrides:
equals
in classChartStyle
-
getDefaultPlot
Creates a new line plot and initializes the plot with default settings.- Specified by:
getDefaultPlot
in classChartStyle
- Returns:
- the plot of type
LinePlot
. - Since:
- 8.0
- See Also:
-
getAllowedDatasets
Returns the list of dataset supported by this chart style.- Specified by:
getAllowedDatasets
in classChartStyle
- Parameters:
chart
- the chart- Returns:
- the list of datasets.
- See Also:
-
isSimpleLine
public boolean isSimpleLine()Returns this is a simple style with or without marker.- Returns:
- is a simple style.
- Since:
- 8.0
-
isStackedLine
public boolean isStackedLine()Returns this is a stacked style with or without marker.- Returns:
- is a simple style.
- Since:
- 8.0
-
isPercentLine
public boolean isPercentLine()Returns this is a percent style with or without marker.- Returns:
- is a percent style.
- Since:
- 8.0
-
isMarkerLine
public boolean isMarkerLine()Returns this line style has shapes on the lines.- Returns:
- has markers.
- Since:
- 8.0
-