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:
java.io.Serializable
public class LineStyle extends ChartStyle
This class defines the different styles of the line chart. This style belongs to the plotLinePlot.- Since:
- 8.0
- See Also:
LINE,LINE_STACKED,LINE_PERCENT,LINE_MARKER,LINE_MARKER_STACKED,LINE_MARKER_PERCENT, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static LineStyleLINEThe simple line chart style.static LineStyleLINE_MARKERThe line chart style with marker.static LineStyleLINE_MARKER_PERCENTThe line chart style with marker and percent values.static LineStyleLINE_MARKER_STACKEDThe line chart style with marker and stacked values.static LineStyleLINE_PERCENTThe simple line chart style with percent values.static LineStyleLINE_STACKEDThe simple line chart style with stacked values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.ListgetAllowedDatasets(Chart2 chart)Returns the list of dataset supported by this chart style.AbstractPlotgetDefaultPlot()Creates a new line plot and initializes the plot with default settings.booleanisMarkerLine()Returns this line style has shapes on the lines.booleanisPercentLine()Returns this is a percent style with or without marker.booleanisSimpleLine()Returns this is a simple style with or without marker.booleanisStackedLine()Returns this is a stacked style with or without marker.-
Methods inherited from class com.inet.report.chart.plot.ChartStyle
hashCode, toString
-
-
-
-
Field Detail
-
LINE
public static final LineStyle LINE
The simple line chart style.
-
LINE_STACKED
public static final LineStyle LINE_STACKED
The simple line chart style with stacked values.
-
LINE_PERCENT
public static final LineStyle LINE_PERCENT
The simple line chart style with percent values.
-
LINE_MARKER
public static final LineStyle LINE_MARKER
The line chart style with marker.
-
LINE_MARKER_STACKED
public static final LineStyle LINE_MARKER_STACKED
The line chart style with marker and stacked values.
-
LINE_MARKER_PERCENT
public static final LineStyle LINE_MARKER_PERCENT
The line chart style with marker and percent values.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classChartStyle
-
getDefaultPlot
public AbstractPlot getDefaultPlot()
Creates a new line plot and initializes the plot with default settings.- Specified by:
getDefaultPlotin classChartStyle- Returns:
- the plot of type
LinePlot. - Since:
- 8.0
- See Also:
AbstractPlot
-
getAllowedDatasets
public java.util.List getAllowedDatasets(Chart2 chart)
Returns the list of dataset supported by this chart style.- Specified by:
getAllowedDatasetsin classChartStyle- Parameters:
chart- the chart- Returns:
- the list of datasets.
- See Also:
Chart2
-
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
-
-