Class/Object

com.highmaps.config

SeriesMap

Related Docs: object SeriesMap | package config

Permalink

class SeriesMap extends Object

Annotations
@RawJSType() @ScalaJSDefined()
Note

JavaScript name: series<map>

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SeriesMap
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SeriesMap()

    Permalink

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. val allAreas: UndefOr[Boolean]

    Permalink

    Whether all areas of the map defined in mapData should be rendered.

    Whether all areas of the map defined in mapData should be rendered. If true, areas which don't correspond to a data point, are rendered as null points. If false, those areas are skipped.

  5. val allowPointSelect: UndefOr[Boolean]

    Permalink

    Allow this series' points to be selected by clicking on the shapes.

    Allow this series' points to be selected by clicking on the shapes. Selected points can be read through the Chart.getSelectedPoints() method.

    Example:
    1. Allow select on map area, map bubble

  6. val animation: UndefOr[Boolean]

    Permalink

    Enable or disable the initial animation when a series is displayed.

    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 map series, but enabled on mapbubble series.

  7. val animationLimit: UndefOr[Double]

    Permalink

    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 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.

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. val borderColor: UndefOr[|[String, Object]]

    Permalink

    The border color of the map areas.

    The border color of the map areas.

    In styled mode, the border stroke is given in the .highcharts-point class.

    Example:
    1. Borders demo

  10. val borderWidth: UndefOr[Double]

    Permalink

    The border width of each map area.

    The border width of each map area.

    In styled mode, the border stroke width is given in the .highcharts-point class.

    Example:
    1. Borders demo

  11. val className: UndefOr[String]

    Permalink

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

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

    Since

    5.0.0

  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. val color: UndefOr[|[String, Object]]

    Permalink

    The main color of the series.

    The main color of the series. In maps, this color is rarely used, as most choropleth maps use the color to denote the value of each point. The series color can however be used in a map with multiple series holding categorized data. 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.

  14. val colorAxis: UndefOr[Boolean]

    Permalink

    Set this option to false to prevent a series from connecting to the global color axis.

    Set this option to false to prevent a series from connecting to the global color axis. This will cause the series to have its own legend item.

  15. val colorIndex: UndefOr[Double]

    Permalink

    Styled mode only.

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

    Since

    5.0.0

  16. val cursor: UndefOr[String]

    Permalink

    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.

    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.

    Example:
    1. Pointer cursor on map area, map bubble

  17. val dashStyle: UndefOr[String]

    Permalink

    A name for the dash style to use for the map area outline or the map line.

    A name for the dash style to use for the map area outline or the map line. The value for the dashStyle include:

    • Solid
    • ShortDash
    • ShortDot
    • ShortDashDot
    • ShortDashDotDot
    • Dot
    • Dash
    • LongDash
    • DashDot
    • LongDashDot
    • LongDashDotDot
  18. val data: UndefOr[Array[CleanJsObject[SeriesMapData]]]

    Permalink

    An array of data points for the series.

    An array of data points for the series. For the map 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 value options. Example:
      data: [0, 5, 3, 5]
      
    • An array of arrays with 2 values. In this case, the values correspond to [hc-key, value]. Example:
      data: [['us-ny', 0], ['us-mi', 5], ['us-tx', 3], ['us-ak', 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: [{
        value: 6,
        name: "Point2",
        color: "#00FF00"
    }, {
        value: 6,
        name: "Point1",
        color: "#FF00FF"
    }]
    

  19. val dataLabels: UndefOr[CleanJsObject[SeriesMapDataLabels]]

    Permalink

    Options for the series data labels, appearing next to each data point.

    Options for the series data labels, appearing next to each data point.

    In styled mode, the data labels can be styled wtih the .highcharts-data-label-box and .highcharts-data-label class names (see example).

  20. val description: UndefOr[String]

    Permalink

    Requires Accessibility module

    Requires Accessibility module

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

    Since

    5.0.0

  21. val enableMouseTracking: UndefOr[Boolean]

    Permalink

    Enable or disable the mouse tracking for a specific series.

    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.

  22. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. val events: UndefOr[CleanJsObject[SeriesMapEvents]]

    Permalink
  25. val exposeElementToA11y: UndefOr[Boolean]

    Permalink

    By default, series are exposed to screen readers as regions.

    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.

    Since

    5.0.12

  26. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. val findNearestPointBy: UndefOr[String]

    Permalink

    Determines whether the series should look for the nearest point in both dimensions or just the x-dimension when hovering the series.

    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.

    Since

    5.0.10

  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  30. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  31. val id: UndefOr[String]

    Permalink

    An id for the series.

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

  32. val index: UndefOr[Double]

    Permalink

    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.

    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.

  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  35. val joinBy: UndefOr[|[String, Array[String]]]

    Permalink

    What property to join the mapData to the value data.

    What property to join the mapData to the value data. For example, if joinBy is "code", the mapData items with a specific code is merged into the data with the same code. For maps loaded from GeoJSON, the keys may be held in each point's properties object.

    The joinBy option can also be an array of two values, where the first points to a key in the mapData, and the second points to another key in the data.

    When joinBy is null, the map items are joined by their position in the array, which performs much better in maps with many data points. This is the recommended option if you are printing more than a thousand data points and have a backend that can preprocess the data into a parallel array of the mapData.

  36. val legendIndex: UndefOr[Double]

    Permalink

    The sequential index of the series in the legend.

  37. val mapData: UndefOr[Array[Object]]

    Permalink

    An array of objects containing a path definition and optionally a code or property to join in the data as per the joinBy option.

    An array of objects containing a path definition and optionally a code or property to join in the data as per the joinBy option.

  38. val name: UndefOr[String]

    Permalink

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

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

    Example:
    1. Series name

  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. val negativeColor: UndefOr[|[String, Object]]

    Permalink

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

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

    Since

    3.0

  41. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  43. val nullColor: UndefOr[|[String, Object]]

    Permalink

    The color to apply to null points.

    The color to apply to null points.

    In styled mode, the null point fill is set in the .highcharts-null-point class.

    Example:
    1. Null color

  44. val nullInteraction: UndefOr[Boolean]

    Permalink

    Whether to allow pointer interaction like tooltips and mouse events on null points.

    Whether to allow pointer interaction like tooltips and mouse events on null points.

    Since

    4.2.7

  45. val point: UndefOr[CleanJsObject[SeriesMapPoint]]

    Permalink

    Properties for each single point

  46. val pointDescriptionFormatter: UndefOr[Function]

    Permalink

    Same as accessibility.pointDescriptionFormatter, but for an individual series.

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

    Since

    5.0.12

  47. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  48. val selected: UndefOr[Boolean]

    Permalink

    Whether to select the series initially.

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

  49. val shadow: UndefOr[|[Boolean, Object]]

    Permalink

    Whether to apply a drop shadow to the shapes.

    Whether to apply a drop shadow to the shapes. The shadow can be an object configuration containing color, offsetX, offsetY, opacity and width.

  50. val showCheckbox: UndefOr[Boolean]

    Permalink

    If true, and the series has a unique legend item, a checkbox is displayed next to the legend item to allow selecting the series.

    If true, and the series has a unique legend item, 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. Note that if a colorAxis is defined, the color axis is represented in the legend, not the series.

  51. val showInLegend: UndefOr[Boolean]

    Permalink

    Whether to display this particular series or series type in the legend.

    Whether to display this particular series or series type in the legend. Note that if a colorAxis is defined, the color axis is represented in the legend, not the series.

  52. val skipKeyboardNavigation: UndefOr[Boolean]

    Permalink

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

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

    Since

    5.0.12

  53. val states: UndefOr[CleanJsObject[PlotOptionsSeriesStates]]

    Permalink

    A wrapper object for all the series options in specific states.

  54. val stickyTracking: UndefOr[Boolean]

    Permalink

    Sticky tracking of mouse events.

    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.

  55. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  56. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  57. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  58. val tooltip: UndefOr[CleanJsObject[SeriesMapTooltip]]

    Permalink

    A configuration object for the tooltip rendering of each single series.

    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.

  59. val type: String

    Permalink

    The type of series.

    The type of series. Can be one of area, areaspline, bar, column, line, pie, scatter or spline. From version 2.3, arearange, areasplinerange and columnrange are supported with the highcharts-more.js component.

  60. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  61. val visible: UndefOr[Boolean]

    Permalink

    Set the initial visibility of the series.

  62. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. val zIndex: UndefOr[Double]

    Permalink

    Define the z index of the series.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped