Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AxisTooltipOptions

extends tooltip options to provide support for multiple gridline tooltips

Hierarchy

Index

Properties

Optional customHTML

customHTML: Function

custom function for returning tooltip HTML passed an array or object with the data, and then the default tooltip markup

Optional datapoint

datapoint: object

options to configure the datapoint tooltip

Type declaration

  • Optional enabled?: boolean

    toggles on/off datapoint tooltips.

  • Optional horizontalOffset?: number

    offset of the tooltip from the mouse position

  • Optional verticalOffset?: number

    vertical offset for tooltip placement

Optional formatter

formatter: Function

a function to format the tooltip values

Optional gridline

gridline: object

options for gridline event listeners

Type declaration

  • Optional enabled?: boolean

    controls whether the gridlines are active for tooltip support

  • Optional threshold?: number

    optional set threshold (value between 0 and 1) for active gridlines

Optional title

title: object

Type declaration

  • Optional verticalOffset?: number

    vertical offset for title tooltip placement. < 0 will shift the tooltip above title, > 0 shifts vertically down

  • Optional width?: number

    max width of title tooltip relative to the width of the chart-svg (percentage should be < 1)

Generated using TypeDoc