public interface ILinePropertySet
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getAreaColorAbove()
Returns the color currently used for the areas above the horizontal line.
|
java.awt.Color |
getAreaColorBelow()
Returns the color currently used for the areas below the horizontal line.
|
int |
getLayout()
Returns the layout of the chart.
|
boolean[] |
getSelectiveStepLineDrawn()
Returns the boolean used to determine what line is a step line
|
double |
getStepLineRatio()
Returns the proportion of the horizontal to the overall step line segment
|
boolean |
isAreaVisible()
Returns the state of drawing the area between dataline & one horizontal line.
|
boolean |
isDataDrawnOnTop()
Returns the state of drawing the datapoints on top.
|
boolean |
isSelectiveStepLineUsed()
Returns if selective step line is used
|
boolean |
isStepLineDrawn()
Returns if all of the datalines are drawn in the step line fashion
|
void |
setAreaColors(java.awt.Color colorAbove,
java.awt.Color colorBelow)
Sets the colors of the areas enclosed by dataline & horizontal line.
|
void |
setAreaVisible(boolean state)
Enable drawing the area between dataline & one horizontal line.
|
void |
setDataDrawnOnTop(boolean state)
Specifies the drawing order of the datapoints, or the datalines--i.e.
|
void |
setLayout(int x)
Sets the layout of the chart to horizontal or vertical.
|
void |
setSelectiveStepLineDrawn(boolean[] stepSelect)
Specifies Step Lines to be drawn for selected lines.
|
void |
setStepLineDrawn(boolean step)
Specifies Step Lines to be drawn for all lines.
|
void |
setStepLineDrawn(boolean step,
double ratio)
Specifies Step Lines to be drawn for all lines.
|
void |
setStepLineRatio(double ratio)
Specifies the proportion of the horizontal to the overall step line segment
|
boolean isStepLineDrawn()
boolean isSelectiveStepLineUsed()
double getStepLineRatio()
void setStepLineRatio(double ratio)
boolean[] getSelectiveStepLineDrawn()
void setStepLineDrawn(boolean step)
void setSelectiveStepLineDrawn(boolean[] stepSelect)
void setStepLineDrawn(boolean step, double ratio)
ratio
- use 0.0 to draw vertical line first, 1.0 to draw horizontal lines til the next
category, or any number between 0.0 to 1.0 to specify where the "step" occurs.int getLayout()
void setLayout(int x)
x
- QbChart.VERTICAL or QbChart.HORIZONTALvoid setAreaVisible(boolean state)
boolean isAreaVisible()
void setAreaColors(java.awt.Color colorAbove, java.awt.Color colorBelow)
colorAbove
- the color that is above the horizontal line, default value is Color.pink.colorBelow
- the color that is below the horizontal line, default value is Color.green.java.awt.Color getAreaColorAbove()
java.awt.Color getAreaColorBelow()
void setDataDrawnOnTop(boolean state)
boolean isDataDrawnOnTop()