The following tables are the valid values to be used when calling plot related functions that take a color (setBackground(string color), etc…), an alignment (setAlignment()), a rotation (setRotation()), a fill pattern (setFillPattern()), a fill type (setFillType()), a line style (setLineStyle()), a step style (setLineStepStyle()).or a symbol type (setSymbolType()).

All non-numeric values must be quoted when specified. The case of the text is insignificant.

Colors


Colors can be specified either by a String or by a java.awt.Color object. If setting a color through the use of a String object the String can either be a standard color name (i.e. "darkred") or an RGB string (i.e. "255,20,20"). Standard color names are listed here:

Base ColorLight VariantDark Variant
black  
white  
bluelightbluedarkblue
cyanlightcyandarkcyan
graylightgraydarkgray
greenlightgreendarkgreen
magentalightmagentadarkmagenta
orangelightorangedarkorange
pinklightpinkdarkpink
purplelightpurpledarkpurple
redlightreddarkred
yellowlightyellowdarkyellow

Alignment

  • left
  • center
  • right

Positions

  • above
  • center
  • below

Rotation

  • 0
  • 90
  • 180
  • 270

Fill Patterns

  • none
  • horizontal
  • vertical
  • cross
  • fdiagonal
  • bdiagonal
  • diagonal cross

Fill Types

  • none
  • above
  • below

Line Styles

  • solid
  • dash
  • dot
  • dash dot
  • dash dot-dot

Step Style

  • normal
  • step
  • cubic

Symbol Types

Base ShapeSquare VariantDiamond VariantTriangle VariantTrangle2 VariantCircle VariantHourglass Variant
<open shape>open squareopen diamondopen triangleopen triangle2open circleopen hourglass
<filled shape>squarediamondtriangletriangle2circlehourglass
xx square x trianglex triangle2x circle 
hashhash squarehash diamondhash trianglehash triangle2  
plusplus squareplus diamond  plus circle 
pipepipe squarepipe diamond    
forwardshlashforwardslash square     
backslashbackslash square     
asterisk