public class CategoryAxesSettings extends AbstractChartObject
Constructor and Description |
---|
CategoryAxesSettings() |
Modifier and Type | Method and Description |
---|---|
CategoryAxesSettings |
addDateFormats(DateFormat... dateFormats)
Adds date formats.
|
CategoryAxesSettings |
addGroupToPeriods(java.lang.String... groupToPeriods)
Adds groupToPeriods strings.
|
java.lang.Boolean |
getAlwaysGroup() |
java.lang.Boolean |
getAutoGridCount() |
java.lang.Double |
getAxisAlpha() |
Color |
getAxisColor() |
java.lang.Integer |
getAxisHeight() |
java.lang.Integer |
getAxisThickness() |
java.lang.Boolean |
getBoldLabels() |
java.lang.Boolean |
getBoldPeriodBeginning() |
Color |
getColor() |
java.lang.Integer |
getDashLength() |
java.util.List<DateFormat> |
getDateFormats() |
java.lang.Boolean |
getEqualSpacing() |
java.lang.Double |
getFillAlpha() |
Color |
getFillColor() |
java.lang.Integer |
getFontSize() |
java.lang.Double |
getGridAlpha() |
Color |
getGridColor() |
java.lang.Integer |
getGridCount() |
java.lang.Integer |
getGridThickness() |
java.util.List<java.lang.String> |
getGroupToPeriods() |
java.lang.Boolean |
getInside() |
java.lang.Integer |
getLabelOffset() |
java.lang.Integer |
getLabelRotation() |
java.lang.Boolean |
getLabelsEnabled() |
java.lang.Boolean |
getMarkPeriodChange() |
java.lang.Integer |
getMaxSeries() |
java.lang.Integer |
getMinHorizontalGap() |
java.lang.Double |
getMinorGridAlpha() |
java.lang.Boolean |
getMinorGridEnabled() |
java.lang.String |
getMinPeriod() |
CategoryAxesPosition |
getPosition() |
java.lang.Boolean |
getStartOnAxis() |
java.lang.Integer |
getTickLength() |
java.lang.Boolean |
getTwoLineMode() |
CategoryAxesSettings |
setAlwaysGroup(java.lang.Boolean alwaysGroup)
Set alwaysGroup to true and if groupToPeriods doesn't have minPeriod value included, chart will always group
values to the first period available.
|
CategoryAxesSettings |
setAutoGridCount(java.lang.Boolean autoGridCount)
Set autoGridCount to false if you don't want the number of gridCount are specified automatically,
according to the axis size.
|
CategoryAxesSettings |
setAxisAlpha(java.lang.Double axisAlpha)
Sets axis opacity.
|
CategoryAxesSettings |
setAxisColor(Color axisColor)
Sets axis color.
|
CategoryAxesSettings |
setAxisHeight(java.lang.Integer axisHeight)
Sets height of category axes.
|
CategoryAxesSettings |
setAxisThickness(java.lang.Integer axisThickness)
Sets thickness of the axis.
|
CategoryAxesSettings |
setBoldLabels(java.lang.Boolean boldLabels)
Set to true if axis labels should be bold.
|
CategoryAxesSettings |
setBoldPeriodBeginning(java.lang.Boolean boldPeriodBeginning)
Set boldPeriodBeginning to false if you want chart will not try to highlight the beginning of the periods,
like month, in bold.
|
CategoryAxesSettings |
setColor(Color color)
Sets text color.
|
CategoryAxesSettings |
setDashLength(java.lang.Integer dashLength)
Sets length of a dash.
|
CategoryAxesSettings |
setDateFormats(java.util.List<DateFormat> dateFormats)
Sets list of date formats of different periods.
|
CategoryAxesSettings |
setEqualSpacing(java.lang.Boolean equalSpacing)
Set equalSpacing to true if you want data points to be placed at equal intervals (omitting dates with no data).
|
CategoryAxesSettings |
setFillAlpha(java.lang.Double fillAlpha)
Sets fill opacity.
|
CategoryAxesSettings |
setFillColor(Color fillColor)
Sets fill color.
|
CategoryAxesSettings |
setFontSize(java.lang.Integer fontSize)
Sets text size.
|
CategoryAxesSettings |
setGridAlpha(java.lang.Double gridAlpha)
Sets opacity of grid lines.
|
CategoryAxesSettings |
setGridColor(Color gridColor)
Sets color of grid lines.
|
CategoryAxesSettings |
setGridCount(java.lang.Integer gridCount)
Sets number of grid lines.
|
CategoryAxesSettings |
setGridThickness(java.lang.Integer gridThickness)
Sets thickness of grid lines.
|
CategoryAxesSettings |
setGroupToPeriods(java.util.List<java.lang.String> groupToPeriods)
Sets list of groupToPeriods strings.
|
CategoryAxesSettings |
setInside(java.lang.Boolean inside)
Set inside to true if values should be placed inside of plot area.
|
CategoryAxesSettings |
setLabelOffset(java.lang.Integer labelOffset)
Sets offset of axis labels.
|
CategoryAxesSettings |
setLabelRotation(java.lang.Integer labelRotation)
Sets rotation angle of a label.
|
CategoryAxesSettings |
setLabelsEnabled(java.lang.Boolean labelsEnabled)
Set labelsEnabled to false if you don't wont to display category axis labels and value axis values.
|
CategoryAxesSettings |
setMarkPeriodChange(java.lang.Boolean markPeriodChange)
Set markPeriodChange to false if period shouldn't be marked by a different date format
|
CategoryAxesSettings |
setMaxSeries(java.lang.Integer maxSeries)
Sets maximum series shown at a time.
|
CategoryAxesSettings |
setMinHorizontalGap(java.lang.Integer minHorizontalGap)
Sets minimum cell width required for one span between grid lines.
|
CategoryAxesSettings |
setMinorGridAlpha(java.lang.Double minorGridAlpha)
Sets opacity of minor grid.
|
CategoryAxesSettings |
setMinorGridEnabled(java.lang.Boolean minorGridEnabled)
Set to true if minor grid should be displayed.
|
CategoryAxesSettings |
setMinPeriod(java.lang.String minPeriod)
Sets the shortest period of your data.
|
CategoryAxesSettings |
setPosition(CategoryAxesPosition position)
Sets position of category axes.
|
CategoryAxesSettings |
setStartOnAxis(java.lang.Boolean startOnAxis)
Set startOnAxis to false if the graph should start on axis.
|
CategoryAxesSettings |
setTickLength(java.lang.Integer tickLength)
Sets tick length.
|
CategoryAxesSettings |
setTwoLineMode(java.lang.Boolean twoLineMode)
Set twoLineMode to true, category axis will display date strings of bot small and big period, in two rows, at
the position where bigger period changes.
|
public java.lang.Boolean getAlwaysGroup()
public CategoryAxesSettings setAlwaysGroup(java.lang.Boolean alwaysGroup)
alwaysGroup
- alwaysGroup optionpublic java.lang.Boolean getAutoGridCount()
public CategoryAxesSettings setAutoGridCount(java.lang.Boolean autoGridCount)
autoGridCount
- autoGridCount optionpublic java.lang.Double getAxisAlpha()
public CategoryAxesSettings setAxisAlpha(java.lang.Double axisAlpha)
axisAlpha
- axis opacitypublic Color getAxisColor()
public CategoryAxesSettings setAxisColor(Color axisColor)
axisColor
- axis colorpublic java.lang.Integer getAxisHeight()
public CategoryAxesSettings setAxisHeight(java.lang.Integer axisHeight)
axisHeight
- height of category axespublic java.lang.Integer getAxisThickness()
public CategoryAxesSettings setAxisThickness(java.lang.Integer axisThickness)
axisThickness
- thickness of the axispublic java.lang.Boolean getBoldPeriodBeginning()
public CategoryAxesSettings setBoldPeriodBeginning(java.lang.Boolean boldPeriodBeginning)
boldPeriodBeginning
- bold period beginning optionpublic Color getColor()
public CategoryAxesSettings setColor(Color color)
color
- text colorpublic java.lang.Integer getDashLength()
public CategoryAxesSettings setDashLength(java.lang.Integer dashLength)
dashLength
- length of a dashpublic java.util.List<DateFormat> getDateFormats()
public CategoryAxesSettings setDateFormats(java.util.List<DateFormat> dateFormats)
dateFormats
- list of date formatspublic CategoryAxesSettings addDateFormats(DateFormat... dateFormats)
dateFormats
- date formatspublic java.lang.Boolean getEqualSpacing()
public CategoryAxesSettings setEqualSpacing(java.lang.Boolean equalSpacing)
equalSpacing
- equalSpacing optionpublic java.lang.Double getFillAlpha()
public CategoryAxesSettings setFillAlpha(java.lang.Double fillAlpha)
fillAlpha
- fill opacitypublic Color getFillColor()
public CategoryAxesSettings setFillColor(Color fillColor)
fillColor
- fill colorpublic java.lang.Integer getFontSize()
public CategoryAxesSettings setFontSize(java.lang.Integer fontSize)
fontSize
- text sizepublic java.lang.Double getGridAlpha()
public CategoryAxesSettings setGridAlpha(java.lang.Double gridAlpha)
gridAlpha
- opacity of grid linespublic Color getGridColor()
public CategoryAxesSettings setGridColor(Color gridColor)
gridColor
- color of grid linespublic java.lang.Integer getGridCount()
public CategoryAxesSettings setGridCount(java.lang.Integer gridCount)
gridCount
- number of grid linespublic java.lang.Integer getGridThickness()
public CategoryAxesSettings setGridThickness(java.lang.Integer gridThickness)
gridThickness
- grid thicknesspublic java.util.List<java.lang.String> getGroupToPeriods()
public CategoryAxesSettings setGroupToPeriods(java.util.List<java.lang.String> groupToPeriods)
groupToPeriods
- list of groupToPeriods stringspublic CategoryAxesSettings addGroupToPeriods(java.lang.String... groupToPeriods)
groupToPeriods
- groupToPeriodspublic java.lang.Boolean getInside()
public CategoryAxesSettings setInside(java.lang.Boolean inside)
inside
- inside optionpublic java.lang.Integer getLabelOffset()
public CategoryAxesSettings setLabelOffset(java.lang.Integer labelOffset)
labelOffset
- offset of axis labelspublic java.lang.Integer getLabelRotation()
public CategoryAxesSettings setLabelRotation(java.lang.Integer labelRotation)
labelRotation
- rotation angle of a labelpublic java.lang.Boolean getLabelsEnabled()
public CategoryAxesSettings setLabelsEnabled(java.lang.Boolean labelsEnabled)
labelsEnabled
- labelsEnabled optionpublic java.lang.Boolean getMarkPeriodChange()
public CategoryAxesSettings setMarkPeriodChange(java.lang.Boolean markPeriodChange)
markPeriodChange
- markPeriodChange optionpublic java.lang.Integer getMaxSeries()
public CategoryAxesSettings setMaxSeries(java.lang.Integer maxSeries)
maxSeries
- maximum series shown at a timepublic java.lang.Integer getMinHorizontalGap()
public CategoryAxesSettings setMinHorizontalGap(java.lang.Integer minHorizontalGap)
minHorizontalGap
- minimum cell widthpublic java.lang.String getMinPeriod()
public CategoryAxesSettings setMinPeriod(java.lang.String minPeriod)
minPeriod
- the shortest periodpublic CategoryAxesPosition getPosition()
public CategoryAxesSettings setPosition(CategoryAxesPosition position)
position
- position of category axespublic java.lang.Boolean getStartOnAxis()
public CategoryAxesSettings setStartOnAxis(java.lang.Boolean startOnAxis)
startOnAxis
- startOnAxis optionpublic java.lang.Integer getTickLength()
public CategoryAxesSettings setTickLength(java.lang.Integer tickLength)
tickLength
- tick lengthpublic java.lang.Boolean getTwoLineMode()
public CategoryAxesSettings setTwoLineMode(java.lang.Boolean twoLineMode)
twoLineMode
- twoLineMode optionpublic java.lang.Boolean getBoldLabels()
public CategoryAxesSettings setBoldLabels(java.lang.Boolean boldLabels)
boldLabels
- boldLabels optionpublic java.lang.Double getMinorGridAlpha()
public CategoryAxesSettings setMinorGridAlpha(java.lang.Double minorGridAlpha)
minorGridAlpha
- opacity of minor gridpublic java.lang.Boolean getMinorGridEnabled()
public CategoryAxesSettings setMinorGridEnabled(java.lang.Boolean minorGridEnabled)
minorGridEnabled
- minorGridEnabled option