public class GraphConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
Color |
backgroundColor
Main background color for graphs
|
int |
fontPadX
left font padding for Year/Month labels
|
int |
fontPadY
top/bottom font padding for Year/Month labels
|
static int |
imageType
type of BufferedImage to create, specifically the final constructor arg.
|
Color |
regionBorderColor
color for Year/Month border lines
|
Stroke |
regionBorderStroke
Stroke for Year/Month border lines
|
String |
regionFontName
font name for Year/Month labels
|
int |
regionFontSize
font size for Year/Month labels
|
int |
regionFontStyle
font style for Year/Month labels
|
Color |
regionHighlightColor
Background color for active/selected Year/Month
|
Color |
regionLabelColor
font Color for Year/Month labels
|
Color |
valueColor
color for non-active/selected graph values
|
Color |
valueHighlightColor
color for active/selected graph values ( #ec008c )
|
int |
valueMinHeight
Minimum pixel height for non-zero graph values
|
Constructor and Description |
---|
GraphConfiguration() |
Modifier and Type | Method and Description |
---|---|
Font |
getRegionLabelFont() |
void |
setRenderingHints(Graphics2D g2d)
Set whatever redneringHints are needed to properly draw the graph, ie.
|
public static int imageType
public Color backgroundColor
public int regionFontSize
public String regionFontName
public int regionFontStyle
public Color regionLabelColor
public int fontPadY
public int fontPadX
public Color regionBorderColor
public Stroke regionBorderStroke
public Color regionHighlightColor
public Color valueColor
public Color valueHighlightColor
public int valueMinHeight
public Font getRegionLabelFont()
public void setRenderingHints(Graphics2D g2d)
g2d
- The Graphics2D objects on which the hints should be set.Copyright © 2005–2015 IIPC. All rights reserved.