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

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

/**
 * (Highcharts, Highstock, Highmaps) This option defines the point to which the
 * shape will be connected. It can be either the point which exists in the
 * series - it is referenced by the point's id - or a new point with defined x,
 * y properties and optionally axes.
 *
 * @see https://api.highcharts.com/highcharts/annotations.shapes.point
 * @see https://api.highcharts.com/highstock/annotations.shapes.point
 * @see https://api.highcharts.com/highmaps/annotations.shapes.point
 *
 */
public interface AnnotationsShapesPointOptions extends Any {
  /**
   * (Highcharts, Highstock, Highmaps) The x position of the point. Units can
   * be either in axis or chart pixel coordinates.
   *
   * @see https://api.highcharts.com/highcharts/annotations.shapes.point.x
   * @see https://api.highcharts.com/highstock/annotations.shapes.point.x
   * @see https://api.highcharts.com/highmaps/annotations.shapes.point.x
   *
   * @implspec x?: number;
   *
   */
  @JSProperty("x")
  double getX();

  /**
   * (Highcharts, Highstock, Highmaps) The x position of the point. Units can
   * be either in axis or chart pixel coordinates.
   *
   * @see https://api.highcharts.com/highcharts/annotations.shapes.point.x
   * @see https://api.highcharts.com/highstock/annotations.shapes.point.x
   * @see https://api.highcharts.com/highmaps/annotations.shapes.point.x
   *
   * @implspec x?: number;
   *
   */
  @JSProperty("x")
  void setX(double value);

  /**
   * (Highcharts, Highstock, Highmaps) This number defines which xAxis the
   * point is connected to. It refers to either the axis id or the index of
   * the axis in the xAxis array. If the option is not configured or the axis
   * is not found the point's x coordinate refers to the chart pixels.
   *
   * @see https://api.highcharts.com/highcharts/annotations.shapes.point.xAxis
   * @see https://api.highcharts.com/highstock/annotations.shapes.point.xAxis
   * @see https://api.highcharts.com/highmaps/annotations.shapes.point.xAxis
   *
   * @implspec xAxis?: (number|string);
   *
   */
  @JSProperty("xAxis")
  @Nullable
  Unknown getXAxis();

  /**
   * (Highcharts, Highstock, Highmaps) This number defines which xAxis the
   * point is connected to. It refers to either the axis id or the index of
   * the axis in the xAxis array. If the option is not configured or the axis
   * is not found the point's x coordinate refers to the chart pixels.
   *
   * @see https://api.highcharts.com/highcharts/annotations.shapes.point.xAxis
   * @see https://api.highcharts.com/highstock/annotations.shapes.point.xAxis
   * @see https://api.highcharts.com/highmaps/annotations.shapes.point.xAxis
   *
   * @implspec xAxis?: (number|string);
   *
   */
  @JSProperty("xAxis")
  void setXAxis(double value);

  /**
   * (Highcharts, Highstock, Highmaps) This number defines which xAxis the
   * point is connected to. It refers to either the axis id or the index of
   * the axis in the xAxis array. If the option is not configured or the axis
   * is not found the point's x coordinate refers to the chart pixels.
   *
   * @see https://api.highcharts.com/highcharts/annotations.shapes.point.xAxis
   * @see https://api.highcharts.com/highstock/annotations.shapes.point.xAxis
   * @see https://api.highcharts.com/highmaps/annotations.shapes.point.xAxis
   *
   * @implspec xAxis?: (number|string);
   *
   */
  @JSProperty("xAxis")
  void setXAxis(String value);

  /**
   * (Highcharts, Highstock, Highmaps) The y position of the point. Units can
   * be either in axis or chart pixel coordinates.
   *
   * @see https://api.highcharts.com/highcharts/annotations.shapes.point.y
   * @see https://api.highcharts.com/highstock/annotations.shapes.point.y
   * @see https://api.highcharts.com/highmaps/annotations.shapes.point.y
   *
   * @implspec y?: number;
   *
   */
  @JSProperty("y")
  double getY();

  /**
   * (Highcharts, Highstock, Highmaps) The y position of the point. Units can
   * be either in axis or chart pixel coordinates.
   *
   * @see https://api.highcharts.com/highcharts/annotations.shapes.point.y
   * @see https://api.highcharts.com/highstock/annotations.shapes.point.y
   * @see https://api.highcharts.com/highmaps/annotations.shapes.point.y
   *
   * @implspec y?: number;
   *
   */
  @JSProperty("y")
  void setY(double value);

  /**
   * (Highcharts, Highstock, Highmaps) This number defines which yAxis the
   * point is connected to. It refers to either the axis id or the index of
   * the axis in the yAxis array. If the option is not configured or the axis
   * is not found the point's y coordinate refers to the chart pixels.
   *
   * @see https://api.highcharts.com/highcharts/annotations.shapes.point.yAxis
   * @see https://api.highcharts.com/highstock/annotations.shapes.point.yAxis
   * @see https://api.highcharts.com/highmaps/annotations.shapes.point.yAxis
   *
   * @implspec yAxis?: (number|string);
   *
   */
  @JSProperty("yAxis")
  @Nullable
  Unknown getYAxis();

  /**
   * (Highcharts, Highstock, Highmaps) This number defines which yAxis the
   * point is connected to. It refers to either the axis id or the index of
   * the axis in the yAxis array. If the option is not configured or the axis
   * is not found the point's y coordinate refers to the chart pixels.
   *
   * @see https://api.highcharts.com/highcharts/annotations.shapes.point.yAxis
   * @see https://api.highcharts.com/highstock/annotations.shapes.point.yAxis
   * @see https://api.highcharts.com/highmaps/annotations.shapes.point.yAxis
   *
   * @implspec yAxis?: (number|string);
   *
   */
  @JSProperty("yAxis")
  void setYAxis(double value);

  /**
   * (Highcharts, Highstock, Highmaps) This number defines which yAxis the
   * point is connected to. It refers to either the axis id or the index of
   * the axis in the yAxis array. If the option is not configured or the axis
   * is not found the point's y coordinate refers to the chart pixels.
   *
   * @see https://api.highcharts.com/highcharts/annotations.shapes.point.yAxis
   * @see https://api.highcharts.com/highstock/annotations.shapes.point.yAxis
   * @see https://api.highcharts.com/highmaps/annotations.shapes.point.yAxis
   *
   * @implspec yAxis?: (number|string);
   *
   */
  @JSProperty("yAxis")
  void setYAxis(String value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy