Class ChartSeriesSupplier
java.lang.Object
travel.wink.sdk.affiliate.model.ChartSeriesSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-01-02T16:41:01.157053550+07:00[Asia/Bangkok]")
public class ChartSeriesSupplier
extends Object
The configuration of the chart series. The series type is determined by the value of the type field. If a type value is missing, the chart renders the type that is specified in `seriesDefaults`. Some options accept functions as arguments. These arguments are evaluated for each point which is supplied as a parameter. If no value is returned, the chart uses the `theme` or `seriesDefaults` values.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(BigDecimal dataItem) data(List<BigDecimal> data) boolean@Valid List<BigDecimal> getData()The array of data items which represent the series data.getName()The name of the Chart series which is visible in the legend.inthashCode()voidsetData(List<BigDecimal> data) voidtoString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_DATA
- See Also:
-
-
Constructor Details
-
ChartSeriesSupplier
public ChartSeriesSupplier()
-
-
Method Details
-
name
-
getName
The name of the Chart series which is visible in the legend.- Returns:
- name
-
setName
-
data
-
addDataItem
-
getData
The array of data items which represent the series data. You can set it to: - Array of numbers. Supported when the series.type option is set to `area`, `bar`, `column`, `donut`, `pie`, `line`, or `waterfall`. The Bubble series need arrays of three values—X value, Y value, and Size value—for example, [1, 1, 10]. The Scatter and ScatterLine series need arrays of two values—X value and Y value. The OHLC and Candlestick series need arrays of four values—open, high, low, and close. The RangeBar and RangeArea series need arrays of two values—the from and to value.- Returns:
- data
-
setData
-
equals
-
hashCode
-
toString
-