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

com.github.fluorumlabs.disconnect.highcharts.YAxisPlotLinesOptions 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 js.lang.Unknown;
import org.teavm.jso.JSProperty;

/**
 * (Highcharts, Highstock, Gantt) An array of objects representing plot lines on
 * the X axis
 *
 * @see https://api.highcharts.com/highcharts/yAxis.plotLines
 * @see https://api.highcharts.com/highstock/yAxis.plotLines
 * @see https://api.highcharts.com/gantt/yAxis.plotLines
 *
 */
public interface YAxisPlotLinesOptions extends Any {
  /**
   * (Highcharts, Highstock, Gantt) A custom class name, in addition to the
   * default highcharts-plot-line, to apply to each individual line.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.className
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.className
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.className
   *
   * @implspec className?: string;
   *
   */
  @JSProperty("className")
  @Nullable
  String getClassName();

  /**
   * (Highcharts, Highstock, Gantt) A custom class name, in addition to the
   * default highcharts-plot-line, to apply to each individual line.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.className
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.className
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.className
   *
   * @implspec className?: string;
   *
   */
  @JSProperty("className")
  void setClassName(String value);

  /**
   * (Highcharts, Highstock, Gantt) The color of the line.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.color
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.color
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.color
   *
   * @implspec color?: (ColorString|GradientColorObject|object);
   *
   */
  @JSProperty("color")
  @Nullable
  Unknown getColor();

  /**
   * (Highcharts, Highstock, Gantt) The color of the line.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.color
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.color
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.color
   *
   * @implspec color?: (ColorString|GradientColorObject|object);
   *
   */
  @JSProperty("color")
  void setColor(GradientColorObject value);

  /**
   * (Highcharts, Highstock, Gantt) The color of the line.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.color
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.color
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.color
   *
   * @implspec color?: (ColorString|GradientColorObject|object);
   *
   */
  @JSProperty("color")
  void setColor(String value);

  /**
   * (Highcharts, Highstock, Gantt) The color of the line.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.color
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.color
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.color
   *
   * @implspec color?: (ColorString|GradientColorObject|object);
   *
   */
  @JSProperty("color")
  void setColor(Any value);

  /**
   * (Highcharts, Highstock, Gantt) The dashing or dot style for the plot
   * line. For possible values see this overview.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.dashStyle
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.dashStyle
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.dashStyle
   *
   * @implspec dashStyle?: ("Dash"|"DashDot"|"Dot"|"LongDash"|"LongDashDot"|"LongDashDotDot"|"ShortDash"|"ShortDashDot"|"ShortDashDotDot"|"ShortDot"|"Solid");
   *
   */
  @JSProperty("dashStyle")
  @Nullable
  DashStyle getDashStyle();

  /**
   * (Highcharts, Highstock, Gantt) The dashing or dot style for the plot
   * line. For possible values see this overview.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.dashStyle
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.dashStyle
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.dashStyle
   *
   * @implspec dashStyle?: ("Dash"|"DashDot"|"Dot"|"LongDash"|"LongDashDot"|"LongDashDotDot"|"ShortDash"|"ShortDashDot"|"ShortDashDotDot"|"ShortDot"|"Solid");
   *
   */
  @JSProperty("dashStyle")
  void setDashStyle(DashStyle value);

  /**
   * (Highcharts, Highstock, Gantt) An object defining mouse events for the
   * plot line. Supported properties are click, mouseover, mouseout,
   * mousemove.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.events
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.events
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.events
   *
   * @implspec events?: any;
   *
   */
  @JSProperty("events")
  @Nullable
  Any getEvents();

  /**
   * (Highcharts, Highstock, Gantt) An object defining mouse events for the
   * plot line. Supported properties are click, mouseover, mouseout,
   * mousemove.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.events
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.events
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.events
   *
   * @implspec events?: any;
   *
   */
  @JSProperty("events")
  void setEvents(Any value);

  /**
   * (Highcharts, Highstock, Gantt) An id used for identifying the plot line
   * in Axis.removePlotLine.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.id
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.id
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.id
   *
   * @implspec id?: string;
   *
   */
  @JSProperty("id")
  @Nullable
  String getId();

  /**
   * (Highcharts, Highstock, Gantt) An id used for identifying the plot line
   * in Axis.removePlotLine.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.id
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.id
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.id
   *
   * @implspec id?: string;
   *
   */
  @JSProperty("id")
  void setId(String value);

  /**
   * (Highcharts, Highstock, Gantt) Text labels for the plot bands
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.label
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.label
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.label
   *
   * @implspec label?: YAxisPlotLinesLabelOptions;
   *
   */
  @JSProperty("label")
  @Nullable
  YAxisPlotLinesLabelOptions getLabel();

  /**
   * (Highcharts, Highstock, Gantt) Text labels for the plot bands
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.label
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.label
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.label
   *
   * @implspec label?: YAxisPlotLinesLabelOptions;
   *
   */
  @JSProperty("label")
  void setLabel(YAxisPlotLinesLabelOptions value);

  /**
   * (Highcharts, Highstock, Gantt) The position of the line in axis units.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.value
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.value
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.value
   *
   * @implspec value?: number;
   *
   */
  @JSProperty("value")
  double getValue();

  /**
   * (Highcharts, Highstock, Gantt) The position of the line in axis units.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.value
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.value
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.value
   *
   * @implspec value?: number;
   *
   */
  @JSProperty("value")
  void setValue(double value);

  /**
   * (Highcharts, Highstock, Gantt) The width or thickness of the plot line.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.width
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.width
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.width
   *
   * @implspec width?: number;
   *
   */
  @JSProperty("width")
  double getWidth();

  /**
   * (Highcharts, Highstock, Gantt) The width or thickness of the plot line.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.width
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.width
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.width
   *
   * @implspec width?: number;
   *
   */
  @JSProperty("width")
  void setWidth(double value);

  /**
   * (Highcharts, Highstock, Gantt) The z index of the plot line within the
   * chart.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.zIndex
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.zIndex
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.zIndex
   *
   * @implspec zIndex?: number;
   *
   */
  @JSProperty("zIndex")
  double getZIndex();

  /**
   * (Highcharts, Highstock, Gantt) The z index of the plot line within the
   * chart.
   *
   * @see https://api.highcharts.com/highcharts/yAxis.plotLines.zIndex
   * @see https://api.highcharts.com/highstock/yAxis.plotLines.zIndex
   * @see https://api.highcharts.com/gantt/yAxis.plotLines.zIndex
   *
   * @implspec zIndex?: number;
   *
   */
  @JSProperty("zIndex")
  void setZIndex(double value);

  /**
   */
  abstract class DashStyle extends JsEnum {
    public static final DashStyle DASH = JsEnum.of("Dash");

    public static final DashStyle DASHDOT = JsEnum.of("DashDot");

    public static final DashStyle DOT = JsEnum.of("Dot");

    public static final DashStyle LONGDASH = JsEnum.of("LongDash");

    public static final DashStyle LONGDASHDOT = JsEnum.of("LongDashDot");

    public static final DashStyle LONGDASHDOTDOT = JsEnum.of("LongDashDotDot");

    public static final DashStyle SHORTDASH = JsEnum.of("ShortDash");

    public static final DashStyle SHORTDASHDOT = JsEnum.of("ShortDashDot");

    public static final DashStyle SHORTDASHDOTDOT = JsEnum.of("ShortDashDotDot");

    public static final DashStyle SHORTDOT = JsEnum.of("ShortDot");

    public static final DashStyle SOLID = JsEnum.of("Solid");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy