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

com.github.fluorumlabs.disconnect.highcharts.PlotVariablepieLabelOptions 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 js.util.collections.Array;
import org.teavm.jso.JSProperty;

/**
 * (Highcharts, Highstock, Gantt) Series labels are placed as close to the
 * series as possible in a natural way, seeking to avoid other series. The goal
 * of this feature is to make the chart more easily readable, like if a human
 * designer placed the labels in the optimal position.
 *
 * The series labels currently work with series types having a graph or an
 * area.
 *
 * Requires the series-label.js module.
 *
 * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label
 * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label
 * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label
 *
 */
public interface PlotVariablepieLabelOptions extends Any {
  /**
   * (Highcharts, Highstock, Gantt) An array of boxes to avoid when laying out
   * the labels. Each item has a left, right, top and bottom property.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.boxesToAvoid
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.boxesToAvoid
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.boxesToAvoid
   *
   * @implspec boxesToAvoid?: Array;
   *
   */
  @JSProperty("boxesToAvoid")
  @Nullable
  Array getBoxesToAvoid();

  /**
   * (Highcharts, Highstock, Gantt) An array of boxes to avoid when laying out
   * the labels. Each item has a left, right, top and bottom property.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.boxesToAvoid
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.boxesToAvoid
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.boxesToAvoid
   *
   * @implspec boxesToAvoid?: Array;
   *
   */
  @JSProperty("boxesToAvoid")
  void setBoxesToAvoid(Array value);

  /**
   * (Highcharts, Highstock, Gantt) Allow labels to be placed distant to the
   * graph if necessary, and draw a connector line to the graph. Setting this
   * option to true may decrease the performance significantly, since the
   * algorithm with systematically search for open spaces in the while plot
   * area. Visually, it may also result in a more cluttered chart, though more
   * of the series will be labeled.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.connectorAllowed
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.connectorAllowed
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.connectorAllowed
   *
   * @implspec connectorAllowed?: boolean;
   *
   */
  @JSProperty("connectorAllowed")
  boolean getConnectorAllowed();

  /**
   * (Highcharts, Highstock, Gantt) Allow labels to be placed distant to the
   * graph if necessary, and draw a connector line to the graph. Setting this
   * option to true may decrease the performance significantly, since the
   * algorithm with systematically search for open spaces in the while plot
   * area. Visually, it may also result in a more cluttered chart, though more
   * of the series will be labeled.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.connectorAllowed
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.connectorAllowed
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.connectorAllowed
   *
   * @implspec connectorAllowed?: boolean;
   *
   */
  @JSProperty("connectorAllowed")
  void setConnectorAllowed(boolean value);

  /**
   * (Highcharts, Highstock, Gantt) If the label is closer than this to a
   * neighbour graph, draw a connector.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.connectorNeighbourDistance
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.connectorNeighbourDistance
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.connectorNeighbourDistance
   *
   * @implspec connectorNeighbourDistance?: number;
   *
   */
  @JSProperty("connectorNeighbourDistance")
  double getConnectorNeighbourDistance();

  /**
   * (Highcharts, Highstock, Gantt) If the label is closer than this to a
   * neighbour graph, draw a connector.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.connectorNeighbourDistance
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.connectorNeighbourDistance
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.connectorNeighbourDistance
   *
   * @implspec connectorNeighbourDistance?: number;
   *
   */
  @JSProperty("connectorNeighbourDistance")
  void setConnectorNeighbourDistance(double value);

  /**
   * (Highcharts, Highstock, Gantt) Enable the series label per series.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.enabled
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.enabled
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.enabled
   *
   * @implspec enabled?: boolean;
   *
   */
  @JSProperty("enabled")
  boolean getEnabled();

  /**
   * (Highcharts, Highstock, Gantt) Enable the series label per series.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.enabled
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.enabled
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.enabled
   *
   * @implspec enabled?: boolean;
   *
   */
  @JSProperty("enabled")
  void setEnabled(boolean value);

  /**
   * (Highcharts, Highstock, Gantt) For area-like series, allow the font size
   * to vary so that small areas get a smaller font size. The default applies
   * this effect to area-like series but not line-like series.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.maxFontSize
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.maxFontSize
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.maxFontSize
   *
   * @implspec maxFontSize?: (number|null);
   *
   */
  @JSProperty("maxFontSize")
  double getMaxFontSize();

  /**
   * (Highcharts, Highstock, Gantt) For area-like series, allow the font size
   * to vary so that small areas get a smaller font size. The default applies
   * this effect to area-like series but not line-like series.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.maxFontSize
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.maxFontSize
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.maxFontSize
   *
   * @implspec maxFontSize?: (number|null);
   *
   */
  @JSProperty("maxFontSize")
  void setMaxFontSize(double value);

  /**
   * (Highcharts, Highstock, Gantt) For area-like series, allow the font size
   * to vary so that small areas get a smaller font size. The default applies
   * this effect to area-like series but not line-like series.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.minFontSize
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.minFontSize
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.minFontSize
   *
   * @implspec minFontSize?: (number|null);
   *
   */
  @JSProperty("minFontSize")
  double getMinFontSize();

  /**
   * (Highcharts, Highstock, Gantt) For area-like series, allow the font size
   * to vary so that small areas get a smaller font size. The default applies
   * this effect to area-like series but not line-like series.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.minFontSize
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.minFontSize
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.minFontSize
   *
   * @implspec minFontSize?: (number|null);
   *
   */
  @JSProperty("minFontSize")
  void setMinFontSize(double value);

  /**
   * (Highcharts, Highstock, Gantt) Draw the label on the area of an area
   * series. By default it is drawn on the area. Set it to false to draw it
   * next to the graph instead.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.onArea
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.onArea
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.onArea
   *
   * @implspec onArea?: (boolean|null);
   *
   */
  @JSProperty("onArea")
  boolean getOnArea();

  /**
   * (Highcharts, Highstock, Gantt) Draw the label on the area of an area
   * series. By default it is drawn on the area. Set it to false to draw it
   * next to the graph instead.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.onArea
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.onArea
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.onArea
   *
   * @implspec onArea?: (boolean|null);
   *
   */
  @JSProperty("onArea")
  void setOnArea(boolean value);

  /**
   * (Highcharts, Highstock, Gantt) Styles for the series label. The color
   * defaults to the series color, or a contrast color if onArea.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.style
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.style
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.style
   *
   * @implspec style?: CSSObject;
   *
   */
  @JSProperty("style")
  @Nullable
  CSSObject getStyle();

  /**
   * (Highcharts, Highstock, Gantt) Styles for the series label. The color
   * defaults to the series color, or a contrast color if onArea.
   *
   * @see https://api.highcharts.com/highcharts/plotOptions.variablepie.label.style
   * @see https://api.highcharts.com/highstock/plotOptions.variablepie.label.style
   * @see https://api.highcharts.com/gantt/plotOptions.variablepie.label.style
   *
   * @implspec style?: CSSObject;
   *
   */
  @JSProperty("style")
  void setStyle(CSSObject value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy