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

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

There is a newer version: 0.1.0-alpha2
Show newest version
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");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy