Interface: TooltipModel<TType>

    Defined in


    beforeBody

    beforeBody: string[]

    Defined in

    index.esm.d.ts:2430TooltipModel - 图2 (opens new window)


    body

    body: { after: string[] ; before: string[] ; lines: string[] }[]

    Defined in


    caretX

    caretX: number

    Defined in

    index.esm.d.ts:2419TooltipModel - 图4 (opens new window)


    caretY

    caretY: number

    Defined in


    dataPoints

    dataPoints: <>[]

    Defined in


    footer: string[]

    Defined in

    index.esm.d.ts:2440 (opens new window)


    Defined in

    index.esm.d.ts:2417TooltipModel - 图8 (opens new window)


    labelColors

    labelColors: TooltipLabelStyle[]

    Defined in

    index.esm.d.ts:2443 (opens new window)


    labelPointStyles

    labelPointStyles: { pointStyle: PointStyle ; rotation: number }[]

    Defined in

    index.esm.d.ts:2445TooltipModel - 图10 (opens new window)


    labelTextColors

    labelTextColors: Color[]

    Defined in

    index.esm.d.ts:2444 (opens new window)


    opacity

    opacity: number

    Defined in


    options

    options: <TType>

    Defined in


    title

    title: string[]

    Defined in

    index.esm.d.ts:2436TooltipModel - 图14 (opens new window)


    Defined in

    index.esm.d.ts:2416 (opens new window)


    x

    x: number

    Defined in


    xAlign

    xAlign:

    Defined in


    y

    y:

    Defined in

    index.esm.d.ts:2415TooltipModel - 图18 (opens new window)


    yAlign

    yAlign: TooltipYAlignment

    Defined in

    index.esm.d.ts:2411 (opens new window)

    getActiveElements

    getActiveElements(): ActiveElement[]

    Returns

    ActiveElement[]

    Defined in

    index.esm.d.ts:2453TooltipModel - 图20 (opens new window)


    setActiveElements

    setActiveElements(active, eventPosition): void

    Parameters

    NameType
    active[]
    eventPositionObject
    eventPosition.xnumber
    eventPosition.ynumber

    Returns

    Defined in

    index.esm.d.ts:2454 (opens new window)