Package org.jCharts.properties
Class ChartProperties
java.lang.Object
org.jCharts.properties.Properties
org.jCharts.properties.AreaProperties
org.jCharts.properties.ChartProperties
- All Implemented Interfaces:
Serializable,HTMLTestable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate booleanFields inherited from class org.jCharts.properties.Properties
DEFAULT_BACKGROUND_PAINT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatReturns the number of pixels between the Chart Title and the axis plot areavoidsetTitleFont(ChartFont titleFont) voidsetTitlePadding(float pixels) voidsetValidate(boolean validate) Toggles the validation of data and properties for the charts.voidtoHTML(HTMLGenerator htmlGenerator) Enables the testing routines to display the contents of this Object.booleanvalidate()Methods inherited from class org.jCharts.properties.AreaProperties
getBorderStroke, getEdgePadding, setBorderStroke, setEdgePaddingMethods inherited from class org.jCharts.properties.Properties
getBackgroundPaint, setBackgroundPaint
-
Field Details
-
titleChartFont
-
titlePadding
private float titlePadding -
validate
private boolean validate
-
-
Constructor Details
-
ChartProperties
public ChartProperties()
-
-
Method Details
-
getTitleFont
- Returns:
- ChartFont
-
setTitleFont
-
getTitlePadding
public float getTitlePadding()Returns the number of pixels between the Chart Title and the axis plot area- Returns:
- float
-
setTitlePadding
public void setTitlePadding(float pixels) -
validate
public boolean validate()- Returns:
- boolean
- Since:
- 0.7.0
-
setValidate
public void setValidate(boolean validate) Toggles the validation of data and properties for the charts. This should be false for production systems as it will run slightly faster. Anything for speed, right? ;)- Parameters:
validate-- Since:
- 0.7.0
-
toHTML
Enables the testing routines to display the contents of this Object.- Specified by:
toHTMLin interfaceHTMLTestable- Overrides:
toHTMLin classAreaProperties- Parameters:
htmlGenerator-
-