Package travel.wink.sdk.affiliate.model
Class ChartCategoryAxis
java.lang.Object
travel.wink.sdk.affiliate.model.ChartCategoryAxis
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-07-21T13:34:06.734669+07:00[Asia/Bangkok]")
public class ChartCategoryAxis
extends Object
The configuration options of the category axis.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe base time interval for the date axis.static enumThe category axis type.static enumThe week start day when the `baseUnit` is set to `weeks`. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAxisCrossingValueItem(Object axisCrossingValueItem) addCategoriesItem(String categoriesItem) addPlotBandsItem(PlotBand plotBandsItem) autoBaseUnitSteps(AutoBaseUnitSteps autoBaseUnitSteps) axisCrossingValue(List<Object> axisCrossingValue) background(String background) baseUnit(ChartCategoryAxis.BaseUnitEnum baseUnit) baseUnitStep(BigDecimal baseUnitStep) categories(List<String> categories) crosshair(CategoryAxisCrosshair crosshair) boolean@Valid AutoBaseUnitStepsGet autoBaseUnitStepsThe category index or the date (for date category axis) at which the first value axis crosses this axis.The background color of the axis.The base time interval for the date axis.@Valid BigDecimalThe step (interval) between the categories in base units.The category names.getColor()The color to apply to all axis elements.@Valid CategoryAxisCrosshairGet crosshairIf set to `true`, the Chart positions categories and series points on major ticks.@Valid ChartCategoryAxisLabelsGet labels@Valid AxisLinegetLine()Get lineGet majorGridLines@Valid AxisTicksGet majorTicks@Valid OffsetDateTimegetMax()The last date displayed on a date category axis or the index of the last category displayed on a category axis.@Valid BigDecimalThe maximum Number of groups (categories) to display when `categoryAxis.baseUnit` is set to `fit` or `categoryAxis.baseUnitStep` is set to `auto`.@Valid BigDecimalThe maximum Number of ticks and labels to display.@Valid OffsetDateTimegetMin()The first date which is displayed on a date category axis or the index of the first category whcih is displayed on a category axis.@Valid GridLinesGet minorGridLines@Valid AxisTicksGet minorTicksgetName()The unique axis name.@Valid CategoryAxisNotesgetNotes()Get notesgetPane()The name of the pane in which the category axis has to be rendered.The plot bands of the category axis.If set to `true`, the category axis direction is reversed.If set to `true`, the Chart rounds the first and last date to the nearest base unit.@Valid CategoryAxisSelectGet select@Valid BigDecimalThe angle (degrees) of the first category on the axis.@Valid CategoryAxisTitlegetTitle()Get titlegetType()The category axis type.If set to `true`, the Chart displays the category axis.The week start day when the `baseUnit` is set to `weeks`.inthashCode()labels(ChartCategoryAxisLabels labels) majorGridLines(ChartCategoryAxisMajorGridLines majorGridLines) majorTicks(AxisTicks majorTicks) max(OffsetDateTime max) maxDateGroups(BigDecimal maxDateGroups) maxDivisions(BigDecimal maxDivisions) min(OffsetDateTime min) minorGridLines(GridLines minorGridLines) minorTicks(AxisTicks minorTicks) notes(CategoryAxisNotes notes) roundToBaseUnit(Boolean roundToBaseUnit) select(CategoryAxisSelect select) voidsetAutoBaseUnitSteps(AutoBaseUnitSteps autoBaseUnitSteps) voidsetAxisCrossingValue(List<Object> axisCrossingValue) voidsetBackground(String background) voidsetBaseUnit(ChartCategoryAxis.BaseUnitEnum baseUnit) voidsetBaseUnitStep(BigDecimal baseUnitStep) voidsetCategories(List<String> categories) voidvoidsetCrosshair(CategoryAxisCrosshair crosshair) voidsetJustified(Boolean justified) voidsetLabels(ChartCategoryAxisLabels labels) voidvoidsetMajorGridLines(ChartCategoryAxisMajorGridLines majorGridLines) voidsetMajorTicks(AxisTicks majorTicks) voidsetMax(OffsetDateTime max) voidsetMaxDateGroups(BigDecimal maxDateGroups) voidsetMaxDivisions(BigDecimal maxDivisions) voidsetMin(OffsetDateTime min) voidsetMinorGridLines(GridLines minorGridLines) voidsetMinorTicks(AxisTicks minorTicks) voidvoidsetNotes(CategoryAxisNotes notes) voidvoidsetPlotBands(List<PlotBand> plotBands) voidsetReverse(Boolean reverse) voidsetRoundToBaseUnit(Boolean roundToBaseUnit) voidsetSelect(CategoryAxisSelect select) voidsetStartAngle(BigDecimal startAngle) voidsetTitle(CategoryAxisTitle title) voidvoidsetVisible(Boolean visible) voidsetWeekStartDay(ChartCategoryAxis.WeekStartDayEnum weekStartDay) startAngle(BigDecimal startAngle) title(CategoryAxisTitle title) toString()weekStartDay(ChartCategoryAxis.WeekStartDayEnum weekStartDay)
-
Field Details
-
JSON_PROPERTY_AUTO_BASE_UNIT_STEPS
- See Also:
-
JSON_PROPERTY_AXIS_CROSSING_VALUE
- See Also:
-
JSON_PROPERTY_BACKGROUND
- See Also:
-
JSON_PROPERTY_BASE_UNIT
- See Also:
-
JSON_PROPERTY_BASE_UNIT_STEP
- See Also:
-
JSON_PROPERTY_CATEGORIES
- See Also:
-
JSON_PROPERTY_COLOR
- See Also:
-
JSON_PROPERTY_JUSTIFIED
- See Also:
-
JSON_PROPERTY_LINE
- See Also:
-
JSON_PROPERTY_MAJOR_GRID_LINES
- See Also:
-
JSON_PROPERTY_MAJOR_TICKS
- See Also:
-
JSON_PROPERTY_MAX
- See Also:
-
JSON_PROPERTY_MAX_DATE_GROUPS
- See Also:
-
JSON_PROPERTY_MAX_DIVISIONS
- See Also:
-
JSON_PROPERTY_MIN
- See Also:
-
JSON_PROPERTY_MINOR_GRID_LINES
- See Also:
-
JSON_PROPERTY_MINOR_TICKS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PANE
- See Also:
-
JSON_PROPERTY_PLOT_BANDS
- See Also:
-
JSON_PROPERTY_REVERSE
- See Also:
-
JSON_PROPERTY_ROUND_TO_BASE_UNIT
- See Also:
-
JSON_PROPERTY_START_ANGLE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VISIBLE
- See Also:
-
JSON_PROPERTY_WEEK_START_DAY
- See Also:
-
JSON_PROPERTY_CROSSHAIR
- See Also:
-
JSON_PROPERTY_LABELS
- See Also:
-
JSON_PROPERTY_NOTES
- See Also:
-
JSON_PROPERTY_SELECT
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
ChartCategoryAxis
public ChartCategoryAxis()
-
-
Method Details
-
autoBaseUnitSteps
-
getAutoBaseUnitSteps
Get autoBaseUnitSteps- Returns:
- autoBaseUnitSteps
-
setAutoBaseUnitSteps
-
axisCrossingValue
-
addAxisCrossingValueItem
-
getAxisCrossingValue
The category index or the date (for date category axis) at which the first value axis crosses this axis. The category indices or the date (for date category axis) at which the value axes cross the category axis (when set as an array). To denote the far end of the axis, set an index greater than or equal to the Number of categories.- Returns:
- axisCrossingValue
-
setAxisCrossingValue
-
background
-
getBackground
The background color of the axis.- Returns:
- background
-
setBackground
-
baseUnit
-
getBaseUnit
The base time interval for the date axis. The default base unit is automatically determined by the minimum difference between subsequent categories. The supported values are: - `fit` - `milliseconds` - `seconds` - `minutes` - `hours` - `days` - `weeks` - `months` - `years` Setting `baseUnit` to `fit` sets such a base unit and `categoryAxis.baseUnitStep` that the total Number of categories does not exceed `categoryAxis.maxDateGroups`. Series data is aggregated for the specified base unit by using the `series.aggregate` function.- Returns:
- baseUnit
-
setBaseUnit
-
baseUnitStep
-
getBaseUnitStep
The step (interval) between the categories in base units. Setting it to `auto` sets the step to such a value that the total Number of categories does not exceed `categoryAxis.maxDateGroups`. The option is ignored if `categoryAxis.baseUnit` is set to `fit`.- Returns:
- baseUnitStep
-
setBaseUnitStep
-
categories
-
addCategoriesItem
-
getCategories
The category names. The Chart creates a category for every item of the array.- Returns:
- categories
-
setCategories
-
color
-
getColor
The color to apply to all axis elements. Accepts a valid CSS color String, including hex and rgb. Can be overridden by `categoryAxis.labels.color` and `categoryAxis.line.color`.- Returns:
- color
-
setColor
-
justified
-
getJustified
If set to `true`, the Chart positions categories and series points on major ticks. This removes the empty space before and after the series. The default value is `false` except for `area`, `verticalArea`, `rangeArea`, and `verticalRangeArea`. The option is ignored if the `series.type` option is set to `bar`, `column`, `boxPlot`, `ohlc`, `candlestick`, or `waterfall`.- Returns:
- justified
-
setJustified
-
line
-
getLine
Get line- Returns:
- line
-
setLine
-
majorGridLines
-
getMajorGridLines
Get majorGridLines- Returns:
- majorGridLines
-
setMajorGridLines
-
majorTicks
-
getMajorTicks
Get majorTicks- Returns:
- majorTicks
-
setMajorTicks
-
max
-
getMax
The last date displayed on a date category axis or the index of the last category displayed on a category axis. By default, the max value is the same as the last category. This is often used in combination with the `categoryAxis.min` and `categoryAxis.roundToBaseUnit` options to set up a fixed date range.- Returns:
- max
-
setMax
-
maxDateGroups
-
getMaxDateGroups
The maximum Number of groups (categories) to display when `categoryAxis.baseUnit` is set to `fit` or `categoryAxis.baseUnitStep` is set to `auto`.- Returns:
- maxDateGroups
-
setMaxDateGroups
-
maxDivisions
-
getMaxDivisions
The maximum Number of ticks and labels to display. Applicabable for date category axis.- Returns:
- maxDivisions
-
setMaxDivisions
-
min
-
getMin
The first date which is displayed on a date category axis or the index of the first category whcih is displayed on a category axis. By default, the min value is the same as the first category. This is often used in combination with the `categoryAxis.max` and `categoryAxis.roundToBaseUnit` options to set up a fixed date range.- Returns:
- min
-
setMin
-
minorGridLines
-
getMinorGridLines
Get minorGridLines- Returns:
- minorGridLines
-
setMinorGridLines
-
minorTicks
-
getMinorTicks
Get minorTicks- Returns:
- minorTicks
-
setMinorTicks
-
name
-
getName
The unique axis name. Used to associate a series with a category axis, which utilizes the `series.categoryAxis` option.- Returns:
- name
-
setName
-
pane
-
getPane
The name of the pane in which the category axis has to be rendered. If not set, the axis will be rendered in the first (default) pane.- Returns:
- pane
-
setPane
-
plotBands
-
addPlotBandsItem
-
getPlotBands
The plot bands of the category axis.- Returns:
- plotBands
-
setPlotBands
-
reverse
-
getReverse
If set to `true`, the category axis direction is reversed. By default, categories are listed from left to right and from bottom to top.- Returns:
- reverse
-
setReverse
-
roundToBaseUnit
-
getRoundToBaseUnit
If set to `true`, the Chart rounds the first and last date to the nearest base unit.- Returns:
- roundToBaseUnit
-
setRoundToBaseUnit
-
startAngle
-
getStartAngle
The angle (degrees) of the first category on the axis. Angles increase clockwise with zero to the left. Negative values are acceptable.- Returns:
- startAngle
-
setStartAngle
-
type
-
getType
The category axis type. The supported values are: - `category` Discrete category axis.- `date` Specialized axis for displaying chronological data.- Returns:
- type
-
setType
-
visible
-
getVisible
If set to `true`, the Chart displays the category axis. By default, the category axis is visible.- Returns:
- visible
-
setVisible
-
weekStartDay
-
getWeekStartDay
The week start day when the `baseUnit` is set to `weeks`.- Returns:
- weekStartDay
-
setWeekStartDay
-
crosshair
-
getCrosshair
Get crosshair- Returns:
- crosshair
-
setCrosshair
-
labels
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
notes
-
getNotes
Get notes- Returns:
- notes
-
setNotes
-
select
-
getSelect
Get select- Returns:
- select
-
setSelect
-
title
-
getTitle
Get title- Returns:
- title
-
setTitle
-
equals
-
hashCode
public int hashCode() -
toString
-