Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BarTooltipOptions

extends tooltip for bar tooltip

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

datapoint

datapoint: object

Type declaration

  • verticalOffset: number

    padding between the bar items and the tooltip

Optional formatter

formatter: Function

a function to format the tooltip values

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