Object/Class

com.highcharts.config

SeriesGauge

Related Docs: class SeriesGauge | package config

Permalink

object SeriesGauge

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SeriesGauge
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(animation: UndefOr[Boolean] = js.undefined, animationLimit: UndefOr[Double] = js.undefined, className: UndefOr[String] = js.undefined, color: UndefOr[|[String, Object]] = js.undefined, colorIndex: UndefOr[Double] = js.undefined, cursor: UndefOr[String] = js.undefined, data: UndefOr[Array[|[CleanJsObject[SeriesGaugeData], Double]]] = js.undefined, dataLabels: UndefOr[CleanJsObject[SeriesGaugeDataLabels]] = js.undefined, description: UndefOr[String] = js.undefined, dial: UndefOr[CleanJsObject[SeriesGaugeDial]] = js.undefined, enableMouseTracking: UndefOr[Boolean] = js.undefined, events: UndefOr[CleanJsObject[SeriesGaugeEvents]] = js.undefined, exposeElementToA11y: UndefOr[Boolean] = js.undefined, findNearestPointBy: UndefOr[String] = js.undefined, getExtremesFromAll: UndefOr[Boolean] = js.undefined, id: UndefOr[String] = js.undefined, index: UndefOr[Double] = js.undefined, keys: UndefOr[Array[String]] = js.undefined, legendIndex: UndefOr[Double] = js.undefined, linkedTo: UndefOr[String] = js.undefined, name: UndefOr[String] = js.undefined, negativeColor: UndefOr[|[String, Object]] = js.undefined, overshoot: UndefOr[Double] = js.undefined, pivot: UndefOr[CleanJsObject[SeriesGaugePivot]] = js.undefined, point: UndefOr[CleanJsObject[SeriesGaugePoint]] = js.undefined, pointDescriptionFormatter: UndefOr[Function] = js.undefined, selected: UndefOr[Boolean] = js.undefined, showCheckbox: UndefOr[Boolean] = js.undefined, showInLegend: UndefOr[Boolean] = js.undefined, skipKeyboardNavigation: UndefOr[Boolean] = js.undefined, stickyTracking: UndefOr[Boolean] = js.undefined, threshold: UndefOr[Double] = js.undefined, tooltip: UndefOr[CleanJsObject[SeriesGaugeTooltip]] = js.undefined, type: String = "gauge", visible: UndefOr[Boolean] = js.undefined, wrap: UndefOr[Boolean] = js.undefined, xAxis: UndefOr[|[Double, String]] = js.undefined, yAxis: UndefOr[|[Double, String]] = js.undefined, zIndex: UndefOr[Double] = js.undefined): SeriesGauge

    Permalink

    animation

    Enable or disable the initial animation when a series is displayed. The animation can also be set as a configuration object. Please note that this option only applies to the initial animation of the series itself. For other animations, see chart.animation and the animation parameter under the API methods. The following properties are supported:. <dl>. <dt>duration</dt>.

    The duration of the animation in milliseconds.
    . <dt>easing</dt>.
    A string reference to an easing function set on the Math object. See the easing demo.
    . </dl>. . Due to poor performance, animation is disabled in old IE browsers for column charts and polar charts.

    animationLimit

    For some series, there is a limit that shuts down initial animation by default when the total number of points in the chart is too high. For example, for a column chart and its derivatives, animation doesn't run if there is more than 250 points totally. To disable this cap, set animationLimit to Infinity.

    className

    A class name to apply to the series' graphical elements.

    color

    The main color or the series. In line type series it applies to the line and the point markers unless otherwise specified. In bar type series it applies to the bars unless a color is specified per point. The default value is pulled from the options.colors array.. . In styled mode, the color can be defined by the colorIndex option. Also, the series color can be set with the .highcharts-series, .highcharts-color-{n}, .highcharts-{type}-series or .highcharts-series-{n} class, or individual classes given by the className option.

    colorIndex

    Styled mode only. A specific color index to use for the series, so its graphic representations are given the class name highcharts-color-{n}.

    cursor

    You can set the cursor to "pointer" if you have click events attached to the series, to signal to the user that the points and lines can be clicked.

    data

    An array of data points for the series. For the gauge series type, points can be given in the following ways:. .

    • An array of numerical values. In this case, the numerical values will . be interpreted as y options. Example:.
      data: [0, 5, 3, 5]
      
      - An array of objects with named values. The objects are. point configuration objects as seen below. If the total number of data points exceeds the series' turboThreshold, this option is not available.. .
      data: [{.     y: 6,.     name: "Point2",.     color: "#00FF00". }, {.     y: 8,.     name: "Point1",.     color: "#FF00FF". }]
      
      The typical gauge only contains a single data value.
    dataLabels

    Data labels for the gauge. For gauges, the data labels are enabled by default and shown in a bordered box below the point.

    description

    Requires Accessibility module. A description of the series to add to the screen reader information about the series.

    dial

    Options for the dial or arrow pointer of the gauge.. . In styled mode, the dial is styled with the .highcharts-gauge-series .highcharts-dial rule.

    enableMouseTracking

    Enable or disable the mouse tracking for a specific series. This includes point tooltips and click events on graphs and points. For large datasets it improves performance.

    exposeElementToA11y

    By default, series are exposed to screen readers as regions. By enabling this option, the series element itself will be exposed in the same way as the data points. This is useful if the series is not used as a grouping entity in the chart, but you still want to attach a description to the series.. Requires the Accessibility module.

    findNearestPointBy

    Determines whether the series should look for the nearest point in both dimensions or just the x-dimension when hovering the series. Defaults to 'xy' for scatter series and 'x' for most other series. If the data has duplicate x-values, it is recommended to set this to 'xy' to allow hovering over all points.. Applies only to series types using nearest neighbor search (not direct hover) for tooltip.

    getExtremesFromAll

    Whether to use the Y extremes of the total chart width or only the zoomed area when zooming in on parts of the X axis. By default, the Y axis adjusts to the min and max of the visible data. Cartesian series only.

    id

    An id for the series. This can be used after render time to get a pointer to the series object through chart.get().

    index

    The index of the series in the chart, affecting the internal index in the chart.series array, the visible Z index as well as the order in the legend.

    keys

    An array specifying which option maps to which key in the data point array. This makes it convenient to work with unstructured data arrays from different sources.

    legendIndex

    The sequential index of the series in the legend. Try it: Legend in opposite order .

    linkedTo

    The id of another series to link to. Additionally, the value can be ":previous" to link to the previous series. When two series are linked, only the first one appears in the legend. Toggling the visibility of this also toggles the linked series.

    name

    The name of the series as shown in the legend, tooltip etc.

    negativeColor

    The color for the parts of the graph or points that are below the threshold.

    overshoot

    Allow the dial to overshoot the end of the perimeter axis by this many degrees. Say if the gauge axis goes from 0 to 60, a value of 100, or 1000, will show 5 degrees beyond the end of the axis.

    pivot

    Options for the pivot or the center point of the gauge.. . In styled mode, the pivot is styled with the .highcharts-gauge-series .highcharts-pivot rule.

    point

    Properties for each single point

    pointDescriptionFormatter

    Same as accessibility.pointDescriptionFormatter, but for an individual series. Overrides the chart wide configuration.

    selected

    Whether to select the series initially. If showCheckbox is true, the checkbox next to the series name will be checked for a selected series.

    showCheckbox

    If true, a checkbox is displayed next to the legend item to allow selecting the series. The state of the checkbox is determined by the selected option.

    showInLegend

    Whether to display this particular series or series type in the legend. Defaults to false for gauge series.

    skipKeyboardNavigation

    If set to True, the accessibility module will skip past the points in this series for keyboard navigation.

    stickyTracking

    Sticky tracking of mouse events. When true, the mouseOut event. on a series isn't triggered until the mouse moves over another series, or out. of the plot area. When false, the mouseOut event on a series is. triggered when the mouse leaves the area around the series' graph or markers.. This also implies the tooltip. When stickyTracking is false and tooltip.shared is false, the . tooltip will be hidden when moving the mouse between series. Defaults to true for line and area type series, but to false for columns, pies etc.

    threshold

    The threshold, also called zero level or base level. For line type series this is only used in conjunction with negativeColor.

    tooltip

    A configuration object for the tooltip rendering of each single series. Properties are inherited from tooltip, but only the following properties can be defined on a series level.

    visible

    Set the initial visibility of the series.

    wrap

    When this option is true, the dial will wrap around the axes. For instance, in a full-range gauge going from 0 to 360, a value of 400 will point to 40. When wrap is false, the dial stops at 360.

    xAxis

    When using dual or multiple x axes, this number defines which xAxis the particular series is connected to. It refers to either the axis id or the index of the axis in the xAxis array, with 0 being the first.

    yAxis

    When using dual or multiple y axes, this number defines which yAxis the particular series is connected to. It refers to either the axis id or the index of the axis in the yAxis array, with 0 being the first.

    zIndex

    Define the visual z index of the series.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped