public class ChartLine
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
SHAPETYPE_CIRCLE1 |
static int |
SHAPETYPE_CIRCLE2 |
static int |
SHAPETYPE_CIRCLE3 |
static int |
SHAPETYPE_RECT1 |
static int |
SHAPETYPE_RECT2 |
static int |
SHAPETYPE_RECT3 |
static int |
SHAPETYPE_TRIANGLE1 |
static int |
SHAPETYPE_TRIANGLE2 |
static int |
SHAPETYPE_TRIANGLE3 |
| Constructor and Description |
|---|
ChartLine() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getColor() |
java.util.List<java.lang.String> |
getExtLegendTexts() |
java.lang.String |
getLineCategory() |
java.lang.String |
getName() |
int |
getShapeType() |
int |
getStroke() |
boolean |
getWithLines() |
boolean |
getWithShapes() |
void |
setColor(java.lang.String color)
Color of the line, format "#RRGGBB".
|
void |
setExtLegendTexts(java.util.List<java.lang.String> extLegendTexts)
If set to true then an extended legend is drawn at the left and right side
of the chart.
|
void |
setLineCategory(java.lang.String lineCategory)
Each line represents a certain category - i.e. the logical id that is represented
by the line.
|
void |
setName(java.lang.String name)
The name of the line.
|
void |
setShapeType(int shapeType)
Sets the shape type that is used for indicating points witihn line charts.
|
void |
setStroke(int stroke)
Sets the size of the line for line charts.
|
void |
setWithLines(boolean withLines)
In case of line charts: this flage defines if lines are drawn between the point ot not.
|
void |
setWithShapes(boolean withShapes)
In case of line charts: defines, if shapes are rendered around each point.
|
public static final int SHAPETYPE_RECT1
public static final int SHAPETYPE_RECT2
public static final int SHAPETYPE_RECT3
public static final int SHAPETYPE_CIRCLE1
public static final int SHAPETYPE_CIRCLE2
public static final int SHAPETYPE_CIRCLE3
public static final int SHAPETYPE_TRIANGLE1
public static final int SHAPETYPE_TRIANGLE2
public static final int SHAPETYPE_TRIANGLE3
public void setExtLegendTexts(java.util.List<java.lang.String> extLegendTexts)
setExtLegendTexts(List).public java.util.List<java.lang.String> getExtLegendTexts()
public void setShapeType(int shapeType)
public int getShapeType()
public void setStroke(int stroke)
public int getStroke()
public void setName(java.lang.String name)
public java.lang.String getName()
public void setColor(java.lang.String color)
public java.lang.String getColor()
public void setWithShapes(boolean withShapes)
public boolean getWithShapes()
public void setLineCategory(java.lang.String lineCategory)
public java.lang.String getLineCategory()
public void setWithLines(boolean withLines)
public boolean getWithLines()
Copyright © CaptainCasa Gmbh. All Rights Reserved.