Class SeriesColorMarkerLineStyleCycler
java.lang.Object
org.knowm.xchart.internal.style.SeriesColorMarkerLineStyleCycler
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 Summary
FieldsModifier and TypeFieldDescriptionprivate intan internal counterprivate intprivate final Color[]a List holding the Colorsprivate final BasicStroke[]a map holding the SeriesLineStylesprivate final Marker[]a map holding the SeriesMarkersprivate int -
Constructor Summary
ConstructorsConstructorDescriptionSeriesColorMarkerLineStyleCycler(Color[] seriesColorList, Marker[] seriesMarkerList, BasicStroke[] seriesLineStyleList) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the next ColorMarkerLineStyle
-
Field Details
-
seriesColorList
a List holding the Colors -
seriesMarkerList
a map holding the SeriesMarkers -
seriesLineStyleList
a map holding the SeriesLineStyles -
colorCounter
private int colorCounteran 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
Get the next ColorMarkerLineStyle- Returns:
- the next ColorMarkerLineStyle
-