Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChartView<X, Y>

Type parameters

  • X

  • Y

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

bottomGutter

bottomGutter: MemberAnimator<this, Length, AnyLength>

domainColor

domainColor: MemberAnimator<this, Color, AnyColor>

domainSerif

domainSerif: MemberAnimator<this, number>

domainWidth

domainWidth: MemberAnimator<this, number>

font

gridLineColor

gridLineColor: MemberAnimator<this, Color, AnyColor>

gridLineWidth

gridLineWidth: MemberAnimator<this, number>

leftGutter

leftGutter: MemberAnimator<this, Length, AnyLength>

rightGutter

rightGutter: MemberAnimator<this, Length, AnyLength>

textColor

textColor: MemberAnimator<this, Color, AnyColor>

tickLabelPadding

tickLabelPadding: MemberAnimator<this, number>

tickMarkColor

tickMarkColor: MemberAnimator<this, Color, AnyColor>

tickMarkLength

tickMarkLength: MemberAnimator<this, number>

tickMarkWidth

tickMarkWidth: MemberAnimator<this, number>

topGutter

topGutter: MemberAnimator<this, Length, AnyLength>

Accessors

anchor

appView

bounds

canvasView

childViews

  • get childViews(): ReadonlyArray<View>

clientBounds

  • get clientBounds(): BoxR2

clientTransform

culled

  • get culled(): boolean

dirty

  • get dirty(): boolean

hitBounds

  • get hitBounds(): BoxR2 | null

hover

  • get hover(): boolean

pageBounds

  • get pageBounds(): BoxR2

pageTransform

parentTransform

parentView

  • get parentView(): View | null

pixelRatio

  • get pixelRatio(): number

popoverBounds

  • get popoverBounds(): BoxR2

viewController

viewObservers

Methods

addPlot

addViewObserver

animate

  • animate(): void

append

appendChildView

  • appendChildView(childView: View): void

autoscale

  • autoscale(tween?: Tween<any>): void

autoscaleBottom

  • autoscaleBottom(tween?: Tween<any>): void

autoscaleLeft

  • autoscaleLeft(tween?: Tween<any>): void

autoscaleRight

  • autoscaleRight(tween?: Tween<any>): void

autoscaleTop

  • autoscaleTop(tween?: Tween<any>): void

bottomAxis

  • bottomAxis(): AxisView<X> | null
  • bottomAxis(bottomAxis: AnyAxisView<X> | string | null): this

bottomDomain

  • bottomDomain(): Readonly<[X | null, X | null]>

bottomDomainBounds

bottomDomainPadded

  • bottomDomainPadded(): Readonly<[X | null, X | null]>

bottomDomainPadding

bottomGesture

bottomRange

  • bottomRange(): Readonly<[number, number]>

cascadeAnimate

  • cascadeAnimate(frame: number): void

cascadeCull

  • cascadeCull(): void

cascadeLayout

  • cascadeLayout(): void

cascadeMount

  • cascadeMount(): void

cascadeRender

cascadeResize

  • cascadeResize(): void

cascadeScroll

  • cascadeScroll(): void

cascadeUnmount

  • cascadeUnmount(): void

Protected didAddViewObserver

Protected didAnimate

  • didAnimate(frame: number): void

Protected didCull

  • didCull(): void

Protected didInsertChildView

  • didInsertChildView(childView: View, targetView: View | null | undefined): void

Protected didLayout

  • didLayout(): void

Protected didMount

  • didMount(): void

Protected didObserve

  • didObserve(callback: function): void

Protected didRemoveChildView

  • didRemoveChildView(childView: View): void

Protected didRemoveViewObserver

Protected didRender

Protected didResize

  • didResize(): void

Protected didScroll

  • didScroll(): void

Protected didSetAnchor

Protected didSetBounds

  • didSetBounds(newBounds: BoxR2, oldBounds: BoxR2): void

Protected didSetCulled

  • didSetCulled(culled: boolean): void

Protected didSetDirty

  • didSetDirty(dirty: boolean): void

Protected didSetHidden

  • didSetHidden(hidden: boolean): void

Protected didSetKey

  • didSetKey(key: string | null): void

Protected didSetParentView

  • didSetParentView(parentView: View | null): void

Protected didSetViewController

Protected didUnmount

  • didUnmount(): void

dispatchEvent

fitBottomDomain

  • fitBottomDomain(): boolean
  • fitBottomDomain(fitBottomDomain: boolean): this

fitLeftDomain

  • fitLeftDomain(): boolean
  • fitLeftDomain(fitLeftDomain: boolean): this

fitRightDomain

  • fitRightDomain(): boolean
  • fitRightDomain(fitRightDomain: boolean): this

fitTopDomain

  • fitTopDomain(): boolean
  • fitTopDomain(fitTopDomain: boolean): this

getChildView

  • getChildView(key: string): View | null

hitTest

insert

insertChildView

  • insertChildView(childView: View, targetView: View | null): void

isMounted

  • isMounted(): boolean

isVisible

  • isVisible(): boolean

key

  • key(): string | null
  • key(key: string | null): this

