Interface: ArcElement<T, O>

    Readonly active: boolean

    Inherited from

    Element.active

    Defined in

    element.d.ts:7 (opens new window)


    options

    Readonly options: O

    Inherited from

    Element.options

    Defined in

    element.d.ts:8ArcElement - 图2 (opens new window)


    x

    Readonly x: number

    Inherited from

    Element.x

    Defined in

    element.d.ts:5 (opens new window)


    y

    Readonly y: number

    Inherited from

    Element.y

    Defined in

    element.d.ts:6ArcElement - 图4 (opens new window)

    draw(ctx, area?): void

    Parameters

    NameType
    ctxCanvasRenderingContext2D
    area?ChartArea

    Returns

    void

    Inherited from

    Defined in

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


    getCenterPoint

    getCenterPoint(useFinalPosition?): Object

    Parameters

    NameType
    useFinalPosition?boolean

    Returns

    Object

    Inherited from

    .getCenterPoint

    Defined in

    index.esm.d.ts:1647ArcElement - 图6 (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

    boolean

    Inherited from

    Element.hasValue

    Defined in


    inRange

    inRange(mouseX, , useFinalPosition?): boolean

    Parameters

    NameType
    mouseXnumber
    mouseYnumber
    useFinalPosition?boolean

    Returns

    boolean

    Inherited from

    .inRange

    Defined in

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


    inXRange

    inXRange(mouseX, useFinalPosition?): boolean

    Parameters

    NameType
    mouseXnumber
    useFinalPosition?boolean

    Returns

    boolean

    Inherited from

    .inXRange

    Defined in

    index.esm.d.ts:1645ArcElement - 图11 (opens new window)


    inYRange

    inYRange(mouseY, useFinalPosition?): boolean

    Parameters

    Returns

    boolean

    Inherited from

    .inYRange

    Defined in

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


    tooltipPosition(useFinalPosition?):

    Parameters

    NameType
    useFinalPosition?

    Returns

    Point

    Inherited from

    Element.tooltipPosition

    Defined in