com.github.fluorumlabs.disconnect.highcharts.SeriesMappointDataOptions 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 java.lang.String;
import javax.annotation.Nullable;
import js.lang.Any;
import js.lang.Unknown;
import org.teavm.jso.JSProperty;
/**
* (Highmaps) An array of data points for the series. For the mappoint
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/highmaps/series.mappoint.data
*
*/
public interface SeriesMappointDataOptions extends Any {
/**
* (Highmaps) Individual color for the point. By default the color is either
* used to denote the value, or pulled from the global colors
array.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.color
*
* @implspec color?: (ColorString|GradientColorObject|object);
*
*/
@JSProperty("color")
@Nullable
Unknown getColor();
/**
* (Highmaps) Individual color for the point. By default the color is either
* used to denote the value, or pulled from the global colors
array.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.color
*
* @implspec color?: (ColorString|GradientColorObject|object);
*
*/
@JSProperty("color")
void setColor(GradientColorObject value);
/**
* (Highmaps) Individual color for the point. By default the color is either
* used to denote the value, or pulled from the global colors
array.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.color
*
* @implspec color?: (ColorString|GradientColorObject|object);
*
*/
@JSProperty("color")
void setColor(String value);
/**
* (Highmaps) Individual color for the point. By default the color is either
* used to denote the value, or pulled from the global colors
array.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.color
*
* @implspec color?: (ColorString|GradientColorObject|object);
*
*/
@JSProperty("color")
void setColor(Any value);
/**
* (Highmaps) Individual data label for each point. The options are the same
* as the ones for plotOptions.series.dataLabels.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.dataLabels
*
* @implspec dataLabels?: object;
*
*/
@JSProperty("dataLabels")
@Nullable
Any getDataLabels();
/**
* (Highmaps) Individual data label for each point. The options are the same
* as the ones for plotOptions.series.dataLabels.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.dataLabels
*
* @implspec dataLabels?: object;
*
*/
@JSProperty("dataLabels")
void setDataLabels(Any value);
/**
* (Highmaps) The id
of a series in the drilldown.series array to use for
* a drilldown for this point.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.drilldown
*
* @implspec drilldown?: string;
*
*/
@JSProperty("drilldown")
@Nullable
String getDrilldown();
/**
* (Highmaps) The id
of a series in the drilldown.series array to use for
* a drilldown for this point.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.drilldown
*
* @implspec drilldown?: string;
*
*/
@JSProperty("drilldown")
void setDrilldown(String value);
/**
* (Highmaps) Individual point events
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.events
*
* @implspec events?: SeriesMappointDataEventsOptions;
*
*/
@JSProperty("events")
@Nullable
SeriesMappointDataEventsOptions getEvents();
/**
* (Highmaps) Individual point events
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.events
*
* @implspec events?: SeriesMappointDataEventsOptions;
*
*/
@JSProperty("events")
void setEvents(SeriesMappointDataEventsOptions value);
/**
* (Highmaps) An id for the point. This can be used after render time to get
* a pointer to the point object through chart.get()
.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.id
*
* @implspec id?: string;
*
*/
@JSProperty("id")
@Nullable
String getId();
/**
* (Highmaps) An id for the point. This can be used after render time to get
* a pointer to the point object through chart.get()
.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.id
*
* @implspec id?: string;
*
*/
@JSProperty("id")
void setId(String value);
/**
* (Highmaps) The latitude of the point. Must be combined with the lon
* option to work. Overrides x
and y
values.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.lat
*
* @implspec lat?: number;
*
*/
@JSProperty("lat")
double getLat();
/**
* (Highmaps) The latitude of the point. Must be combined with the lon
* option to work. Overrides x
and y
values.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.lat
*
* @implspec lat?: number;
*
*/
@JSProperty("lat")
void setLat(double value);
/**
* (Highmaps) The longitude of the point. Must be combined with the lon
* option to work. Overrides x
and y
values.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.lon
*
* @implspec lon?: number;
*
*/
@JSProperty("lon")
double getLon();
/**
* (Highmaps) The longitude of the point. Must be combined with the lon
* option to work. Overrides x
and y
values.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.lon
*
* @implspec lon?: number;
*
*/
@JSProperty("lon")
void setLon(double value);
/**
* (Highmaps) The name of the point as shown in the legend, tooltip,
* dataLabel etc.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.name
*
* @implspec name?: string;
*
*/
@JSProperty("name")
@Nullable
String getName();
/**
* (Highmaps) The name of the point as shown in the legend, tooltip,
* dataLabel etc.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.name
*
* @implspec name?: string;
*
*/
@JSProperty("name")
void setName(String value);
/**
* (Highmaps) The x coordinate of the point in terms of the map path
* coordinates.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.x
*
* @implspec x?: number;
*
*/
@JSProperty("x")
double getX();
/**
* (Highmaps) The x coordinate of the point in terms of the map path
* coordinates.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.x
*
* @implspec x?: number;
*
*/
@JSProperty("x")
void setX(double value);
/**
* (Highmaps) The x coordinate of the point in terms of the map path
* coordinates.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.y
*
* @implspec y?: number;
*
*/
@JSProperty("y")
double getY();
/**
* (Highmaps) The x coordinate of the point in terms of the map path
* coordinates.
*
* @see https://api.highcharts.com/highmaps/series.mappoint.data.y
*
* @implspec y?: number;
*
*/
@JSProperty("y")
void setY(double value);
}