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

com.github.fluorumlabs.disconnect.highcharts.PlotSplineConnectorsOptions 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 org.teavm.jso.JSProperty;

/**
 * (Gantt) Override Pathfinder connector options for a series. Requires
 * Highcharts Gantt to be loaded.
 *
 * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors
 *
 */
public interface PlotSplineConnectorsOptions extends Any {
  /**
   * (Gantt) Set the default dash style for this chart's connecting lines.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.dashStyle
   *
   * @implspec dashStyle?: string;
   *
   */
  @JSProperty("dashStyle")
  @Nullable
  String getDashStyle();

  /**
   * (Gantt) Set the default dash style for this chart's connecting lines.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.dashStyle
   *
   * @implspec dashStyle?: string;
   *
   */
  @JSProperty("dashStyle")
  void setDashStyle(String value);

  /**
   * (Gantt) Marker options specific to the end markers for this chart's
   * Pathfinder connectors. Overrides the generic marker options.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.endMarker
   *
   * @implspec endMarker?: PlotSplineConnectorsEndMarkerOptions;
   *
   */
  @JSProperty("endMarker")
  @Nullable
  PlotSplineConnectorsEndMarkerOptions getEndMarker();

  /**
   * (Gantt) Marker options specific to the end markers for this chart's
   * Pathfinder connectors. Overrides the generic marker options.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.endMarker
   *
   * @implspec endMarker?: PlotSplineConnectorsEndMarkerOptions;
   *
   */
  @JSProperty("endMarker")
  void setEndMarker(PlotSplineConnectorsEndMarkerOptions value);

  /**
   * (Gantt) Set the default color for this chart's Pathfinder connecting
   * lines. Defaults to the color of the point being connected.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.lineColor
   *
   * @implspec lineColor?: ColorString;
   *
   */
  @JSProperty("lineColor")
  @Nullable
  String getLineColor();

  /**
   * (Gantt) Set the default color for this chart's Pathfinder connecting
   * lines. Defaults to the color of the point being connected.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.lineColor
   *
   * @implspec lineColor?: ColorString;
   *
   */
  @JSProperty("lineColor")
  void setLineColor(String value);

  /**
   * (Gantt) Set the default pixel width for this chart's Pathfinder
   * connecting lines.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.lineWidth
   *
   * @implspec lineWidth?: number;
   *
   */
  @JSProperty("lineWidth")
  double getLineWidth();

  /**
   * (Gantt) Set the default pixel width for this chart's Pathfinder
   * connecting lines.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.lineWidth
   *
   * @implspec lineWidth?: number;
   *
   */
  @JSProperty("lineWidth")
  void setLineWidth(double value);

  /**
   * (Gantt) Marker options for this chart's Pathfinder connectors. Note that
   * this option is overridden by the startMarker and endMarker options.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.marker
   *
   * @implspec marker?: PlotSplineConnectorsMarkerOptions;
   *
   */
  @JSProperty("marker")
  @Nullable
  PlotSplineConnectorsMarkerOptions getMarker();

  /**
   * (Gantt) Marker options for this chart's Pathfinder connectors. Note that
   * this option is overridden by the startMarker and endMarker options.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.marker
   *
   * @implspec marker?: PlotSplineConnectorsMarkerOptions;
   *
   */
  @JSProperty("marker")
  void setMarker(PlotSplineConnectorsMarkerOptions value);

  /**
   * (Gantt) Marker options specific to the start markers for this chart's
   * Pathfinder connectors. Overrides the generic marker options.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.startMarker
   *
   * @implspec startMarker?: PlotSplineConnectorsStartMarkerOptions;
   *
   */
  @JSProperty("startMarker")
  @Nullable
  PlotSplineConnectorsStartMarkerOptions getStartMarker();

  /**
   * (Gantt) Marker options specific to the start markers for this chart's
   * Pathfinder connectors. Overrides the generic marker options.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.startMarker
   *
   * @implspec startMarker?: PlotSplineConnectorsStartMarkerOptions;
   *
   */
  @JSProperty("startMarker")
  void setStartMarker(PlotSplineConnectorsStartMarkerOptions value);

  /**
   * (Gantt) Set the default pathfinder algorithm to use for this chart. It is
   * possible to define your own algorithms by adding them to the
   * Highcharts.Pathfinder.prototype.algorithms object before the chart has
   * been created.
   *
   * The default algorithms are as follows:
   *
   * straight: Draws a straight line between the connecting points. Does not
   * avoid other points when drawing.
   *
   * simpleConnect: Finds a path between the points using right angles only.
   * Takes only starting/ending points into account, and will not avoid other
   * points.
   *
   * fastAvoid: Finds a path between the points using right angles only.
   * Will attempt to avoid other points, but its focus is performance over
   * accuracy. Works well with less dense datasets.
   *
   * Default value: straight is used as default for most series types, while
   * simpleConnect is used as default for Gantt series, to show dependencies
   * between points.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.type
   *
   * @implspec type?: ("straight"|"fastAvoid"|"simpleConnect");
   *
   */
  @JSProperty("type")
  @Nullable
  Type getType();

  /**
   * (Gantt) Set the default pathfinder algorithm to use for this chart. It is
   * possible to define your own algorithms by adding them to the
   * Highcharts.Pathfinder.prototype.algorithms object before the chart has
   * been created.
   *
   * The default algorithms are as follows:
   *
   * straight: Draws a straight line between the connecting points. Does not
   * avoid other points when drawing.
   *
   * simpleConnect: Finds a path between the points using right angles only.
   * Takes only starting/ending points into account, and will not avoid other
   * points.
   *
   * fastAvoid: Finds a path between the points using right angles only.
   * Will attempt to avoid other points, but its focus is performance over
   * accuracy. Works well with less dense datasets.
   *
   * Default value: straight is used as default for most series types, while
   * simpleConnect is used as default for Gantt series, to show dependencies
   * between points.
   *
   * @see https://api.highcharts.com/gantt/plotOptions.spline.connectors.type
   *
   * @implspec type?: ("straight"|"fastAvoid"|"simpleConnect");
   *
   */
  @JSProperty("type")
  void setType(Type value);

  /**
   */
  abstract class Type extends JsEnum {
    public static final Type STRAIGHT = JsEnum.of("straight");

    public static final Type FASTAVOID = JsEnum.of("fastAvoid");

    public static final Type SIMPLECONNECT = JsEnum.of("simpleConnect");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy