private class XyPlotBase.StyleAdapter extends Object implements XyStyle
| Modifier and Type | Field and Description |
|---|---|
private Color |
color |
private Boolean |
dashes |
private Float |
lineWidth |
private ChartShape |
pointShape |
private Boolean |
pointsVisible |
| Modifier | Constructor and Description |
|---|---|
private |
StyleAdapter()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
XyStyle |
withColor(Color color)
Sets the color for this series
|
XyStyle |
withDashes(boolean dashed)
Sets whether line based plots should use a dashed line
|
XyStyle |
withLineWidth(float lineWidth)
Sets the line width for the series for line based plots
|
XyStyle |
withPointShape(ChartShape pointShape)
Sets the point shape to use for this series
|
XyStyle |
withPointsVisible(boolean pointsVisible)
Sets whether points should be visible for this series
|
private Color color
private Boolean dashes
private ChartShape pointShape
private Float lineWidth
private Boolean pointsVisible
public XyStyle withColor(Color color)
XyStylepublic XyStyle withDashes(boolean dashed)
XyStylewithDashes in interface XyStyledashed - true if lines should be dashedpublic XyStyle withLineWidth(float lineWidth)
XyStylewithLineWidth in interface XyStylelineWidth - the line wisthpublic XyStyle withPointShape(ChartShape pointShape)
XyStylewithPointShape in interface XyStylepointShape - the shape for seriespublic XyStyle withPointsVisible(boolean pointsVisible)
XyStylewithPointsVisible in interface XyStylepointsVisible - true to make points visibleCopyright 2014-2017, Xavier Witdouck