Class ItemShape

java.lang.Object
com.inet.report.chart.plot.ItemShape
All Implemented Interfaces:
Serializable

public class ItemShape extends Object implements Serializable
This class defines the shapes which used in the chart.
Since:
8.0
See Also:
  • Field Details

    • DEFAULT_SHAPE_SIZE

      public static final double DEFAULT_SHAPE_SIZE
      The default shape size.
      See Also:
    • TYPE_DEFAULT_SHAPE

      public static final int TYPE_DEFAULT_SHAPE
      The chart use a shapes sequence.
      See Also:
    • TYPE_RECTANGLE_SHAPE

      public static final int TYPE_RECTANGLE_SHAPE
      The chart use only rectangle shapes.
      See Also:
    • TYPE_CIRCLE_SHAPE

      public static final int TYPE_CIRCLE_SHAPE
      The chart use only circle shapes.
      See Also:
    • TYPE_DIAMOND_SHAPE

      public static final int TYPE_DIAMOND_SHAPE
      The chart use only diamond shapes.
      See Also:
    • TYPE_TRIANGLE_SHAPE

      public static final int TYPE_TRIANGLE_SHAPE
      The chart use only triangle shapes.
      See Also:
  • Constructor Details

    • ItemShape

      public ItemShape()
      Creates a item shape with default type and size. This item shape is used by legend in the list of chart items and by items of chart plot, e.g. by line plot with markers.
      Since:
      8.0
      See Also:
    • ItemShape

      public ItemShape(int type, double size)
      Creates a item shape. This item shape is used by legend in the list of chart items and by items of chart plot, e.g. by line plot with markers.
      Parameters:
      type - the shape type
      size - the shape size
      Throws:
      IllegalArgumentException - by illegal shape type or negative shape size.
      Since:
      8.0
      See Also:
  • Method Details