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

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

There is a newer version: 0.1.0-alpha2
Show newest version
package com.github.fluorumlabs.disconnect.highcharts;

import java.lang.UnsupportedOperationException;
import js.lang.Any;
import js.lang.Unknown;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSProperty;

/**
 * The object wrapper for plot lines and plot bands
 *
 */
public interface PlotLineOrBand extends Any {
  /**
   * The object wrapper for plot lines and plot bands
   *
   * @implspec constructor(axis: Axis, options: (AxisPlotBandsOptions|AxisPlotLinesOptions));
   *
   */
  @JSBody(
      params = {"axis", "options"},
      script = "return new PlotLineOrBand(axis, options)"
  )
  static PlotLineOrBand create(Axis axis, Unknown options) {
    throw new UnsupportedOperationException("Available only in JavaScript");
  }

  /**
   * SVG element of the label.
   *
   * @implspec label: SVGElement;
   *
   */
  @JSProperty("label")
  SVGElement getLabel();

  /**
   * SVG element of the label.
   *
   * @implspec label: SVGElement;
   *
   */
  @JSProperty("label")
  void setLabel(SVGElement value);

  /**
   * SVG element of the plot line or band.
   *
   * @implspec svgElement: SVGElement;
   *
   */
  @JSProperty("svgElement")
  SVGElement getSvgElement();

  /**
   * SVG element of the plot line or band.
   *
   * @implspec svgElement: SVGElement;
   *
   */
  @JSProperty("svgElement")
  void setSvgElement(SVGElement value);

  /**
   * Remove the plot line or band.
   *
   * @implspec destroy(): void;
   *
   */
  void destroy();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy