Class 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 Detail

      • DialSeries

        public DialSeries​(String name,
                          double value,
                          String annotation)
        Parameters:
        annotation - Adds custom annotation for series. If annotation is null, it is automatically calculated.
    • Method Detail

      • getValue

        public double getValue()
      • setValue

        public void setValue​(double value)
      • getAnnotation

        public String getAnnotation()
      • 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 class org.knowm.xchart.internal.series.Series