com.github.fluorumlabs.disconnect.highcharts.XAxisPlotLinesLabelOptions 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.extras.JsEnum;
import js.lang.Any;
import org.teavm.jso.JSProperty;
/**
* (Highcharts, Highstock, Gantt) Text labels for the plot bands
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label
*
*/
public interface XAxisPlotLinesLabelOptions extends Any {
/**
* (Highcharts, Highstock, Gantt) Horizontal alignment of the label. Can be
* one of "left", "center" or "right".
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.align
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.align
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.align
*
* @implspec align?: ("center"|"left"|"right");
*
*/
@JSProperty("align")
@Nullable
Align getAlign();
/**
* (Highcharts, Highstock, Gantt) Horizontal alignment of the label. Can be
* one of "left", "center" or "right".
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.align
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.align
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.align
*
* @implspec align?: ("center"|"left"|"right");
*
*/
@JSProperty("align")
void setAlign(Align value);
/**
* (Highcharts, Highstock, Gantt) Rotation of the text label in degrees.
* Defaults to 0 for horizontal plot lines and 90 for vertical lines.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.rotation
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.rotation
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.rotation
*
* @implspec rotation?: number;
*
*/
@JSProperty("rotation")
double getRotation();
/**
* (Highcharts, Highstock, Gantt) Rotation of the text label in degrees.
* Defaults to 0 for horizontal plot lines and 90 for vertical lines.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.rotation
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.rotation
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.rotation
*
* @implspec rotation?: number;
*
*/
@JSProperty("rotation")
void setRotation(double value);
/**
* (Highcharts, Highstock, Gantt) CSS styles for the text label.
*
* In styled mode, the labels are styled by the
* .highcharts-plot-line-label
class.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.style
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.style
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.style
*
* @implspec style?: CSSObject;
*
*/
@JSProperty("style")
@Nullable
CSSObject getStyle();
/**
* (Highcharts, Highstock, Gantt) CSS styles for the text label.
*
* In styled mode, the labels are styled by the
* .highcharts-plot-line-label
class.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.style
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.style
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.style
*
* @implspec style?: CSSObject;
*
*/
@JSProperty("style")
void setStyle(CSSObject value);
/**
* (Highcharts, Highstock, Gantt) The text itself. A subset of HTML is
* supported.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.text
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.text
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.text
*
* @implspec text?: string;
*
*/
@JSProperty("text")
@Nullable
String getText();
/**
* (Highcharts, Highstock, Gantt) The text itself. A subset of HTML is
* supported.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.text
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.text
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.text
*
* @implspec text?: string;
*
*/
@JSProperty("text")
void setText(String value);
/**
* (Highcharts, Highstock, Gantt) The text alignment for the label. While
* align
determines where the texts anchor point is placed within the plot
* band, textAlign
determines how the text is aligned against its anchor
* point. Possible values are "left", "center" and "right". Defaults to the
* same as the align
option.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.textAlign
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.textAlign
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.textAlign
*
* @implspec textAlign?: string;
*
*/
@JSProperty("textAlign")
@Nullable
String getTextAlign();
/**
* (Highcharts, Highstock, Gantt) The text alignment for the label. While
* align
determines where the texts anchor point is placed within the plot
* band, textAlign
determines how the text is aligned against its anchor
* point. Possible values are "left", "center" and "right". Defaults to the
* same as the align
option.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.textAlign
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.textAlign
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.textAlign
*
* @implspec textAlign?: string;
*
*/
@JSProperty("textAlign")
void setTextAlign(String value);
/**
* (Highcharts, Highstock, Gantt) Whether to use HTML to render the labels.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.useHTML
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.useHTML
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.useHTML
*
* @implspec useHTML?: boolean;
*
*/
@JSProperty("useHTML")
boolean getUseHTML();
/**
* (Highcharts, Highstock, Gantt) Whether to use HTML to render the labels.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.useHTML
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.useHTML
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.useHTML
*
* @implspec useHTML?: boolean;
*
*/
@JSProperty("useHTML")
void setUseHTML(boolean value);
/**
* (Highcharts, Highstock, Gantt) Vertical alignment of the label relative
* to the plot line. Can be one of "top", "middle" or "bottom".
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.verticalAlign
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.verticalAlign
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.verticalAlign
*
* @implspec verticalAlign?: ("bottom"|"middle"|"top");
*
*/
@JSProperty("verticalAlign")
@Nullable
VerticalAlign getVerticalAlign();
/**
* (Highcharts, Highstock, Gantt) Vertical alignment of the label relative
* to the plot line. Can be one of "top", "middle" or "bottom".
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.verticalAlign
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.verticalAlign
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.verticalAlign
*
* @implspec verticalAlign?: ("bottom"|"middle"|"top");
*
*/
@JSProperty("verticalAlign")
void setVerticalAlign(VerticalAlign value);
/**
* (Highcharts, Highstock, Gantt) Horizontal position relative the
* alignment. Default varies by orientation.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.x
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.x
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.x
*
* @implspec x?: number;
*
*/
@JSProperty("x")
double getX();
/**
* (Highcharts, Highstock, Gantt) Horizontal position relative the
* alignment. Default varies by orientation.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.x
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.x
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.x
*
* @implspec x?: number;
*
*/
@JSProperty("x")
void setX(double value);
/**
* (Highcharts, Highstock, Gantt) Vertical position of the text baseline
* relative to the alignment. Default varies by orientation.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.y
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.y
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.y
*
* @implspec y?: number;
*
*/
@JSProperty("y")
double getY();
/**
* (Highcharts, Highstock, Gantt) Vertical position of the text baseline
* relative to the alignment. Default varies by orientation.
*
* @see https://api.highcharts.com/highcharts/xAxis.plotLines.label.y
* @see https://api.highcharts.com/highstock/xAxis.plotLines.label.y
* @see https://api.highcharts.com/gantt/xAxis.plotLines.label.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");
}
}