class GTrendLine extends Object implements XyTrend
This is open source software released under the Apache 2.0 License
| Modifier and Type | Field and Description |
|---|---|
private Color |
color |
private float |
lineWidth |
private Comparable |
seriesKey |
| Constructor and Description |
|---|
GTrendLine(Comparable seriesKey)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
XyTrend |
clear()
Removes this trend line from the chart
|
Color |
getColor()
Returns the line color
|
(package private) float |
getLineWidth()
Returns the line width
|
Comparable |
seriesKey()
Returns the series key for this trend line
|
XyTrend |
withColor(Color color)
Sets the color for the trend line
|
XyTrend |
withLineWidth(float width)
Sets the line width for the trend line
|
private Comparable seriesKey
private Color color
private float lineWidth
GTrendLine(Comparable seriesKey)
seriesKey - the series keypublic Comparable seriesKey()
XyTrendpublic XyTrend clear()
XyTrendpublic XyTrend withColor(Color color)
XyTrendpublic XyTrend withLineWidth(float width)
XyTrendwithLineWidth in interface XyTrendwidth - the line widthpublic Color getColor()
float getLineWidth()
Copyright 2014-2017, Xavier Witdouck