com.github.fluorumlabs.disconnect.highcharts.SeriesAreaOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of disconnect-highcharts Show documentation
Show all versions of disconnect-highcharts Show documentation
Highcharts API bindings for Disconnect Zero
package com.github.fluorumlabs.disconnect.highcharts;
import javax.annotation.Nullable;
import js.extras.JsEnum;
import js.lang.Unknown;
import js.util.collections.Array;
import org.teavm.jso.JSProperty;
/**
* (Highcharts, Highstock) A area
series. If the type option is not specified,
* it is inherited from chart.type.
*
* Configuration options for the series are given in three levels:
*
*
* -
* Options for all series in a chart are defined in the plotOptions.series
* object.
*
*
* -
* Options for all
area
series are defined in plotOptions.area.
*
*
* -
* Options for one single series are given in the series instance array.
*
*
*
* (see online documentation for example)
*
* @see https://api.highcharts.com/highcharts/series.area
* @see https://api.highcharts.com/highstock/series.area
*
*/
public interface SeriesAreaOptions extends PlotAreaOptions, SeriesOptions {
/**
* (Highcharts, Highstock) An array of data points for the series. For the
* area
series type, points can be given in the following ways:
*
*
* -
* An array of numerical values. In this case, the numerical values will
* be interpreted as
y
options. The x
values will be automatically
* calculated, either starting at 0 and incremented by 1, or from
* pointStart
and pointInterval
given in the series options. If the axis
* has categories, these will be used. Example:(see online documentation for
* example)
*
*
* -
* An array of arrays with 2 values. In this case, the values correspond
* to
x,y
. If the first value is a string, it is applied as the name of
* the point, and the x
value is inferred.(see online documentation for
* example)
*
*
* -
* An array of objects with named values. The following snippet shows
* only a few settings, see the complete options set below. If the total
* number of data points exceeds the series' turboThreshold, this option is
* not available.(see online documentation for example)
*
*
*
* @see https://api.highcharts.com/highcharts/series.area.data
* @see https://api.highcharts.com/highstock/series.area.data
*
* @implspec data?: Array<(number|[(number|string), number]|SeriesAreaDataOptions)>;
*
*/
@JSProperty("data")
@Nullable
Array getData();
/**
* (Highcharts, Highstock) An array of data points for the series. For the
* area
series type, points can be given in the following ways:
*
*
* -
* An array of numerical values. In this case, the numerical values will
* be interpreted as
y
options. The x
values will be automatically
* calculated, either starting at 0 and incremented by 1, or from
* pointStart
and pointInterval
given in the series options. If the axis
* has categories, these will be used. Example:(see online documentation for
* example)
*
*
* -
* An array of arrays with 2 values. In this case, the values correspond
* to
x,y
. If the first value is a string, it is applied as the name of
* the point, and the x
value is inferred.(see online documentation for
* example)
*
*
* -
* An array of objects with named values. The following snippet shows
* only a few settings, see the complete options set below. If the total
* number of data points exceeds the series' turboThreshold, this option is
* not available.(see online documentation for example)
*
*
*
* @see https://api.highcharts.com/highcharts/series.area.data
* @see https://api.highcharts.com/highstock/series.area.data
*
* @implspec data?: Array<(number|[(number|string), number]|SeriesAreaDataOptions)>;
*
*/
@JSProperty("data")
void setData(Array value);
/**
* (Highcharts, Highstock, Highmaps) This property is only in TypeScript
* non-optional and might be undefined
in series objects from unknown
* sources.
*
* @implspec type: "area";
*
*/
@JSProperty("type")
Type getType();
/**
* (Highcharts, Highstock, Highmaps) This property is only in TypeScript
* non-optional and might be undefined
in series objects from unknown
* sources.
*
* @implspec type: "area";
*
*/
@JSProperty("type")
void setType(Type value);
/**
*/
abstract class Type extends JsEnum {
public static final Type AREA = JsEnum.of("area");
}
}