public class CategoricalAxis extends CartesianAxis
linkedSeriesCount
LINE_COLOR_PROPERTY_KEY, LINE_THICKNESS_PROPERTY_KEY
AXIS_Z_INDEX, LABEL_COLOR, LABEL_COLOR_PROPERTY_KEY, LABEL_FIT_MODE, LABEL_FIT_MODE_PROPERTY_KEY, LABEL_FONT_KEY, LABEL_FONT_PROPERTY_KEY, LABEL_FONT_STYLE_KEY, LABEL_FONT_STYLE_PROPERTY_KEY, LABEL_ROTATION_ANGLE, LABEL_ROTATION_ANGLE_PROPERTY_KEY, LABEL_SIZE_KEY, LABEL_SIZE_PROPERTY_KEY, LINE_COLOR_KEY, LINE_THICKNESS_KEY, TICK_COLOR_KEY, TICK_COLOR_PROPERTY_KEY, TICK_THICKNESS_KEY, TICK_THICKNESS_PROPERTY_KEY
Constructor and Description |
---|
CategoricalAxis()
Creates an instance of the
CategoricalAxis
class with a specified context, set of styleable attributes and default style ID. |
Modifier and Type | Method and Description |
---|---|
List<DataPoint> |
getDataPointsForValue(Object value) |
float |
getGapLength()
Gets the distance in pixels between a tick and the adjacent data point.
|
int |
getMajorTickInterval()
Gets the interval between two visible ticks.
|
AxisPlotMode |
getPlotMode()
Gets a value from the
AxisPlotMode enum which determines in what way the axis will
be plotted on the viewport of the Chart. |
void |
setGapLength(float value)
Sets the distance in pixels between a tick and the adjacent data point.
|
void |
setMajorTickInterval(int value)
Sets the interval between two visible ticks.
|
void |
setPlotMode(AxisPlotMode value)
Sets a value from the
AxisPlotMode enum which determines in what way the axis will
be plotted on the viewport of the Chart. |
getHorizontalLocation, getVerticalLocation, setHorizontalLocation, setVerticalLocation
getLineColor, getLineDashArray, getLineThickness, getShowLine, render, setLineColor, setLineDashArray, setLineThickness, setShowLine
getAxisType, getLabelFitMode, getLabelFont, getLabelFontStyle, getLabelFormat, getLabelInterval, getLabelLayoutMode, getLabelMargin, getLabelOffset, getLabelRenderer, getLabelRotationAngle, getLabelSize, getLabelTextColor, getLabelValueToStringConverter, getLastLabelVisibility, getLastLayoutContext, getLayoutSlot, getMajorTickOffset, getModel, getShowLabels, getTickColor, getTickThickness, getVerticalWidth, renderLabel, resolveLabelRenderer, setAxisType, setLabelFitMode, setLabelFont, setLabelFontStyle, setLabelFormat, setLabelInterval, setLabelLayoutMode, setLabelMargin, setLabelOffset, setLabelRenderer, setLabelRotationAngle, setLabelSize, setLabelTextColor, setLabelValueToStringConverter, setLastLabelVisibility, setMajorTickOffset, setShowLabels, setTickColor, setTickThickness, setVerticalWidth
attach, detach, getCanApplyPalette, getChart, getCollectionIndex, getPalette, getZIndex, invalidatePalette, onPaletteInvalidated, onPaletteUpdated, requestLayout, requestRender, setZIndex, updatePalette
getPaletteFamily, getPaletteFamilyCore, isLoaded, isPaletteApplied, isVisible, measureContent, paletteFamily, postRender, refreshNode, setCanApplyPalette, setPaletteFamily, setVisible, setVisible
getValue, resetPropertyValue, setValue, setValue
public CategoricalAxis()
CategoricalAxis
class with a specified context, set of styleable attributes and default style ID.public int getMajorTickInterval()
public void setMajorTickInterval(int value)
value
- the amount of hidden ticks between to visible ticks.public AxisPlotMode getPlotMode()
AxisPlotMode
enum which determines in what way the axis will
be plotted on the viewport of the Chart.AxisPlotMode
value.public void setPlotMode(AxisPlotMode value)
AxisPlotMode
enum which determines in what way the axis will
be plotted on the viewport of the Chart.value
- the current AxisPlotMode
value.public float getGapLength()
public void setGapLength(float value)
value
- the distance in pixels.public List<DataPoint> getDataPointsForValue(Object value)
getDataPointsForValue
in class Axis