com.github.fluorumlabs.disconnect.highcharts.NavigatorXAxisCrosshairOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of disconnect-highcharts Show documentation
Show all versions of disconnect-highcharts Show documentation
Highcharts API bindings for Disconnect Zero
package com.github.fluorumlabs.disconnect.highcharts;
import java.lang.String;
import javax.annotation.Nullable;
import js.extras.JsEnum;
import js.lang.Any;
import js.lang.Unknown;
import org.teavm.jso.JSProperty;
/**
* (Highstock) Configure a crosshair that follows either the mouse pointer or
* the hovered point.
*
* In styled mode, the crosshairs are styled in the .highcharts-crosshair
,
* .highcharts-crosshair-thin
or .highcharts-xaxis-category
classes.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair
*
*/
public interface NavigatorXAxisCrosshairOptions extends Any {
/**
* (Highstock) A class name for the crosshair, especially as a hook for
* styling.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.className
*
* @implspec className?: string;
*
*/
@JSProperty("className")
@Nullable
String getClassName();
/**
* (Highstock) A class name for the crosshair, especially as a hook for
* styling.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.className
*
* @implspec className?: string;
*
*/
@JSProperty("className")
void setClassName(String value);
/**
* (Highstock) The color of the crosshair. Defaults to #cccccc
for numeric
* and datetime axes, and rgba(204,214,235,0.25)
for category axes, where
* the crosshair by default highlights the whole category.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.color
*
* @implspec color?: (ColorString|GradientColorObject|object);
*
*/
@JSProperty("color")
@Nullable
Unknown getColor();
/**
* (Highstock) The color of the crosshair. Defaults to #cccccc
for numeric
* and datetime axes, and rgba(204,214,235,0.25)
for category axes, where
* the crosshair by default highlights the whole category.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.color
*
* @implspec color?: (ColorString|GradientColorObject|object);
*
*/
@JSProperty("color")
void setColor(GradientColorObject value);
/**
* (Highstock) The color of the crosshair. Defaults to #cccccc
for numeric
* and datetime axes, and rgba(204,214,235,0.25)
for category axes, where
* the crosshair by default highlights the whole category.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.color
*
* @implspec color?: (ColorString|GradientColorObject|object);
*
*/
@JSProperty("color")
void setColor(String value);
/**
* (Highstock) The color of the crosshair. Defaults to #cccccc
for numeric
* and datetime axes, and rgba(204,214,235,0.25)
for category axes, where
* the crosshair by default highlights the whole category.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.color
*
* @implspec color?: (ColorString|GradientColorObject|object);
*
*/
@JSProperty("color")
void setColor(Any value);
/**
* (Highstock) The dash style for the crosshair. See series.dashStyle for
* possible values.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.dashStyle
*
* @implspec dashStyle?: ("Dash"|"DashDot"|"Dot"|"LongDash"|"LongDashDot"|"LongDashDotDot"|"ShortDash"|"ShortDashDot"|"ShortDashDotDot"|"ShortDot"|"Solid");
*
*/
@JSProperty("dashStyle")
@Nullable
DashStyle getDashStyle();
/**
* (Highstock) The dash style for the crosshair. See series.dashStyle for
* possible values.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.dashStyle
*
* @implspec dashStyle?: ("Dash"|"DashDot"|"Dot"|"LongDash"|"LongDashDot"|"LongDashDotDot"|"ShortDash"|"ShortDashDot"|"ShortDashDotDot"|"ShortDot"|"Solid");
*
*/
@JSProperty("dashStyle")
void setDashStyle(DashStyle value);
/**
* (Highstock) A label on the axis next to the crosshair.
*
* In styled mode, the label is styled with the
* .highcharts-crosshair-label
class.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.label
*
* @implspec label?: NavigatorXAxisCrosshairLabelOptions;
*
*/
@JSProperty("label")
@Nullable
NavigatorXAxisCrosshairLabelOptions getLabel();
/**
* (Highstock) A label on the axis next to the crosshair.
*
* In styled mode, the label is styled with the
* .highcharts-crosshair-label
class.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.label
*
* @implspec label?: NavigatorXAxisCrosshairLabelOptions;
*
*/
@JSProperty("label")
void setLabel(NavigatorXAxisCrosshairLabelOptions value);
/**
* (Highstock) Whether the crosshair should snap to the point or follow the
* pointer independent of points.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.snap
*
* @implspec snap?: boolean;
*
*/
@JSProperty("snap")
boolean getSnap();
/**
* (Highstock) Whether the crosshair should snap to the point or follow the
* pointer independent of points.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.snap
*
* @implspec snap?: boolean;
*
*/
@JSProperty("snap")
void setSnap(boolean value);
/**
* (Highstock) The pixel width of the crosshair. Defaults to 1 for numeric
* or datetime axes, and for one category width for category axes.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.width
*
* @implspec width?: number;
*
*/
@JSProperty("width")
double getWidth();
/**
* (Highstock) The pixel width of the crosshair. Defaults to 1 for numeric
* or datetime axes, and for one category width for category axes.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.width
*
* @implspec width?: number;
*
*/
@JSProperty("width")
void setWidth(double value);
/**
* (Highstock) The Z index of the crosshair. Higher Z indices allow drawing
* the crosshair on top of the series or behind the grid lines.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.zIndex
*
* @implspec zIndex?: number;
*
*/
@JSProperty("zIndex")
double getZIndex();
/**
* (Highstock) The Z index of the crosshair. Higher Z indices allow drawing
* the crosshair on top of the series or behind the grid lines.
*
* @see https://api.highcharts.com/highstock/navigator.xAxis.crosshair.zIndex
*
* @implspec zIndex?: number;
*
*/
@JSProperty("zIndex")
void setZIndex(double value);
/**
*/
abstract class DashStyle extends JsEnum {
public static final DashStyle DASH = JsEnum.of("Dash");
public static final DashStyle DASHDOT = JsEnum.of("DashDot");
public static final DashStyle DOT = JsEnum.of("Dot");
public static final DashStyle LONGDASH = JsEnum.of("LongDash");
public static final DashStyle LONGDASHDOT = JsEnum.of("LongDashDot");
public static final DashStyle LONGDASHDOTDOT = JsEnum.of("LongDashDotDot");
public static final DashStyle SHORTDASH = JsEnum.of("ShortDash");
public static final DashStyle SHORTDASHDOT = JsEnum.of("ShortDashDot");
public static final DashStyle SHORTDASHDOTDOT = JsEnum.of("ShortDashDotDot");
public static final DashStyle SHORTDOT = JsEnum.of("ShortDot");
public static final DashStyle SOLID = JsEnum.of("Solid");
}
}