Class SeriesColorMarkerLineStyleCycler

java.lang.Object
org.knowm.xchart.internal.style.SeriesColorMarkerLineStyleCycler

public class SeriesColorMarkerLineStyleCycler extends Object
Cycles through the different colors, markers, and strokes in a predetermined way

This is an internal class that should not be used be clients

  • Field Details

    • seriesColorList

      private final Color[] seriesColorList
      a List holding the Colors
    • seriesMarkerList

      private final Marker[] seriesMarkerList
      a map holding the SeriesMarkers
    • seriesLineStyleList

      private final BasicStroke[] seriesLineStyleList
      a map holding the SeriesLineStyles
    • colorCounter

      private int colorCounter
      an internal counter
    • markerCounter

      private int markerCounter
    • strokeCounter

      private int strokeCounter
  • Constructor Details

    • SeriesColorMarkerLineStyleCycler

      public SeriesColorMarkerLineStyleCycler(Color[] seriesColorList, Marker[] seriesMarkerList, BasicStroke[] seriesLineStyleList)
      Constructor
  • Method Details

    • getNextSeriesColorMarkerLineStyle

      public SeriesColorMarkerLineStyle getNextSeriesColorMarkerLineStyle()
      Get the next ColorMarkerLineStyle
      Returns:
      the next ColorMarkerLineStyle