Protected layoutAxes

  • layoutAxes(bounds: BoxR2): void

Protected layoutBottomAxis

Protected layoutLeftAxis

Protected layoutPlot

Protected layoutRightAxis

Protected layoutSurface

Protected layoutTopAxis

leftAxis

leftDomain

  • leftDomain(): Readonly<[Y | null, Y | null]>

leftDomainBounds

leftDomainPadded

  • leftDomainPadded(): Readonly<[Y | null, Y | null]>

leftDomainPadding

leftGesture

leftRange

  • leftRange(): Readonly<[number, number]>

multitouch

off

  • off(type: string, listener: EventListenerOrEventListenerObject, options?: EventListenerOptions | boolean): this

on

  • on(type: string, listener: EventListenerOrEventListenerObject, options?: AddEventListenerOptions | boolean): this

Protected onAddViewObserver

Protected onAnimate

  • onAnimate(t: number): void

Protected onCull

  • onCull(): void

Protected onInsertChildView

  • onInsertChildView(childView: View): void

Protected onInsertPlot

  • onInsertPlot(plot: PlotView<X, Y>): void

Protected onLayout

  • onLayout(): void

Protected onMount

  • onMount(): void

Protected onRemoveChildView

  • onRemoveChildView(childView: View): void

Protected onRemovePlot

  • onRemovePlot(plot: PlotView<X, Y>): void

Protected onRemoveViewObserver

Protected onRender

Protected onResize

  • onResize(): void

Protected onScaleChange

Protected onScaleEnd

Protected onScaleStart

Protected onScroll

  • onScroll(): void

Protected onSetAnchor

Protected onSetBounds

  • onSetBounds(newBounds: BoxR2, oldBounds: BoxR2): void

Protected onSetCulled

  • onSetCulled(culled: boolean): void

Protected onSetHidden

  • onSetHidden(hidden: boolean): void

Protected onSetKey

  • onSetKey(key: string | null): void

Protected onSetParentView

  • onSetParentView(parentView: View | null): void

Protected onSetViewController

Protected onUnmount

  • onUnmount(): void

prepend

prependChildView

  • prependChildView(childView: View): void

rebound

  • rebound(): void

reboundBottom

  • reboundBottom(): void

reboundLeft

  • reboundLeft(): void

reboundRight

  • reboundRight(): void

reboundTop

  • reboundTop(): void

remove

  • remove(): void

removeAll

  • removeAll(): void

removeChildView

  • removeChildView(childView: View): void

removeViewObserver

rescaleTransition

  • rescaleTransition(): Transition<any> | null
  • rescaleTransition(rescaleTransition: AnyTransition<any> | null): this

Protected retrackBottom

  • retrackBottom(): void

Protected retrackLeft

  • retrackLeft(): void

Protected retrackRight

  • retrackRight(): void

Protected retrackTop

  • retrackTop(): void

rightAxis

rightDomain

  • rightDomain(): Readonly<[Y | null, Y | null]>

rightDomainBounds

rightDomainPadded

  • rightDomainPadded(): Readonly<[Y | null, Y | null]>

rightDomainPadding

rightGesture

rightRange

  • rightRange(): Readonly<[number, number]>

setAnchor

setBounds

  • setBounds(bounds: BoxR2): void

setChildView

  • setChildView(key: string, newChildView: View | null): View | null

Protected setChildViewAnchor

Protected setChildViewBounds

Protected setChildViewCulled

  • setChildViewCulled(childView: RenderView, culled: boolean): void

setCulled

  • setCulled(culled: boolean): void

setDirty

  • setDirty(dirty: boolean): void

setHidden

  • setHidden(hidden: boolean): void

setParentView

  • setParentView(parentView: View | null): void

setViewController

surface

topAxis

topDomain

  • topDomain(): Readonly<[X | null, X | null]>

topDomainBounds

topDomainPadded

  • topDomainPadded(): Readonly<[X | null, X | null]>

topDomainPadding

topGesture

topRange

  • topRange(): Readonly<[number, number]>

Protected willAddViewObserver

Protected willAnimate

  • willAnimate(t: number): void

Protected willCull

  • willCull(): void

Protected willInsertChildView

  • willInsertChildView(childView: View, targetView: View | null | undefined): void

Protected willLayout

  • willLayout(): void

Protected willMount

  • willMount(): void

Protected willObserve

  • willObserve(callback: function): void

Protected willRemoveChildView

  • willRemoveChildView(childView: View): void

Protected willRemoveViewObserver

Protected willRender

Protected willResize

  • willResize(): void

Protected willScroll

  • willScroll(): void

Protected willSetAnchor

Protected willSetBounds

Protected willSetCulled

  • willSetCulled(culled: boolean): boolean | void

Protected willSetHidden

  • willSetHidden(hidden: boolean): boolean | void

Protected willSetKey

  • willSetKey(key: string | null): void

Protected willSetParentView

  • willSetParentView(parentView: View | null): void

Protected willSetViewController

Protected willUnmount

  • willUnmount(): void

Static create

Static fromAny

Static fromNode