Class ChartLine

java.lang.Object
org.eclnt.util.chart.ChartLine
Direct Known Subclasses:
CategoryChartLine, PieChartLine, TimeBasedChartLine, XYChartLine

public class ChartLine extends Object
  • Field Details

  • Constructor Details

    • ChartLine

      public ChartLine()
  • Method Details

    • setExtLegendTexts

      public void setExtLegendTexts(List<String> extLegendTexts)
      If set to true then an extended legend is drawn at the left and right side of the chart. The extended legend is built out of the text that is passed via setExtLegendTexts(List).
    • getExtLegendTexts

      public List<String> getExtLegendTexts()
    • setShapeType

      public void setShapeType(int shapeType)
      Sets the shape type that is used for indicating points witihn line charts. Use on of the constants SHAPETYPE*.
    • getShapeType

      public int getShapeType()
    • setStroke

      public void setStroke(int stroke)
      Sets the size of the line for line charts.
    • getStroke

      public int getStroke()
    • setName

      public void setName(String name)
      The name of the line.
    • getName

      public String getName()
    • setColor

      public void setColor(String color)
      Color of the line, format "#RRGGBB".
    • getColor

      public String getColor()
    • setWithShapes

      public void setWithShapes(boolean withShapes)
      In case of line charts: defines, if shapes are rendered around each point.
    • getWithShapes

      public boolean getWithShapes()
    • setLineCategory

      public void setLineCategory(String lineCategory)
      Each line represents a certain category - i.e. the logical id that is represented by the line.
    • getLineCategory

      public String getLineCategory()
    • setWithLines

      public void setWithLines(boolean withLines)
      In case of line charts: this flage defines if lines are drawn between the point ot not.
    • getWithLines

      public boolean getWithLines()