AnyLogic
Expand
Font size
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 Summary

ConstructorDescription
Appearance(Color color, boolean drawLine, boolean fillAreaUnderLine, Chart.InterpolationType interpolationType, double lineWidth, Chart.PointStyle pointStyle)
Creates a data set plot appearance for TimePlot.
Appearance(Color color, boolean drawLine, Chart.InterpolationType interpolationType, double lineWidth, Chart.PointStyle pointStyle)
Creates a data set plot appearance.

Method Summary

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

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 plot
drawLine - if true, a line will be drawn between points
interpolationType - either Chart.INTERPOLATION_LINEAR or Chart.INTERPOLATION_STEP
lineWidth - the width of the line
pointStyle - use Chart.POINT_NONE to draw no points, or Chart.POINT_SQUARE, Chart.POINT_CIRCLE, Chart.POINT_TRIANGLE

Appearance

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 plot
drawLine - if true, a line will be drawn between points
fillAreaUnderLine - if true, area under line must be filled, this setting works only for TimePlot.
interpolationType - either Chart.INTERPOLATION_LINEAR or Chart.INTERPOLATION_STEP
lineWidth - the width of the line
pointStyle - use Chart.POINT_NONE to draw no points, or Chart.POINT_SQUARE, Chart.POINT_CIRCLE, Chart.POINT_TRIANGLE