Package org.knowm.xchart
Class DialSeries
- java.lang.Object
-
- org.knowm.xchart.internal.series.Series
-
- org.knowm.xchart.DialSeries
-
public class DialSeries extends org.knowm.xchart.internal.series.Series
A Series containing Radar data to be plotted on a Chart- Author:
- timmolter
-
-
Constructor Summary
Constructors Constructor Description DialSeries(String name, double value, String annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnnotation()
org.knowm.xchart.internal.chartpart.RenderableSeries.LegendRenderType
getLegendRenderType()
Color
getLineColor()
BasicStroke
getLineStyle()
float
getLineWidth()
Marker
getMarker()
Color
getMarkerColor()
double
getValue()
DialSeries
setLineColor(Color color)
Set the line color of the seriesDialSeries
setLineStyle(BasicStroke basicStroke)
Set the line style of the seriesDialSeries
setLineWidth(float lineWidth)
Set the line width of the seriesDialSeries
setMarker(Marker marker)
Sets the marker for the seriesDialSeries
setMarkerColor(Color color)
Sets the marker color for the seriesvoid
setValue(double value)
-
-
-
Method Detail
-
getValue
public double getValue()
-
setValue
public void setValue(double value)
-
getAnnotation
public String getAnnotation()
-
getLineStyle
public BasicStroke getLineStyle()
-
setLineStyle
public DialSeries setLineStyle(BasicStroke basicStroke)
Set the line style of the series- Parameters:
basicStroke
-
-
getLineColor
public Color getLineColor()
-
setLineColor
public DialSeries setLineColor(Color color)
Set the line color of the series- Parameters:
color
-
-
getLineWidth
public float getLineWidth()
-
setLineWidth
public DialSeries setLineWidth(float lineWidth)
Set the line width of the series- Parameters:
lineWidth
-
-
getMarker
public Marker getMarker()
-
setMarker
public DialSeries setMarker(Marker marker)
Sets the marker for the series- Parameters:
marker
-
-
getMarkerColor
public Color getMarkerColor()
-
setMarkerColor
public DialSeries setMarkerColor(Color color)
Sets the marker color for the series- Parameters:
color
-
-
getLegendRenderType
public org.knowm.xchart.internal.chartpart.RenderableSeries.LegendRenderType getLegendRenderType()
- Specified by:
getLegendRenderType
in classorg.knowm.xchart.internal.series.Series
-
-