Package org.moeaframework.analysis.plot
Class Style
java.lang.Object
org.moeaframework.analysis.plot.Style
Collection of style constants.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PaintAttributeblack()Returns a style attribute to render the series in a black color.static PaintAttributeblue()Returns a style attribute to render the series in a blue color.static ShapeAttributecircle()Returns a style attribute to render the series shape as a circle.static PaintAttributeReturns a style attribute to render the series in a custom color.static PaintScaleAttributeReturns a style attribute to render the series in the specified color gradient paint scale.static PaintAttributegreen()Returns a style attribute to render the series in a green color.static PaintAttributehsb(float h, float s, float b) Returns a style attribute to render the series in the specified HSB color.static SizeAttributelarge()Returns a style attribute to render the series line and/or shape in a large size.static SizeAttributemedium()Returns a style attribute to render the series line and/or shape in a medium size.static PaintScaleAttributerainbow()Returns a style attribute to render the series using a rainbow paint scale.static PaintAttributered()Returns a style attribute to render the series in a red color.static PaintAttributergb(int r, int g, int b) Returns a style attribute to render the series in the specified RGB color.static LabelAttributeReturns a style attribute that renders labels alongside data points.static TooltipAttributeReturns a style attribute that displays tooltips when hovering the mouse over data points.static SizeAttributesize(double size) Returns a style attribute to render the series line and/or shape in a custom size.static SizeAttributesmall()Returns a style attribute to render the series line and/or shape in a small size.static ShapeAttributesquare()Returns a style attribute to render the series shape as a square.
-
Field Details
-
DEFAULT_SIZE
public static final double DEFAULT_SIZEThe default size.- See Also:
-
-
Method Details
-
circle
Returns a style attribute to render the series shape as a circle.- Returns:
- the resulting style attribute
-
square
Returns a style attribute to render the series shape as a square.- Returns:
- the resulting style attribute
-
size
Returns a style attribute to render the series line and/or shape in a custom size.- Parameters:
size- the size- Returns:
- the resulting style attribute
-
small
Returns a style attribute to render the series line and/or shape in a small size.- Returns:
- the resulting style attribute
-
medium
Returns a style attribute to render the series line and/or shape in a medium size.- Returns:
- the resulting style attribute
-
large
Returns a style attribute to render the series line and/or shape in a large size.- Returns:
- the resulting style attribute
-
color
Returns a style attribute to render the series in a custom color.- Parameters:
color- the color- Returns:
- the resulting style attribute
-
black
Returns a style attribute to render the series in a black color.- Returns:
- the resulting style attribute
-
red
Returns a style attribute to render the series in a red color.- Returns:
- the resulting style attribute
-
green
Returns a style attribute to render the series in a green color.- Returns:
- the resulting style attribute
-
blue
Returns a style attribute to render the series in a blue color.- Returns:
- the resulting style attribute
-
rgb
Returns a style attribute to render the series in the specified RGB color.- Parameters:
r- the red component (0 - 255)g- the green component (0 - 255)b- the blue component (0 - 255)- Returns:
- the resulting style attribute
- See Also:
-
hsb
Returns a style attribute to render the series in the specified HSB color.- Parameters:
h- the hues- the saturationb- the brightness- Returns:
- the resulting style attribute
- See Also:
-
gradient
Returns a style attribute to render the series in the specified color gradient paint scale.- Parameters:
baseColor- the base color- Returns:
- the resulting style attribute
-
rainbow
Returns a style attribute to render the series using a rainbow paint scale.- Returns:
- the resulting style attribute
-
showLabels
Returns a style attribute that renders labels alongside data points.- Returns:
- the resulting style attribute
-
showToolTips
Returns a style attribute that displays tooltips when hovering the mouse over data points.- Returns:
- the resulting style attribute
-