All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fluorumlabs.disconnect.highcharts.ZAxisPlotLinesLabelOptions Maven / Gradle / Ivy

There is a newer version: 0.1.0-alpha2
Show newest version
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/zAxis.plotLines.label
 * @see https://api.highcharts.com/highstock/zAxis.plotLines.label
 * @see https://api.highcharts.com/gantt/zAxis.plotLines.label
 *
 */
public interface ZAxisPlotLinesLabelOptions extends Any {
  /**
   * (Highcharts, Highstock, Gantt) Horizontal alignment of the label. Can be
   * one of "left", "center" or "right".
   *
   * @see https://api.highcharts.com/highcharts/zAxis.plotLines.label.align
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.align
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.align
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.align
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.rotation
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.rotation
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.rotation
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.rotation
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.style
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.style
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.style
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.style
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.text
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.text
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.text
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.text
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.textAlign
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.textAlign
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.textAlign
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.textAlign
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.useHTML
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.useHTML
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.useHTML
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.useHTML
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.verticalAlign
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.verticalAlign
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.verticalAlign
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.verticalAlign
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.x
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.x
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.x
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.x
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.y
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.y
   * @see https://api.highcharts.com/gantt/zAxis.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/zAxis.plotLines.label.y
   * @see https://api.highcharts.com/highstock/zAxis.plotLines.label.y
   * @see https://api.highcharts.com/gantt/zAxis.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");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy