com.github.fluorumlabs.disconnect.highcharts.NoDataPositionOptions 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.Any;
import org.teavm.jso.JSProperty;
/**
* (Highcharts, Highstock, Gantt) The position of the no-data label, relative to
* the plot area.
*
* @see https://api.highcharts.com/highcharts/noData.position
* @see https://api.highcharts.com/highstock/noData.position
* @see https://api.highcharts.com/gantt/noData.position
*
*/
public interface NoDataPositionOptions extends Any {
/**
* (Highcharts, Highstock, Gantt) Horizontal alignment of the label.
*
* @see https://api.highcharts.com/highcharts/noData.position.align
* @see https://api.highcharts.com/highstock/noData.position.align
* @see https://api.highcharts.com/gantt/noData.position.align
*
* @implspec align?: ("center"|"left"|"right");
*
*/
@JSProperty("align")
@Nullable
Align getAlign();
/**
* (Highcharts, Highstock, Gantt) Horizontal alignment of the label.
*
* @see https://api.highcharts.com/highcharts/noData.position.align
* @see https://api.highcharts.com/highstock/noData.position.align
* @see https://api.highcharts.com/gantt/noData.position.align
*
* @implspec align?: ("center"|"left"|"right");
*
*/
@JSProperty("align")
void setAlign(Align value);
/**
* (Highcharts, Highstock, Gantt) Vertical alignment of the label.
*
* @see https://api.highcharts.com/highcharts/noData.position.verticalAlign
* @see https://api.highcharts.com/highstock/noData.position.verticalAlign
* @see https://api.highcharts.com/gantt/noData.position.verticalAlign
*
* @implspec verticalAlign?: ("bottom"|"middle"|"top");
*
*/
@JSProperty("verticalAlign")
@Nullable
VerticalAlign getVerticalAlign();
/**
* (Highcharts, Highstock, Gantt) Vertical alignment of the label.
*
* @see https://api.highcharts.com/highcharts/noData.position.verticalAlign
* @see https://api.highcharts.com/highstock/noData.position.verticalAlign
* @see https://api.highcharts.com/gantt/noData.position.verticalAlign
*
* @implspec verticalAlign?: ("bottom"|"middle"|"top");
*
*/
@JSProperty("verticalAlign")
void setVerticalAlign(VerticalAlign value);
/**
* (Highcharts, Highstock, Gantt) Horizontal offset of the label, in pixels.
*
* @see https://api.highcharts.com/highcharts/noData.position.x
* @see https://api.highcharts.com/highstock/noData.position.x
* @see https://api.highcharts.com/gantt/noData.position.x
*
* @implspec x?: number;
*
*/
@JSProperty("x")
double getX();
/**
* (Highcharts, Highstock, Gantt) Horizontal offset of the label, in pixels.
*
* @see https://api.highcharts.com/highcharts/noData.position.x
* @see https://api.highcharts.com/highstock/noData.position.x
* @see https://api.highcharts.com/gantt/noData.position.x
*
* @implspec x?: number;
*
*/
@JSProperty("x")
void setX(double value);
/**
* (Highcharts, Highstock, Gantt) Vertical offset of the label, in pixels.
*
* @see https://api.highcharts.com/highcharts/noData.position.y
* @see https://api.highcharts.com/highstock/noData.position.y
* @see https://api.highcharts.com/gantt/noData.position.y
*
* @implspec y?: number;
*
*/
@JSProperty("y")
double getY();
/**
* (Highcharts, Highstock, Gantt) Vertical offset of the label, in pixels.
*
* @see https://api.highcharts.com/highcharts/noData.position.y
* @see https://api.highcharts.com/highstock/noData.position.y
* @see https://api.highcharts.com/gantt/noData.position.y
*
* @implspec y?: number;
*
*/
@JSProperty("y")
void setY(double value);
/**
*/
abstract class Align extends JsEnum {
public static final Align CENTER = JsEnum.of("center");
public static final Align LEFT = JsEnum.of("left");
public static final Align RIGHT = JsEnum.of("right");
}
/**
*/
abstract class VerticalAlign extends JsEnum {
public static final VerticalAlign BOTTOM = JsEnum.of("bottom");
public static final VerticalAlign MIDDLE = JsEnum.of("middle");
public static final VerticalAlign TOP = JsEnum.of("top");
}
}