Interface: PointElement<T, O>

    Readonly active: boolean

    Inherited from

    Element.active

    Defined in


    options

    Readonly options: O

    Inherited from

    Element.options

    Defined in


    parsed

    Readonly parsed: CartesianParsedData

    Defined in

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


    skip

    Readonly skip: boolean

    Defined in


    x

    Readonly x: number

    Inherited from

    Element.x

    Defined in


    Readonly y: number

    Inherited from

    Element.y

    Defined in

    draw

    draw(ctx, area?): void

    Parameters

    NameType
    ctxCanvasRenderingContext2D
    area?ChartArea

    Returns

    void

    Inherited from

    .draw

    Defined in

    index.esm.d.ts:1643PointElement - 图7 (opens new window)


    getCenterPoint

    getCenterPoint(useFinalPosition?): Object

    Parameters

    NameType
    useFinalPosition?boolean

    Returns

    Object

    Inherited from

    .getCenterPoint

    Defined in

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


    getProps

    getProps<P>(props, final?): Pick<T, P[number]>

    Type parameters

    NameType
    Pextends keyof T[]

    Parameters

    NameType
    propsP
    final?boolean

    Returns

    Pick<T, P[number]>

    Inherited from

    Element.getProps

    Defined in


    getRange

    Optional getRange(axis): number

    Parameters

    Returns

    number

    Inherited from

    VisualElement.

    Defined in


    hasValue(): boolean

    Returns

    Inherited from

    Element.hasValue

    Defined in


    inRange

    inRange(mouseX, mouseY, useFinalPosition?): boolean

    Parameters

    NameType
    mouseXnumber
    mouseYnumber
    useFinalPosition?boolean

    Returns

    boolean

    Inherited from

    VisualElement.

    Defined in


    inXRange

    inXRange(mouseX, useFinalPosition?): boolean

    Parameters

    NameType
    mouseXnumber
    useFinalPosition?boolean

    Returns

    boolean

    Inherited from

    VisualElement.

    Defined in


    inYRange

    inYRange(mouseY, useFinalPosition?): boolean

    Parameters

    Returns

    boolean

    Inherited from

    VisualElement.

    Defined in


    tooltipPosition

    tooltipPosition(useFinalPosition?):

    Parameters

    NameType
    boolean

    Returns

    Point

    Inherited from

    Element.tooltipPosition

    Defined in