Class/Object

com.highcharts.config

SeriesTreemap

Related Docs: object SeriesTreemap | package config

Permalink

class SeriesTreemap extends Object

Annotations
@RawJSType() @ScalaJSDefined()
Note

JavaScript name: series<treemap>

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

Instance Constructors

  1. new SeriesTreemap()

    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 allowDrillToNode: UndefOr[Boolean]

    Permalink

    When enabled the user can click on a point which is a parent and zoom in on its children.

    When enabled the user can click on a point which is a parent and zoom in on its children.

    Example:
    1. Enabled

    Since

    4.1.0

  5. val allowPointSelect: UndefOr[Boolean]

    Permalink

    Allow this series' points to be selected by clicking on the markers, bars or pie slices.

    Allow this series' points to be selected by clicking on the markers, bars or pie slices.

    Example:
    1. Line, column, pie

    Since

    1.2.0

  6. val alternateStartingDirection: UndefOr[Boolean]

    Permalink

    Enabling this option will make the treemap alternate the drawing direction between vertical and horizontal.

    Enabling this option will make the treemap alternate the drawing direction between vertical and horizontal. The next levels starting direction will always be the opposite of the previous.

    Example:
    1. Enabled

    Since

    4.1.0

  7. 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 column charts and polar charts.

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

  9. final def asInstanceOf[T0]: T0

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

    Permalink

    The color of the border surrounding each tree map item.

  11. val borderWidth: UndefOr[Double]

    Permalink

    The width of the border surrounding each column or bar.

    The width of the border surrounding each column or bar.

    In styled mode, the stroke width can be set with the .highcharts-point rule.

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

  13. def clone(): AnyRef

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

    Permalink

    The main color of the series.

    The main color of the series. In heat maps this color is rarely used, as we mostly use the color to denote the value of each point. Unless options are set in the colorAxis, the default value is pulled from the options.colors array.

    Since

    4.0

  15. val colorByPoint: UndefOr[Boolean]

    Permalink

    When using automatic point colors pulled from the options.colors collection, this option determines whether the chart should receive one color per series or one color per point.

    When using automatic point colors pulled from the options.colors collection, this option determines whether the chart should receive one color per series or one color per point.

    Since

    2.0

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

  17. val colors: UndefOr[Array[|[String, Object]]]

    Permalink

    A series specific or series type specific color set to apply instead of the global colors when colorByPoint is true.

    A series specific or series type specific color set to apply instead of the global colors when colorByPoint is true.

    Since

    3.0

  18. val crisp: UndefOr[Boolean]

    Permalink

    When true, each column edge is rounded to its nearest pixel in order to render sharp on screen.

    When true, each column edge is rounded to its nearest pixel in order to render sharp on screen. In some cases, when there are a lot of densely packed columns, this leads to visible difference in column widths or distance between columns. In these cases, setting crisp to false may look better, even though each column is rendered blurry.

    Example:
    1. Crisp is false.

    Since

    5.0.10

  19. val cropThreshold: UndefOr[Double]

    Permalink

    When the series contains less points than the crop threshold, all points are drawn, event if the points fall outside the visible plot area at the current zoom.

    When the series contains less points than the crop threshold, all points are drawn, event if the points fall outside the visible plot area at the current zoom. The advantage of drawing all points (including markers and columns), is that animation is performed on updates. On the other hand, when the series contains more points than the crop threshold, the series data is cropped to only contain points that fall within the plot area. The advantage of cropping away invisible points is to increase performance on large series.

    Since

    4.1.0

  20. 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 line graph, on columns, on scatter markers

  21. val data: UndefOr[Array[|[CleanJsObject[SeriesTreemapData], Double]]]

    Permalink

    An array of data points for the series.

    An array of data points for the series. For the treemap 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 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: 7,
        name: "Point2",
        color: "#00FF00"
    }, {
        value: 2,
        name: "Point1",
        color: "#FF00FF"
    }]
    

    Example:
    1. The demos use a line series, but the principle is the same for all types.

  22. val dataLabels: UndefOr[CleanJsObject[SeriesTreemapDataLabels]]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. val events: UndefOr[CleanJsObject[SeriesTreemapEvents]]

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

  29. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. 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

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

    Permalink
    Definition Classes
    AnyRef → Any
  32. val getExtremesFromAll: UndefOr[Boolean]

    Permalink

    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.

    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.

    Since

    4.1.6

  33. def hasOwnProperty(v: String): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  35. 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().

    Since

    1.2.0

  36. val ignoreHiddenPoint: UndefOr[Boolean]

    Permalink

    Whether to ignore hidden points when the layout algorithm runs.

    Whether to ignore hidden points when the layout algorithm runs. If false, hidden points will leave open spaces.

    Since

    5.0.8

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

    Since

    2.3.0

  38. val interactByLeaf: UndefOr[Boolean]

    Permalink

    This option decides if the user can interact with the parent nodes or just the leaf nodes.

    This option decides if the user can interact with the parent nodes or just the leaf nodes. When this option is undefined, it will be true by default. However when allowDrillToNode is true, then it will be false by default.

    Since

    4.1.2

  39. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Object
  41. val keys: UndefOr[Array[String]]

    Permalink

    An array specifying which option maps to which key in the data point array.

    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.

    Since

    4.1.6

  42. val layoutAlgorithm: UndefOr[String]

    Permalink

    This option decides which algorithm is used for setting position and dimensions of the points.

    This option decides which algorithm is used for setting position and dimensions of the points. Can be one of sliceAndDice, stripes, squarified or strip.

    Since

    4.1.0

  43. val layoutStartingDirection: UndefOr[String]

    Permalink

    Defines which direction the layout algorithm will start drawing.

    Defines which direction the layout algorithm will start drawing. Possible values are "vertical" and "horizontal".

    Since

    4.1.0

  44. val legendIndex: UndefOr[Double]

    Permalink

    The sequential index of the series in the legend.

    The sequential index of the series in the legend.

    Try it: Legend in opposite order .

  45. val levelIsConstant: UndefOr[Boolean]

    Permalink

    Used together with the levels and allowDrillToNode options.

    Used together with the levels and allowDrillToNode options. When set to false the first level visible when drilling is considered to be level one. Otherwise the level will be the same as the tree structure.

    Since

    4.1.0

  46. val levels: UndefOr[Array[CleanJsObject[SeriesTreemapLevels]]]

    Permalink

    Set options on specific levels.

    Set options on specific levels. Takes precedence over series options, but not point options.

    Since

    4.1.0

  47. val linkedTo: UndefOr[String]

    Permalink

    The id of another series to link to.

    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.

    Example:
    1. Linked series

    Since

    3.0

  48. val maxPointWidth: UndefOr[Double]

    Permalink

    The maximum allowed pixel width for a column, translated to the height of a bar in a bar chart.

    The maximum allowed pixel width for a column, translated to the height of a bar in a bar chart. This prevents the columns from becoming too wide when there is a small number of points in the chart.

    Example:
    1. Limited to 50

    Since

    4.1.8

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  53. val opacity: UndefOr[Double]

    Permalink

    The opacity of a point in treemap.

    The opacity of a point in treemap. When a point has children, the visibility of the children is determined by the opacity.

    Since

    4.2.4

  54. val point: UndefOr[CleanJsObject[SeriesTreemapPoint]]

    Permalink

    Properties for each single point

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

  56. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  57. 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.

    Since

    1.2.0

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

    Permalink

    Whether to apply a drop shadow to the graph line.

    Whether to apply a drop shadow to the graph line. Since 2.3 the shadow can be an object configuration containing color, offsetX, offsetY, opacity and width.

    Example:
    1. Shadow enabled

  59. val showCheckbox: UndefOr[Boolean]

    Permalink

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

    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.

    Example:
    1. Show select box

    Since

    1.2.0

  60. val showInLegend: UndefOr[Boolean]

    Permalink

    Whether to display this series type or specific series item in the legend.

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

  62. val sortIndex: UndefOr[Double]

    Permalink

    The sort index of the point inside the treemap level.

    The sort index of the point inside the treemap level.

    Example:
    1. Sort by years

    Since

    4.1.10

  63. val states: UndefOr[CleanJsObject[SeriesTreemapStates]]

    Permalink

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

  64. 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. Defaults to true for line and area type series, but to false for columns, pies etc.

    Since

    2.0

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  68. val tooltip: UndefOr[CleanJsObject[SeriesTreemapTooltip]]

    Permalink
  69. val turboThreshold: UndefOr[Double]

    Permalink

    When a series contains a data array that is longer than this, only one dimensional arrays of numbers, or two dimensional arrays with x and y values are allowed.

    When a series contains a data array that is longer than this, only one dimensional arrays of numbers, or two dimensional arrays with x and y values are allowed. Also, only the first point is tested, and the rest are assumed to be the same format. This saves expensive data checking and indexing in long series. Set it to 0 disable.

    Since

    2.2

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

  71. def valueOf(): Any

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

    Permalink

    Set the initial visibility of the series.

    Set the initial visibility of the series.

  73. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. val xAxis: UndefOr[|[Double, String]]

    Permalink

    When using dual or multiple x axes, this number defines which xAxis the particular series is connected to.

    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.

  77. val yAxis: UndefOr[|[Double, String]]

    Permalink

    When using dual or multiple y axes, this number defines which yAxis the particular series is connected to.

    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.

  78. val zIndex: UndefOr[Double]

    Permalink

    Define the visual z index of the series.

  79. val zoneAxis: UndefOr[String]

    Permalink

    Defines the Axis on which the zones are applied.

    Defines the Axis on which the zones are applied.

    Since

    4.1.0

  80. val zones: UndefOr[Array[CleanJsObject[SeriesTreemapZones]]]

    Permalink

    An array defining zones within a series.

    An array defining zones within a series. Zones can be applied to the X axis, Y axis or Z axis for bubbles, according to the zoneAxis option.

    In styled mode, the color zones are styled with the .highcharts-zone-{n} class, or custom classed from the className option (view live demo).

    Example:
    1. Color zones

    Since

    4.1.0

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped