• Getting Started

  • Data

  • Chart Types

  • Chart Elements

  • Integrations

  • API

  • Tools

  • FAQ

  • Change Log

  • Open All Close All {
    "globals"
    "marker" "bottom-state" "media-rules" "top-state"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "rules" "top-state"
    "gui" "behaviors"
    "context-menu"
    "button" "media-rules"
    "custom-items"
    "gear" "bottom-state" "media-rules" "top-state"
    "item" "hover-state"
    "separator"
    "progress" "watermark"
    "graphset" "3d-aspect"
    "arrows" "bottom-state"
    "from" "media-rules"
    "label" "media-rules"
    "media-rules"
    "to" "media-rules"
    "top-state"
    "bubble-legend" "bottom-state" "connector" "item"
    "marker" "bottom-state" "top-state"
    "top-state"
    "chart" "bottom-state" "media-rules" "top-state"
    "color-scale"
    "cursor" "bottom-state" "media-rules" "top-state"
    "guide"
    "item" "media-rules"
    "media-rules"
    "crosshair-x"
    "marker" "bottom-state" "media-rules" "top-state"
    "media-rules"
    "plot-label" "bottom-state" "media-rules" "top-state"
    "scale-label" "bottom-state" "media-rules" "top-state"
    "crosshair-y" "media-rules"
    "scale-label" "bottom-state" "media-rules" "top-state"
    "csv"
    "globals"
    "marker" "bottom-state" "media-rules" "top-state"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "rules" "top-state"
    "guide"
    "marker" "bottom-state" "media-rules" "top-state"
    "media-rules"
    "plot-label" "bottom-state" "media-rules" "top-state"
    "scale-label" "bottom-state" "media-rules" "top-state"
    "heatmap" "graph"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "rules" "top-state"
    "images" "bottom-state" "callout-tip" "inactive" "top-state"
    "labels" "bottom-state" "callout-tip" "hover-state" "media-rules" "top-state"
    "legend" "bottom-state"
    "footer" "media-rules"
    "header" "media-rules"
    "icon" "media-rules"
    "item" "highlight-state" "media-rules"
    "item-off" "media-rules"
    "marker" "bottom-state" "highlight-state" "media-rules" "top-state"
    "marker-off" "media-rules"
    "media-rules"
    "page-off" "media-rules"
    "page-on" "media-rules"
    "page-status" "bottom-state" "media-rules" "top-state"
    "scroll"
    "bar" "media-rules"
    "handle" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "media-rules"
    "nav"
    "back" "bottom-state" "hover-state" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "others"
    "no-data" "bottom-state" "media-rules" "top-state"
    "options"
    "arrow" "style"
    "back" "bottom-state" "hover-state" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "bars" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "box" "hover-state" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "button-zoomin" "bottom-state" "hover-state" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "button-zoomout" "bottom-state" "hover-state" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "buttons"
    "close" "bottom-state" "hover-state" "media-rules" "top-state"
    "container"
    "containers" "OBJECT_KEY_NAME"
    "data-source"
    "day" "inactive"
    "items" "d-YEAR-MONTH-DAY"
    "empty-series"
    "final" "bottom-state" "media-rules" "top-state"
    "format"
    "group-box" "hover-state" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "groups"
    "handle" "media-rules"
    "hover-state" "icon"
    "indicator" "npv" "title" "value"
    "intermediate" "bottom-state" "media-rules" "top-state"
    "item" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "item-group-n" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "item-id-n" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "item-level-n" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "label" "bottom-state" "hover-state" "media-rules" "top-state"
    "line" "line-max-connector" "line-max-level" "line-median-level" "line-min-connector" "line-min-level" "line-plot"
    "link" "bottom-state" "end-point" "media-rules" "start-point" "top-state"
    "link[cls-n]" "bottom-state" "end-point" "media-rules" "start-point" "top-state"
    "link[container-n]" "bottom-state" "end-point" "media-rules" "start-point" "top-state"
    "link[group-n]" "bottom-state" "end-point" "media-rules" "start-point" "top-state"
    "link[level-n]" "bottom-state" "end-point" "media-rules" "start-point" "top-state"
    "link[parent-n]" "bottom-state" "end-point" "media-rules" "start-point" "top-state"
    "link[sibling]" "bottom-state" "end-point" "media-rules" "start-point" "top-state"
    "link[source-n]" "bottom-state" "end-point" "media-rules" "start-point" "top-state"
    "link[target-n]" "bottom-state" "end-point" "media-rules" "start-point" "top-state"
    "links" "bottom-state" "end-point" "media-rules" "start-point" "top-state"
    "mainbox"
    "mmp-marker"
    "label" "bottom-state" "media-rules" "top-state"
    "month"
    "item" "media-rules"
    "items" "m-MONTH"
    "outline" "active"
    "multi-guide"
    "close" "bottom-state" "hover-state" "media-rules" "top-state"
    "handle" "media-rules"
    "label" "bottom-state" "hover-state" "media-rules" "top-state"
    "line"
    "negative" "bottom-state" "media-rules" "top-state"
    "node" "bottom-state" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "node[cls-n]" "bottom-state" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "node[collapsed]" "bottom-state" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "node[group-n]" "bottom-state" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "node[leaf]" "bottom-state" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "node[level-n]" "bottom-state" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "node[parent]" "bottom-state" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "node[parent-n]" "bottom-state" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "nodes"
    "OBJECT_KEY_NAME" "bottom-state" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "others"
    "outlier" "hover-marker"
    "marker" "bottom-state" "media-rules" "top-state"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "rules" "top-state"
    "positive" "bottom-state" "media-rules" "top-state"
    "scale"
    "label" "bottom-state" "callout-tip" "media-rules" "top-state"
    "pointer" "bottom-state" "media-rules" "top-state"
    "scale-y-2"
    "guide" "items" "media-rules" "rules"
    "item" "media-rules" "rules"
    "label" "media-rules"
    "markers" "bottom-state"
    "label" "bottom-state" "callout-tip" "media-rules" "top-state"
    "media-rules" "top-state"
    "media-rules" "minor-guide" "minor-tick" "ref-line"
    "tick" "rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "transform"
    "side-1" "side-2"
    "style"
    ".td" "media-rules"
    ".td_even" "media-rules"
    ".td_first" "media-rules"
    ".td_last" "media-rules"
    ".td_n" "media-rules"
    ".td_n_n" "media-rules"
    ".td_odd" "media-rules"
    ".th" "media-rules"
    ".th_even" "media-rules"
    ".th_first" "media-rules"
    ".th_last" "media-rules"
    ".th_n" "media-rules"
    ".th_odd" "media-rules"
    ".tr" "media-rules"
    ".tr_even" "media-rules"
    ".tr_first" "media-rules"
    ".tr_last" "media-rules"
    ".tr_n" "media-rules"
    ".tr_odd" "media-rules"
    "band" "hover-state"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "chord" "hover-state"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "flow" "bottom-state" "media-rules" "top-state"
    "hover-state"
    "item" "media-rules"
    "item-flow" "hover-state" "media-rules"
    "item-overall" "hover-state" "media-rules"
    "label" "media-rules"
    "label-overall" "media-rules"
    "media-rules" "rank-left" "rank-overall" "rank-right" "tick"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "subtitle" "media-rules"
    "tile" "bottom-state" "hover-state"
    "label" "media-rules"
    "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "title" "media-rules"
    "tooltip-box" "bottom-state" "callout-tip" "media-rules" "top-state"
    "tooltip-group" "bottom-state" "callout-tip" "media-rules" "top-state"
    "trigger" "bottom-state" "hover-state" "media-rules" "top-state"
    "value" "hover-state"
    "violin" "style"
    "week"
    "items" "w-WEEK"
    "weekday"
    "item" "media-rules"
    "items" "wd-WEEKDAY"
    "words" "year"
    "palette"
    "plot" "animation" "background-marker" "background-state" "bottom-state" "dragging"
    "error" "hover-state"
    "facets" "bottom" "front" "left" "right" "top"
    "goal" "bottom-state" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "rules" "top-state"
    "top-state"
    "guide-label" "bottom-state" "media-rules" "callout-tip" "top-state"
    "guide-marker" "bottom-state" "media-rules" "top-state"
    "highlight-marker" "bottom-state" "media-rules" "top-state"
    "hover-marker" "bottom-state" "media-rules" "rules" "top-state"
    "hover-state"
    "styles" "bottom-state" "media-rules" "top-state"
    "highlight-state" "media-rules"
    "legend-item" "media-rules"
    "legend-marker" "bottom-state" "media-rules" "top-state"
    "max-line"
    "max-marker" "bottom-state" "media-rules" "rules" "top-state"
    "marker" "media-rules" "rules"
    "media-rules" "min-line"
    "min-marker" "bottom-state" "media-rules" "rules" "top-state"
    "preview" "preview-state" "rules"
    "selected-marker" "bottom-state" "rules" "top-state"
    "selected-state" "bottom-state" "top-state"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "rules" "selected-state" "top-state"
    "top-state"
    "trend-down" "bottom-state" "media-rules" "top-state"
    "trend-equal" "bottom-state" "media-rules" "top-state"
    "trend-up" "bottom-state" "media-rules" "top-state"
    "value-box" "callout-tip" "connector" "joined" "media-rules"
    "rules" "joined" "shared"
    "shared"
    "plotarea" "bottom-state" "media-rules" "top-state"
    "preview" "active"
    "handle" "media-rules"
    "handle-bottom" "media-rules"
    "handle-left" "media-rules"
    "handle-right" "media-rules"
    "handle-top" "media-rules"
    "label" "media-rules"
    "mask" "media-rules"
    "refresh" "curtain"
    "resources" "scalable-y-axis"
    "scale"
    "item" "media-rules"
    "media-rules"
    "scale-k"
    "guide" "items" "media-rules"
    "item" "media-rules"
    "media-rules" "tick"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "transform"
    "scale-r"
    "center" "bottom-state" "media-rules" "top-state"
    "guide" "items" "rules" "media-rules"
    "item" "bottom-state" "media-rules" "top-state"
    "markers" "bottom-state"
    "label" "bottom-state" "callout-tip" "media-rules" "top-state"
    "media-rules" "top-state"
    "media-rules" "minor-guide" "minor-tick"
    "ring" "bottom-state" "items" "media-rules" "top-state"
    "tick"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "transform"
    "scale-v"
    "guide" "items" "media-rules" "rules"
    "item" "media-rules"
    "media-rules" "ref-line" "tick"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "transform"
    "scale-x"
    "guide" "items" "media-rules"
    "item" "media-rules"
    "label" "media-rules"
    "markers"
    "label" "media-rules"
    "media-rules"
    "media-rules" "minor-guide" "minor-tick" "ref-line" "rules" "tick"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "transform"
    "scale-y"
    "guide" "items" "media-rules" "rules"
    "item" "media-rules" "rules"
    "label" "media-rules"
    "markers" "label"
    "media-rules" "minor-guide" "minor-tick" "ref-line"
    "tick" "rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "transform"
    "scroll-x"
    "bar" "media-rules"
    "handle" "media-rules"
    "scroll-y"
    "bar" "media-rules"
    "handle" "media-rules"
    "selection-tool" "mask"
    "series" "animation" "background-marker" "background-state" "bottom-state" "children" "dragging" "entry"
    "error" "hover-state"
    "exit"
    "facets" "bottom" "front" "left" "right" "top"
    "goal" "bottom-state" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "rules" "top-state"
    "top-state"
    "guide-label" "bottom-state" "media-rules" "callout-tip" "top-state"
    "guide-marker" "bottom-state" "media-rules" "top-state"
    "highlight-marker" "bottom-state" "media-rules" "top-state"
    "hover-marker" "bottom-state" "media-rules" "rules" "top-state"
    "highlight-state" "media-rules"
    "legend-item" "media-rules"
    "legend-marker" "bottom-state" "media-rules" "top-state"
    "marker" "bottom-state" "media-rules" "rules" "top-state"
    "max-line"
    "max-marker" "bottom-state" "media-rules" "rules" "top-state"
    "media-rules" "min-line"
    "min-marker" "bottom-state" "media-rules" "rules" "top-state"
    "preview" "preview-state" "rules"
    "selected-marker" "bottom-state" "rules" "top-state"
    "selected-state" "bottom-state" "top-state"
    "style"
    "band" "hover-state"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "chord" "hover-state"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "item" "media-rules"
    "item-flow" "hover-state" "media-rules"
    "item-overall" "hover-state" "media-rules"
    "label" "media-rules"
    "tick"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "rules" "top-state"
    "top-state" "trend-down" "trend-equal" "trend-up"
    "value-box" "callout-tip" "connector" "joined" "media-rules"
    "rules" "joined"
    "values"
    "shapes" "bottom-state" "hover-state"
    "label" "media-rules"
    "media-rules"
    "options" "choropleth"
    "style" "bottom-state"
    "controls"
    "zoom-in" "bottom-state" "hover-state" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "zoom-out" "bottom-state" "hover-state" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "hover-state"
    "items"
    "OBECT_KEY_NAME" "bottom-state" "hover-state" "label" "media-rules" "tooltip"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "label" "media-rules"
    "media-rules" "top-state"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "top-state"
    "top-state"
    "source" "media-rules"
    "subtitle" "media-rules"
    "title" "media-rules"
    "tooltip" "bottom-state" "callout-tip" "media-rules" "rules" "top-state"
    "widget" "widgets"
    "zoom"
    "label" "media-rules"
    "media-rules"
    "history" "callout-tip" "item" "item-off"
    "refresh" "curtain"
    }

    graph » zoom » label

    zoom label

    [ root » graph » zoom » label ]

    Zooming labels allow users to select their zoom area more precisely. To display them, make sure to set the visible attribute to true in the label object. The zooming labels display the selected area's node indexes and values, and you can style the background, borders, padding, and font. Refer to the Zooming, Scrollbar, and Preview Chart Tutorial for more information.


    Attribute Type Description
    backgroundColor
    background-color
    StringSets the background color of the object. Colors can be entered by name (e.g., "purple", "blue"), hexadecimal notation (e.g., "#666699", #33ccff"), or RGB notation (e.g., "rgb(255,0,0)", "rgb(0,0,255)")
    Default Value: null
    borderAlpha
    border-alpha
    NumberSets the transparency level of the border on the object. Values must range between 0.0 and 1.0, with 0.0 being completely transparent and 1.0 being completely opaque. Note that values require the leading 0 before the decimal point.
    Default Value: 1
    Introduced in: v2.1.1
    borderColor
    border-color
    StringSets the border color of the object.
    Default Value: '#000'
    borderWidth
    border-width
    NumberSets the border width of the object.
    Default Value: 0
    centerRef
    center-ref
    BooleanSets the (0,0) x/y coordinates as the center of the box (instead of the top-left corner).
    Default Value: false
    classStringSets a class value on the object.
    Default Value: null
    dataN
    data-n
    AnyPrefix attribute or array using "data-" to define a custom token.
    fontAngle
    font-angle
    NumberSets the text's angle. A positive value will rotate the object by that number of degrees clockwise, while a negative value.
    fontColor
    font-color
    StringSets the font color of the text.
    fontFamily
    font-family
    StringSets the text's font family.
    fontSize
    font-size
    NumberSets the text's font size.
    fontStyle
    font-style
    StringSets the text's font style.
    Accepted Values: ['normal', 'italic', 'oblique', 'none']
    fontWeight
    font-weight
    Number, StringSets the text's font weight. Similar to bold.
    Accepted Values: ['bold', 'none', 'normal', `${string}`]
    Default Value: 'normal'
    idStringSets the id of the object.
    Default Value: ''
    lineHeight
    line-height
    NumberSets the height of a line box.
    Default Value: -1
    mediaRules
    media-rules
    Array.<Object>Configure media rules.
    overlapBooleanSets whether the object allows overlapping with other labels. If false, and two objects overlap, only one will be displayed.
    Default Value: true
    paddingNumberSets the object's padding around the text. Up to four values can be entered to set the padding for all four sides, with the first value affecting the top padding, the second value affecting the right padding, and so on, in a clockwise direction.
    Default Value: null
    paddingBottom
    padding-bottom
    NumberSets the object's bottom padding around the text.
    Default Value: 2
    paddingLeft
    padding-left
    NumberSets the object's left padding around the text.
    Default Value: 2
    paddingRight
    padding-right
    NumberSets the object's right padding around the text.
    Default Value: 2
    paddingTop
    padding-top
    NumberSets the object's top padding around the text.
    Default Value: 2
    rectShortcut
    rect-shortcut
    BooleanUsed to force the library to create rectangles using a faster drawing API (instead of painting them like a closed polygon). However, using this would disable effects like rounded borders. It is a performance setting for edge cases.
    Default Value: false
    visibleBooleanSets the visibility of the object. Allows you to turn off the object without removing lines of JSON.
    Default Value: true
    zIndex
    z-index
    NumberSets the z position of the object. Objects with higher z indexes will appear "above" those with lower z index values.
    Default Value: 1