Package com.anylogic.engine.analysis
- java.lang.Object
- com.anylogic.engine.analysis.Chart2DPlot.Appearance
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Chart2DPlot
public static class Chart2DPlot.Appearance extends Object implements Serializable
Descriptor or a data set plot appearance. Defines the line and point
properties.
- See Also:
- Serialized Form
Constructor | Description |
---|---|
Appearance |
Creates a data set plot appearance for TimePlot.
|
Appearance |
Creates a data set plot appearance.
|
public Appearance(Color color, boolean drawLine, Chart.InterpolationType interpolationType, double lineWidth, Chart.PointStyle pointStyle)
Creates a data set plot appearance.
- Parameters:
color
- the color of plotdrawLine
- iftrue
, a line will be drawn between pointsinterpolationType
- either Chart.INTERPOLATION_LINEAR or Chart.INTERPOLATION_STEPlineWidth
- the width of the linepointStyle
- use Chart.POINT_NONE to draw no points, or Chart.POINT_SQUARE, Chart.POINT_CIRCLE, Chart.POINT_TRIANGLE
public Appearance(Color color, boolean drawLine, boolean fillAreaUnderLine, Chart.InterpolationType interpolationType, double lineWidth, Chart.PointStyle pointStyle)
Creates a data set plot appearance for TimePlot.
- Parameters:
color
- the color of plotdrawLine
- iftrue
, a line will be drawn between pointsfillAreaUnderLine
- iftrue
, area under line must be filled, this setting works only for TimePlot.interpolationType
- either Chart.INTERPOLATION_LINEAR or Chart.INTERPOLATION_STEPlineWidth
- the width of the linepointStyle
- use Chart.POINT_NONE to draw no points, or Chart.POINT_SQUARE, Chart.POINT_CIRCLE, Chart.POINT_TRIANGLE