public final class DefaultChartLine extends Object implements IsDefaultLine
Modifier and Type | Method and Description |
---|---|
String |
getBackgroundColorAsString()
Returns the background color.
|
CapStyle |
getBorderCapStyle()
Returns how the end points of every line are drawn.
|
String |
getBorderColorAsString()
Returns the border color.
|
int |
getBorderDashOffset()
Returns the line dash pattern offset or "phase".
|
JoinStyle |
getBorderJoinStyle()
Returns how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified
end points and control points are exactly at the same position, are skipped).
There are three possible values for this property: round, bevel and miter. |
int |
getBorderWidth()
Returns the border width.
|
CubicInterpolationMode |
getCubicInterpolationMode()
Returns algorithm used to interpolate a smooth curve from the discrete data points.
|
IsFill |
getFill()
Returns how to fill the area under the line.
|
double |
getTension()
Returns the Bézier curve tension (0 for no Bézier curves).
|
boolean |
isCapBezierPoints()
Returns
true to keep Bézier control inside the chart, false for no restriction. |
boolean |
isStepped()
Returns
true to show the line as a stepped line (tension will be ignored). |
public String getBackgroundColorAsString()
IsDefaultOptionsElement
getBackgroundColorAsString
in interface IsDefaultOptionsElement
public int getBorderWidth()
IsDefaultOptionsElement
getBorderWidth
in interface IsDefaultOptionsElement
public String getBorderColorAsString()
IsDefaultOptionsElement
getBorderColorAsString
in interface IsDefaultOptionsElement
public double getTension()
IsDefaultLine
getTension
in interface IsDefaultLine
public CapStyle getBorderCapStyle()
IsDefaultLine
getBorderCapStyle
in interface IsDefaultLine
public int getBorderDashOffset()
IsDefaultLine
getBorderDashOffset
in interface IsDefaultLine
public JoinStyle getBorderJoinStyle()
IsDefaultLine
getBorderJoinStyle
in interface IsDefaultLine
public boolean isCapBezierPoints()
IsDefaultLine
true
to keep Bézier control inside the chart, false
for no restriction.isCapBezierPoints
in interface IsDefaultLine
true
to keep Bézier control inside the chart, false
for no restriction.public CubicInterpolationMode getCubicInterpolationMode()
IsDefaultLine
getCubicInterpolationMode
in interface IsDefaultLine
public IsFill getFill()
IsDefaultLine
getFill
in interface IsDefaultLine
public boolean isStepped()
IsDefaultLine
true
to show the line as a stepped line (tension will be ignored).isStepped
in interface IsDefaultLine
true
to show the line as a stepped line (tension will be ignored).