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.
|
double |
getBorderDashOffset()
Returns the line dash pattern offset.
|
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).
|
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.
|
String |
getHoverBackgroundColorAsString()
Returns the background color when hovered.
|
String |
getHoverBorderColorAsString()
Returns the border color when hovered.
|
int |
getHoverBorderWidth()
Returns the border width when hovered.
|
Stepped |
getStepped()
Returns if the line is shown as a stepped 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. |
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 double 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()
IsDefaultFillHandler
getFill
in interface IsDefaultFillHandler
public Stepped getStepped()
IsDefaultLine
getStepped
in interface IsDefaultLine
public String getHoverBackgroundColorAsString()
IsDefaultOptionsElement
getHoverBackgroundColorAsString
in interface IsDefaultOptionsElement
public int getHoverBorderWidth()
IsDefaultOptionsElement
getHoverBorderWidth
in interface IsDefaultOptionsElement
public String getHoverBorderColorAsString()
IsDefaultOptionsElement
getHoverBorderColorAsString
in interface IsDefaultOptionsElement