AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.analysis.Chart2DPlot.Appearance
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Chart2DPlot

public static class Chart2DPlot.Appearance
extends java.lang.Object
implements java.io.Serializable
Descriptor or a data set plot appearance. Defines the line and point properties.
See Also:
Serialized Form

Constructor Summary

Constructors 
Appearance​(java.awt.Color color, boolean drawLine, boolean fillAreaUnderLine, Chart.InterpolationType interpolationType, double lineWidth, Chart.PointStyle pointStyle)
Creates a data set plot appearance for TimePlot.
Appearance​(java.awt.Color color, boolean drawLine, Chart.InterpolationType interpolationType, double lineWidth, Chart.PointStyle pointStyle)
Creates a data set plot appearance.
Constructor Description

Method Summary

Methods inherited from class java.lang.Object

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

Constructor Detail

Appearance

public Appearance​(java.awt.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​(java.awt.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
How can we improve this article?