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

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

/**
 * (Highcharts, Highstock, Gantt) Options for displaying a message like "No data
 * to display". This feature requires the file no-data-to-display.js to be
 * loaded in the page. The actual text to display is set in the lang.noData
 * option.
 *
 * @see https://api.highcharts.com/highcharts/noData
 * @see https://api.highcharts.com/highstock/noData
 * @see https://api.highcharts.com/gantt/noData
 *
 */
public interface NoDataOptions extends Any {
  /**
   * (Highcharts, Highstock, Gantt) An object of additional SVG attributes for
   * the no-data label.
   *
   * @see https://api.highcharts.com/highcharts/noData.attr
   * @see https://api.highcharts.com/highstock/noData.attr
   * @see https://api.highcharts.com/gantt/noData.attr
   *
   * @implspec attr?: SVGAttributes;
   *
   */
  @JSProperty("attr")
  @Nullable
  SVGAttributes getAttr();

  /**
   * (Highcharts, Highstock, Gantt) An object of additional SVG attributes for
   * the no-data label.
   *
   * @see https://api.highcharts.com/highcharts/noData.attr
   * @see https://api.highcharts.com/highstock/noData.attr
   * @see https://api.highcharts.com/gantt/noData.attr
   *
   * @implspec attr?: SVGAttributes;
   *
   */
  @JSProperty("attr")
  void setAttr(SVGAttributes value);

  /**
   * (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
   *
   * @implspec position?: NoDataPositionOptions;
   *
   */
  @JSProperty("position")
  @Nullable
  NoDataPositionOptions getPosition();

  /**
   * (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
   *
   * @implspec position?: NoDataPositionOptions;
   *
   */
  @JSProperty("position")
  void setPosition(NoDataPositionOptions value);

  /**
   * (Highcharts, Highstock, Gantt) CSS styles for the no-data label.
   *
   * @see https://api.highcharts.com/highcharts/noData.style
   * @see https://api.highcharts.com/highstock/noData.style
   * @see https://api.highcharts.com/gantt/noData.style
   *
   * @implspec style?: CSSObject;
   *
   */
  @JSProperty("style")
  @Nullable
  CSSObject getStyle();

  /**
   * (Highcharts, Highstock, Gantt) CSS styles for the no-data label.
   *
   * @see https://api.highcharts.com/highcharts/noData.style
   * @see https://api.highcharts.com/highstock/noData.style
   * @see https://api.highcharts.com/gantt/noData.style
   *
   * @implspec style?: CSSObject;
   *
   */
  @JSProperty("style")
  void setStyle(CSSObject value);

  /**
   * (Highcharts, Highstock, Gantt) Whether to insert the label as HTML, or as
   * pseudo-HTML rendered with SVG.
   *
   * @see https://api.highcharts.com/highcharts/noData.useHTML
   * @see https://api.highcharts.com/highstock/noData.useHTML
   * @see https://api.highcharts.com/gantt/noData.useHTML
   *
   * @implspec useHTML?: boolean;
   *
   */
  @JSProperty("useHTML")
  boolean getUseHTML();

  /**
   * (Highcharts, Highstock, Gantt) Whether to insert the label as HTML, or as
   * pseudo-HTML rendered with SVG.
   *
   * @see https://api.highcharts.com/highcharts/noData.useHTML
   * @see https://api.highcharts.com/highstock/noData.useHTML
   * @see https://api.highcharts.com/gantt/noData.useHTML
   *
   * @implspec useHTML?: boolean;
   *
   */
  @JSProperty("useHTML")
  void setUseHTML(boolean value);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy