Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChartView<X, Y>

Type parameters

  • X

  • Y

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Type parameters

    • X

    • Y

    Returns ChartView<X, Y>

Properties

Readonly borderColor

borderColor: ViewAnimator<ChartView<X, Y>, null | Color, null | AnyColor>

Readonly borderSerif

borderSerif: ViewAnimator<ChartView<X, Y>, number, never>

Readonly borderWidth

borderWidth: ViewAnimator<ChartView<X, Y>, number, never>

Readonly bottomAxis

bottomAxis: ViewFastener<ChartView<X, Y>, AxisView<X>, true | AnyAxisView<X>>

Readonly childViewMap

childViewMap: null | {}

Readonly childViews

childViews: readonly View[]

Readonly constraintVariables

constraintVariables: readonly ConstraintVariable[]

Readonly constraints

constraints: readonly Constraint[]

Readonly displayService

displayService: DisplayService<ChartView<X, Y>>

Readonly eventHandlers

eventHandlers: null | {}

Readonly fitAlign

fitAlign: ViewProperty<ChartView<X, Y>, readonly [number, number], number>

Readonly fitAspectRatio

fitAspectRatio: ViewProperty<ChartView<X, Y>, undefined | number, never>

Readonly font

font: ViewAnimator<ChartView<X, Y>, null | Font, null | AnyFont>

Readonly graph

graph: ViewFastener<ChartView<X, Y>, GraphView<X, Y>, AnyGraphView<X, Y>>

Readonly gridLineColor

gridLineColor: ViewAnimator<ChartView<X, Y>, null | Color, null | AnyColor>

Readonly gridLineWidth

gridLineWidth: ViewAnimator<ChartView<X, Y>, number, never>

Readonly gutterBottom

gutterBottom: ViewAnimator<ChartView<X, Y>, Length, AnyLength>

Readonly gutterLeft

gutterLeft: ViewAnimator<ChartView<X, Y>, Length, AnyLength>

Readonly gutterRight

gutterRight: ViewAnimator<ChartView<X, Y>, Length, AnyLength>

Readonly gutterTop

Readonly hoverSet

hoverSet: null | {}

Readonly key

key: undefined | string

Readonly layoutService

layoutService: LayoutService<ChartView<X, Y>>

Readonly leftAxis

leftAxis: ViewFastener<ChartView<X, Y>, AxisView<Y>, true | AnyAxisView<Y>>

Readonly modalService

modalService: ModalService<ChartView<X, Y>>

Readonly mood

mood: ViewProperty<ChartView<X, Y>, null | MoodVector<Feel>, never>

Readonly moodModifier

moodModifier: ViewProperty<ChartView<X, Y>, null | MoodMatrix<Feel, Feel>, never>

Readonly ownViewFrame

ownViewFrame: null | R2Box

Readonly parentView

parentView: null | View

Readonly reboundTransition

reboundTransition: ViewProperty<ChartView<X, Y>, undefined | boolean | Timing, AnyTiming>

Readonly renderer

renderer: null | GraphicsRenderer

Readonly rescaleTransition

rescaleTransition: ViewProperty<ChartView<X, Y>, undefined | boolean | Timing, AnyTiming>

Readonly rightAxis

rightAxis: ViewFastener<ChartView<X, Y>, AxisView<Y>, true | AnyAxisView<Y>>

Readonly scaleGesture

scaleGesture: ViewProperty<ChartView<X, Y>, null | ScaleGesture<X, Y, View>, boolean>

Readonly scaledFasteners

scaledFasteners: readonly ViewFastener<ChartView<X, Y>, ScaledXView<X> | ScaledYView<Y>, never>[]

Readonly scaledFlags

scaledFlags: number

Readonly textColor

textColor: ViewAnimator<ChartView<X, Y>, null | Color, null | AnyColor>

Readonly theme

theme: ViewProperty<ChartView<X, Y>, null | ThemeMatrix, never>

Readonly themeModifier

themeModifier: ViewProperty<ChartView<X, Y>, null | MoodMatrix<Feel, Feel>, never>

Readonly themeService

themeService: ThemeService<ChartView<X, Y>>

Readonly tickLabelPadding

tickLabelPadding: ViewAnimator<ChartView<X, Y>, number, never>

Readonly tickMarkColor

tickMarkColor: ViewAnimator<ChartView<X, Y>, null | Color, null | AnyColor>

Readonly tickMarkLength

tickMarkLength: ViewAnimator<ChartView<X, Y>, number, never>

Readonly tickMarkWidth

tickMarkWidth: ViewAnimator<ChartView<X, Y>, number, never>

Readonly tickTransition

tickTransition: ViewProperty<ChartView<X, Y>, Timing, AnyTiming>

Readonly topAxis

topAxis: ViewFastener<ChartView<X, Y>, AxisView<X>, true | AnyAxisView<X>>

Readonly viewAnimators

viewAnimators: null | {}

Readonly viewBounds

viewBounds: R2Box

Readonly viewContext

viewContext: GraphicsViewContext

Readonly viewController

viewController: null | (GraphicsViewController<ChartView<X, Y>> & ChartViewObserver<X, Y, ChartView<X, Y>>)

Readonly viewFasteners

viewFasteners: null | {}

Readonly viewFlags

viewFlags: number

Readonly viewObservers

viewObservers: readonly ChartViewObserver<X, Y, ChartView<X, Y>>[]

Readonly viewProperties

viewProperties: null | {}

Readonly viewServices

viewServices: null | {}

Readonly viewportService

viewportService: ViewportService<ChartView<X, Y>>

Readonly xDataDomain

xDataDomain: null | Domain<X>

Readonly xDataDomainPadded

xDataDomainPadded: null | Domain<X>

Readonly xDataRange

xDataRange: null | Range<number>

Readonly xDomainBounds

xDomainBounds: ViewProperty<ChartView<X, Y>, readonly [boolean | X, boolean | X], never>

Readonly xDomainPadding

xDomainPadding: ViewProperty<ChartView<X, Y>, readonly [boolean | X, boolean | X], never>

Readonly xRangePadding

xRangePadding: ViewProperty<ChartView<X, Y>, readonly [number, number], never>

Readonly xScale

xScale: ContinuousScaleAnimator<ChartView<X, Y>, X, number>

Readonly xZoomBounds

xZoomBounds: ViewProperty<ChartView<X, Y>, readonly [number | boolean, number | boolean], never>

Readonly yDataDomain

yDataDomain: null | Domain<Y>

Readonly yDataDomainPadded

yDataDomainPadded: null | Domain<Y>

Readonly yDataRange

yDataRange: null | Range<number>

Readonly yDomainBounds

yDomainBounds: ViewProperty<ChartView<X, Y>, readonly [boolean | Y, boolean | Y], never>

Readonly yDomainPadding

yDomainPadding: ViewProperty<ChartView<X, Y>, readonly [boolean | Y, boolean | Y], never>

Readonly yRangePadding

yRangePadding: ViewProperty<ChartView<X, Y>, readonly [number, number], never>

Readonly yScale

yScale: ContinuousScaleAnimator<ChartView<X, Y>, Y, number>

Readonly yZoomBounds

yZoomBounds: ViewProperty<ChartView<X, Y>, readonly [number | boolean, number | boolean], never>

Static Readonly BoundingMask

BoundingMask: number

Static Readonly DomainTrackingMask

DomainTrackingMask: number

Static Readonly Extrinsic

Extrinsic: number = 1

Static Readonly FitMask

FitMask: number

Static Readonly FitTweenMask

FitTweenMask: number

Static Readonly GesturesMask

GesturesMask: number

Static Readonly InteractedFlag

InteractedFlag: number

Static Readonly InteractingFlag

InteractingFlag: number

Static Readonly InteractingMask

InteractingMask: number

Static Readonly Intrinsic

Intrinsic: number = 0

Static LinearZoomMax

LinearZoomMax: number

Static LinearZoomMin

LinearZoomMin: number

Static Readonly NeedsAnimate

NeedsAnimate: number = ...

Static Readonly NeedsChange

NeedsChange: number = ...

Static Readonly NeedsComposite

NeedsComposite: number = ...

Static Readonly NeedsDisplay

NeedsDisplay: number = ...

Static Readonly NeedsLayout

NeedsLayout: number = ...

Static Readonly NeedsProcess

NeedsProcess: number = ...

Static Readonly NeedsProject

NeedsProject: number = ...

Static Readonly NeedsRasterize

NeedsRasterize: number = ...

Static Readonly NeedsRender

NeedsRender: number = ...

Static Readonly NeedsResize

NeedsResize: number = ...

Static Readonly NeedsScroll

NeedsScroll: number = ...

Static Readonly PreserveAspectRatioFlag

PreserveAspectRatioFlag: number

Static Readonly RescaleFlag

RescaleFlag: number

Static ScaledFastener

ScaledFastener: ViewFastenerConstructor<ScaledView<unknown, unknown>, ScaledXView<unknown> | ScaledYView<unknown>, never, {}>

Static TimeZoomMax

TimeZoomMax: number

Static TimeZoomMin

TimeZoomMin: number

Static Readonly XBoundingFlag

XBoundingFlag: number

Static Readonly XDomainTrackingFlag

XDomainTrackingFlag: number

Static Readonly XFitFlag

XFitFlag: number

Static Readonly XFitTweenFlag

XFitTweenFlag: number

Static Readonly XGesturesFlag

XGesturesFlag: number

Static Readonly XInRangeMask

XInRangeMask: number

Static Readonly XMaxInRangeFlag

XMaxInRangeFlag: number

Static Readonly XMinInRangeFlag

XMinInRangeFlag: number

Static Readonly YBoundingFlag

YBoundingFlag: number

Static Readonly YDomainTrackingFlag

YDomainTrackingFlag: number

Static Readonly YFitFlag

YFitFlag: number

Static Readonly YFitTweenFlag

YFitTweenFlag: number

Static Readonly YGesturesFlag

YGesturesFlag: number

Static Readonly YInRangeMask

YInRangeMask: number

Static Readonly YMaxInRangeFlag

YMaxInRangeFlag: number

Static Readonly YMinInRangeFlag

YMinInRangeFlag: number

Static Readonly insertChildFlags

insertChildFlags: number

Static Readonly mountFlags

mountFlags: number = ...

Static Readonly powerFlags

powerFlags: number = ...

Static Readonly removeChildFlags

removeChildFlags: number

Static Readonly uncullFlags

uncullFlags: number

Accessors

childViewCount

  • get childViewCount(): number
  • Returns number

clientBounds

  • get clientBounds(): R2Box
  • Returns R2Box

clientTransform

hitBounds

  • Returns R2Box

insertChildFlags

  • get insertChildFlags(): number

mountFlags

  • get mountFlags(): number

ownViewBounds

  • get ownViewBounds(): null | R2Box
  • Returns null | R2Box

pageBounds

  • get pageBounds(): R2Box

pageTransform

parentTransform

  • Returns the transformation from the parent view coordinates to view coordinates.

    Returns Transform

popoverFrame

  • get popoverFrame(): R2Box
  • Returns the bounding box, in page coordinates, the edges to which attached popovers should point.

    Returns R2Box

powerFlags

  • get powerFlags(): number

removeChildFlags

  • get removeChildFlags(): number

superViewContext

uncullFlags

  • get uncullFlags(): number

viewFrame

  • Returns R2Box

viewIdiom

viewport

Methods

activateLayout

  • activateLayout(): void
  • Returns void

addConstraint

  • Parameters

    Returns void

addConstraintVariable

addViewObserver

append

  • Type parameters

    Parameters

    • childView: V
    • Optional key: string

    Returns V

  • Type parameters

    Parameters

    Returns V

  • Type parameters

    Parameters

    Returns V

appendChildView

  • appendChildView(childView: View, key?: string): void
  • Parameters

    • childView: View
    • Optional key: string

    Returns void

applyTheme

Protected attachBottomAxis

  • attachBottomAxis(bottomAxisView: AxisView<X>): void
  • Parameters

    Returns void

Protected attachGraph

  • attachGraph(graphView: GraphView<X, Y>): void
  • Parameters

    Returns void

Protected attachLeftAxis

  • attachLeftAxis(leftAxisView: AxisView<Y>): void
  • Parameters

    Returns void

Protected attachParentView

  • attachParentView(parentView: View): void

Protected attachRightAxis

  • attachRightAxis(rightAxisView: AxisView<Y>): void
  • Parameters

    Returns void

Protected attachTopAxis

  • attachTopAxis(topAxisView: AxisView<X>): void
  • Parameters

    Returns void

Protected boundScales

bubbleEvent

  • Parameters

    Returns null | View

cascadeCull

  • cascadeCull(): void
  • Returns void

cascadeDisplay

  • cascadeDisplay(displayFlags: number, viewContext: ViewContext): void
  • Parameters

    Returns void

cascadeHide

  • cascadeHide(): void
  • Returns void

cascadeInsert

  • cascadeInsert(updateFlags?: number, viewContext?: ViewContext): void
  • Parameters

    • Optional updateFlags: number
    • Optional viewContext: ViewContext

    Returns void

cascadeMount

  • cascadeMount(): void
  • Returns void

cascadePower

  • cascadePower(): void
  • Returns void

cascadeProcess

  • cascadeProcess(processFlags: number, viewContext: ViewContext): void
  • Parameters

    Returns void

cascadeUncull

  • cascadeUncull(): void
  • Returns void

cascadeUnhide

  • cascadeUnhide(): void
  • Returns void

cascadeUnmount

  • cascadeUnmount(): void
  • Returns void

cascadeUnpower

  • cascadeUnpower(): void
  • Returns void

Protected changeMood

  • changeMood(): void
  • Returns void

Protected changeTheme

  • changeTheme(): void
  • Returns void

changeViewProperties

  • changeViewProperties(): void
  • Returns void

constraint

constraintVariable

Protected createBottomAxis

  • createBottomAxis(): null | AxisView<X>
  • Returns null | AxisView<X>

Protected createGraph

  • Returns null | GraphView<X, Y>

Protected createLeftAxis

  • Returns null | AxisView<Y>

Protected createRightAxis

  • Returns null | AxisView<Y>

Protected createScaleGesture

Protected createScaledFastener

Protected createTopAxis

  • Returns null | AxisView<X>

cullViewFrame

  • cullViewFrame(viewFrame?: R2Box): void
  • Parameters

    • Optional viewFrame: R2Box

    Returns void

deactivateLayout

  • deactivateLayout(): void
  • Returns void

deriveHitBounds

  • deriveHitBounds(): R2Box

deriveViewBounds

  • deriveViewBounds(): R2Box

Protected detachBottomAxis

  • detachBottomAxis(bottomAxisView: AxisView<X>): void
  • Parameters

    Returns void

Protected detachGraph

  • detachGraph(graphView: GraphView<X, Y>): void
  • Parameters

    Returns void

Protected detachLeftAxis

  • detachLeftAxis(leftAxisView: AxisView<Y>): void
  • Parameters

    Returns void

Protected detachParentView

  • detachParentView(parentView: View): void

Protected detachRightAxis

  • detachRightAxis(rightAxisView: AxisView<Y>): void
  • Parameters

    Returns void

Protected detachTopAxis

  • detachTopAxis(topAxisView: AxisView<X>): void
  • Parameters

    Returns void

Protected detectBottomAxisView

  • Parameters

    Returns null | BottomAxisView<X>

Protected detectGraphView

  • Parameters

    Returns null | GraphView<X, Y>

Protected detectLeftAxisView

  • Parameters

    Returns null | LeftAxisView<Y>

Protected detectRightAxisView

  • Parameters

    Returns null | RightAxisView<Y>

Protected detectScaled

Protected detectTopAxisView

  • Parameters

    Returns null | TopAxisView<X>

Protected didAddViewObserver

Protected didAnimate

Protected didApplyTheme

Protected didChange

Protected didComposite

Protected didCull

  • didCull(): void

Protected didDisableXGestures

  • didDisableXGestures(): void
  • Returns void

Protected didDisableYGestures

  • didDisableYGestures(): void
  • Returns void

Protected didDisplay

Protected didDisplayChildView

Protected didDisplayChildViews

Protected didEnableXGestures

  • didEnableXGestures(): void
  • Returns void

Protected didEnableYGestures

  • didEnableYGestures(): void
  • Returns void

Protected didInsertChildView

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

Protected didLayout

Protected didMount

  • didMount(): void
  • Returns void

Protected didObserve

Protected didPower

  • didPower(): void

Protected didProcess

Protected didProcessChildView

Protected didProcessChildViews

Protected didRasterize

Protected didReboundX

  • Parameters

    Returns void

Protected didReboundY

  • Parameters

    Returns void

Protected didRemoveChildView

  • didRemoveChildView(childView: View): void

Protected didRemoveViewObserver

Protected didRender

Protected didRequestUpdate

  • didRequestUpdate(targetView: View, updateFlags: number, immediate: boolean): void

Protected didRequireUpdate

  • didRequireUpdate(updateFlags: number, immediate: boolean): void

Protected didResize

Protected didScroll

Protected didSetBottomAxis

  • didSetBottomAxis(newBottomAxisView: null | AxisView<X>, oldBottomAxisView: null | AxisView<X>): void
  • Parameters

    Returns void

Protected didSetGraph

  • didSetGraph(newGraphView: null | GraphView<X, Y>, oldGraphView: null | GraphView<X, Y>): void
  • Parameters

    Returns void

Protected didSetHidden

  • didSetHidden(hidden: boolean): void
  • Parameters

    • hidden: boolean

    Returns void

Protected didSetLeftAxis

  • didSetLeftAxis(newLeftAxisView: null | AxisView<Y>, oldLeftAxisView: null | AxisView<Y>): void
  • Parameters

    Returns void

Protected didSetParentView

  • didSetParentView(newParentView: null | View, oldParentView: null | View): void

Protected didSetRightAxis

  • didSetRightAxis(newRightAxisView: null | AxisView<Y>, oldRightAxisView: null | AxisView<Y>): void
  • Parameters

    Returns void

Protected didSetScaled

Protected didSetTopAxis

  • didSetTopAxis(newTopAxisView: null | AxisView<X>, oldTopAxisView: null | AxisView<X>): void
  • Parameters

    Returns void

Protected didSetViewController

Protected didSetXDataDomain

  • didSetXDataDomain(newXDataDomain: null | Domain<X>, oldXDataDomain: null | Domain<X>): void
  • Parameters

    • newXDataDomain: null | Domain<X>
    • oldXDataDomain: null | Domain<X>

    Returns void

Protected didSetXRangePadding

  • didSetXRangePadding(newXRangePadding: readonly [number, number], oldXRangePadding: readonly [number, number]): void
  • Parameters

    • newXRangePadding: readonly [number, number]
    • oldXRangePadding: readonly [number, number]

    Returns void

Protected didSetXScale

Protected didSetYDataDomain

  • didSetYDataDomain(newYDataDomain: null | Domain<Y>, oldYDataDomain: null | Domain<Y>): void
  • Parameters

    • newYDataDomain: null | Domain<Y>
    • oldYDataDomain: null | Domain<Y>

    Returns void

Protected didSetYRangePadding

  • didSetYRangePadding(newYRangePadding: readonly [number, number], oldYRangePadding: readonly [number, number]): void
  • Parameters

    • newYRangePadding: readonly [number, number]
    • oldYRangePadding: readonly [number, number]

    Returns void

Protected didSetYScale

didStopInteracting

  • didStopInteracting(): void
  • Returns void

didStopPressing

  • didStopPressing(): void
  • Returns void

Protected didUncull

  • didUncull(): void

Protected didUnmount

  • didUnmount(): void

Protected didUnpower

  • didUnpower(): void

dispatchEvent

  • Parameters

    Returns boolean

Protected displayChildViews

Protected doCull

  • doCull(): void
  • Returns void

Protected doCullChildViews

  • doCullChildViews(): void
  • Returns void

Protected doDisplay

  • Parameters

    Returns void

Protected doDisplayChildViews

Protected doHide

  • doHide(): void
  • Returns void

Protected doHideChildViews

  • doHideChildViews(): void
  • Returns void

Protected doHitTest

Protected doMountChildViews

  • doMountChildViews(): void
  • Returns void

Protected doPowerChildViews

  • doPowerChildViews(): void
  • Returns void

Protected doProcess

  • Parameters

    Returns void

Protected doProcessChildViews

Protected doUncull

  • doUncull(): void
  • Returns void

Protected doUncullChildViews

  • doUncullChildViews(): void
  • Returns void

Protected doUnhide

  • doUnhide(): void
  • Returns void

Protected doUnhideChildViews

  • doUnhideChildViews(): void
  • Returns void

Protected doUnmountChildViews

  • doUnmountChildViews(): void
  • Returns void

Protected doUnpowerChildViews

  • doUnpowerChildViews(): void
  • Returns void

domainTracking

  • domainTracking(): readonly [boolean, boolean]
  • domainTracking(domainTracking: boolean | readonly [boolean, boolean]): ChartView<X, Y>
  • domainTracking(xDomainTracking: boolean, yDomainTracking: boolean): ChartView<X, Y>
  • Returns readonly [boolean, boolean]

  • Parameters

    • domainTracking: boolean | readonly [boolean, boolean]

    Returns ChartView<X, Y>

  • Parameters

    • xDomainTracking: boolean
    • yDomainTracking: boolean

    Returns ChartView<X, Y>

evaluateConstraintVariables

  • evaluateConstraintVariables(): void

extendViewContext

firstChildView

  • firstChildView(): null | View
  • Returns null | View

fit

  • fit(tween?: boolean): void
  • Parameters

    • Optional tween: boolean

    Returns void

fitX

  • fitX(tween?: boolean): void
  • Parameters

    • Optional tween: boolean

    Returns void

fitY

  • fitY(tween?: boolean): void
  • Parameters

    • Optional tween: boolean

    Returns void

forEachChildView

  • forEachChildView<T>(callback: (childView: View) => void | T): undefined | T
  • forEachChildView<T, S>(callback: (childView: View) => void | T, thisArg: S): undefined | T
  • Type parameters

    • T

    Parameters

    • callback: (childView: View) => void | T
        • (childView: View): void | T
        • Parameters

          Returns void | T

    Returns undefined | T

  • Type parameters

    • T

    • S

    Parameters

    • callback: (childView: View) => void | T
        • (childView: View): void | T
        • Parameters

          Returns void | T

    • thisArg: S

    Returns undefined | T

gestures

  • gestures(): readonly [boolean, boolean]
  • gestures(gestures: boolean | readonly [boolean, boolean]): ChartView<X, Y>
  • gestures(xGestures: boolean, yGestures: boolean): ChartView<X, Y>
  • Returns readonly [boolean, boolean]

  • Parameters

    • gestures: boolean | readonly [boolean, boolean]

    Returns ChartView<X, Y>

  • Parameters

    • xGestures: boolean
    • yGestures: boolean

    Returns ChartView<X, Y>

getBaseView

  • getBaseView<V>(viewClass: ViewClass<V>): null | V

getChildView

  • getChildView(key: string): null | View
  • Parameters

    • key: string

    Returns null | View

getLook

  • Type parameters

    • T

    Parameters

    Returns undefined | T

getLookOr

  • getLookOr<T, E>(look: Look<T, unknown>, elseValue: E): T | E
  • getLookOr<T, E>(look: Look<T, unknown>, mood: null | MoodVector<Feel>, elseValue: E): T | E
  • Type parameters

    • T

    • E

    Parameters

    • look: Look<T, unknown>
    • elseValue: E

    Returns T | E

  • Type parameters

    • T

    • E

    Parameters

    Returns T | E

getSuperView

  • getSuperView<V>(viewClass: ViewClass<V>): null | V

getViewAnimator

getViewFastener

getViewProperty

getViewService

handleEvent

  • Parameters

    Returns void

hasConstraint

  • Parameters

    Returns boolean

hasConstraintVariable

hasViewAnimator

  • hasViewAnimator(animatorName: string): boolean
  • Parameters

    • animatorName: string

    Returns boolean

hasViewFastener

  • hasViewFastener(fastenerName: string): boolean
  • Parameters

    • fastenerName: string

    Returns boolean

hasViewProperty

  • hasViewProperty(propertyName: string): boolean
  • Parameters

    • propertyName: string

    Returns boolean

hasViewService

  • hasViewService(serviceName: string): boolean
  • Parameters

    • serviceName: string

    Returns boolean

hitTest

  • Parameters

    Returns null | GraphicsView

Protected initBottomAxis

  • initBottomAxis(bottomAxisView: AxisView<X>): void
  • Parameters

    Returns void

Protected initGraph

  • initGraph(graphView: GraphView<X, Y>): void
  • Parameters

    Returns void

Protected initLeftAxis

  • initLeftAxis(leftAxisView: AxisView<Y>): void
  • Parameters

    Returns void

Protected initRightAxis

  • initRightAxis(rightAxisView: AxisView<Y>): void
  • Parameters

    Returns void

Protected initScaled

Protected initTopAxis

  • initTopAxis(topAxisView: AxisView<X>): void
  • Parameters

    Returns void

initView

  • Parameters

    Returns void

insert

  • Type parameters

    Parameters

    • childView: V
    • target: null | View
    • Optional key: string

    Returns V

  • Type parameters

    Parameters

    Returns V

  • Type parameters

    Parameters

    Returns V

insertChildView

  • insertChildView(childView: View, targetView: null | View, key?: string): void
  • Parameters

    • childView: View
    • targetView: null | View
    • Optional key: string

    Returns void

Protected insertChildViewMap

  • insertChildViewMap(childView: View): void
  • Parameters

    Returns void

insertScaled

Protected insertViewFastener

  • insertViewFastener(childView: View, targetView: null | View): void
  • Parameters

    • childView: View
    • targetView: null | View

    Returns void

intersectsViewport

  • intersectsViewport(): boolean

isCulled

  • isCulled(): boolean

isDisplaying

  • isDisplaying(): boolean

isHidden

  • isHidden(): boolean
  • Returns boolean

isHovering

  • isHovering(): boolean
  • Returns boolean

isMounted

  • isMounted(): boolean

isPowered

  • isPowered(): boolean

isProcessing

  • isProcessing(): boolean

isTraversing

  • isTraversing(): boolean

isUpdating

  • isUpdating(): boolean

lastChildView

  • lastChildView(): null | View
  • Returns null | View

Protected layoutChart

  • layoutChart(frame: R2Box): void
  • Parameters

    Returns void

Protected layoutChildViews

modifyMood

modifyTheme

Protected mountScaledFasteners

  • mountScaledFasteners(): void

Protected mountTheme

  • mountTheme(): void
  • Returns void

Protected mountViewAnimators

  • mountViewAnimators(): void
  • Returns void

Protected mountViewFasteners

  • mountViewFasteners(): void
  • Returns void

Protected mountViewProperties

  • mountViewProperties(): void
  • Returns void

Protected mountViewServices

  • mountViewServices(): void
  • Returns void

needsDisplay

needsProcess

  • Parameters

    Returns number

nextChildView

  • nextChildView(targetView: View): null | View
  • Parameters

    Returns null | View

off

  • off<T>(type: T, listener: (event: GraphicsViewEventMap[T]) => unknown, options?: boolean | EventListenerOptions): ChartView<X, Y>
  • off(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): ChartView<X, Y>
  • Type parameters

    Parameters

    Returns ChartView<X, Y>

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | EventListenerOptions

    Returns ChartView<X, Y>

on

  • on<T>(type: T, listener: (event: GraphicsViewEventMap[T]) => unknown, options?: boolean | AddEventListenerOptions): ChartView<X, Y>
  • on(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): ChartView<X, Y>
  • Type parameters

    Parameters

    Returns ChartView<X, Y>

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | AddEventListenerOptions

    Returns ChartView<X, Y>

Protected onAddViewObserver

Protected onAnimate

Protected onApplyTheme

Protected onBeginBoundingXScale

Protected onBeginBoundingYScale

Protected onChange

  • Parameters

    Returns void

Protected onComposite

Protected onCull

  • onCull(): void

Protected onDisplay

Protected onDisplayChildView

Protected onDisplayChildViews

Protected onEndBoundingXScale

Protected onEndBoundingYScale

Protected onInsertChildView

  • onInsertChildView(childView: View, targetView: null | View): void
  • Parameters

    • childView: View
    • targetView: null | View

    Returns void

Protected onInsertScaled

Protected onInterruptBoundingXScale

Protected onInterruptBoundingYScale

Protected onLayout

Protected onMount

  • onMount(): void
  • Returns void

Protected onMouseOut

  • Parameters

    Returns void

Protected onMouseOver

  • Parameters

    Returns void

Protected onPointerOut

Protected onPointerOver

Protected onPower

  • onPower(): void

Protected onProcess

Protected onProcessChildView

Protected onProcessChildViews

Protected onRasterize

Protected onRemoveChildView

  • onRemoveChildView(childView: View): void
  • Parameters

    Returns void

Protected onRemoveScaled

Protected onRemoveViewObserver

Protected onRender

  • Parameters

    Returns void

Protected onRequestUpdate

  • onRequestUpdate(targetView: View, updateFlags: number, immediate: boolean): void

Protected onRequireUpdate

  • onRequireUpdate(updateFlags: number, immediate: boolean): void

Protected onResize

Protected onScroll

Protected onSetBottomAxis

  • onSetBottomAxis(newBottomAxisView: null | AxisView<X>, oldBottomAxisView: null | AxisView<X>): void
  • Parameters

    Returns void

Protected onSetGraph

  • onSetGraph(newGraphView: null | GraphView<X, Y>, oldGraphView: null | GraphView<X, Y>): void
  • Parameters

    Returns void

Protected onSetHidden

  • onSetHidden(hidden: boolean): void
  • Parameters

    • hidden: boolean

    Returns void

Protected onSetLeftAxis

  • onSetLeftAxis(newLeftAxisView: null | AxisView<Y>, oldLeftAxisView: null | AxisView<Y>): void
  • Parameters

    Returns void

Protected onSetParentView

  • onSetParentView(newParentView: null | View, oldParentView: null | View): void

Protected onSetRightAxis

  • onSetRightAxis(newRightAxisView: null | AxisView<Y>, oldRightAxisView: null | AxisView<Y>): void
  • Parameters

    Returns void

Protected onSetScaled

Protected onSetScaledXDataDomain

Protected onSetScaledXRangePadding

Protected onSetScaledXScale

Protected onSetScaledYDataDomain

Protected onSetScaledYRangePadding

Protected onSetScaledYScale

Protected onSetTopAxis

  • onSetTopAxis(newTopAxisView: null | AxisView<X>, oldTopAxisView: null | AxisView<X>): void
  • Parameters

    Returns void

Protected onSetViewController

Protected onSetXDataDomain

  • onSetXDataDomain(newXDataDomain: null | Domain<X>, oldXDataDomain: null | Domain<X>): void
  • Parameters

    • newXDataDomain: null | Domain<X>
    • oldXDataDomain: null | Domain<X>

    Returns void

Protected onSetXRangePadding

  • onSetXRangePadding(newXRangePadding: readonly [number, number], oldXRangePadding: readonly [number, number]): void
  • Parameters

    • newXRangePadding: readonly [number, number]
    • oldXRangePadding: readonly [number, number]

    Returns void

Protected onSetXScale

Protected onSetYDataDomain

  • onSetYDataDomain(newYDataDomain: null | Domain<Y>, oldYDataDomain: null | Domain<Y>): void
  • Parameters

    • newYDataDomain: null | Domain<Y>
    • oldYDataDomain: null | Domain<Y>

    Returns void

Protected onSetYRangePadding

  • onSetYRangePadding(newYRangePadding: readonly [number, number], oldYRangePadding: readonly [number, number]): void
  • Parameters

    • newYRangePadding: readonly [number, number]
    • oldYRangePadding: readonly [number, number]

    Returns void

Protected onSetYScale

Protected onUncull

  • onUncull(): void
  • Returns void

Protected onUnmount

  • onUnmount(): void
  • Returns void

Protected onUnpower

  • onUnpower(): void

prepend

  • Type parameters

    Parameters

    • childView: V
    • Optional key: string

    Returns V

  • Type parameters

    Parameters

    Returns V

  • Type parameters

    Parameters

    Returns V

prependChildView

  • prependChildView(childView: View, key?: string): void
  • Parameters

    • childView: View
    • Optional key: string

    Returns void

preserveAspectRatio

  • preserveAspectRatio(): boolean
  • preserveAspectRatio(preserveAspectRatio: boolean): ChartView<X, Y>
  • Returns boolean

  • Parameters

    • preserveAspectRatio: boolean

    Returns ChartView<X, Y>

previousChildView

  • previousChildView(targetView: View): null | View
  • Parameters

    Returns null | View

Protected processChildViews

remove

  • remove(): void
  • Returns void

removeAll

  • removeAll(): void
  • Returns void

removeChildView

  • removeChildView(key: string): null | View
  • removeChildView(childView: View): void
  • Parameters

    • key: string

    Returns null | View

  • Parameters

    Returns void

Protected removeChildViewMap

  • removeChildViewMap(childView: View): void
  • Parameters

    Returns void

removeConstraint

  • Parameters

    Returns void

removeConstraintVariable

removeScaled

Protected removeViewFastener

  • removeViewFastener(childView: View): void
  • Parameters

    Returns void

removeViewObserver

requestUpdate

  • requestUpdate(targetView: View, updateFlags: number, immediate: boolean): void

requireUpdate

  • requireUpdate(updateFlags: number, immediate?: boolean): void

Protected resizeScales

  • resizeScales(): void
  • Returns void

setChildView

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

    • key: string
    • newChildView: null | View

    Returns null | View

setCulled

  • setCulled(culled: boolean): void
  • Parameters

    • culled: boolean

    Returns void

setHidden

  • setHidden(hidden: boolean): void
  • Parameters

    • hidden: boolean

    Returns void

setKey

  • setKey(key: undefined | string): void
  • Parameters

    • key: undefined | string

    Returns void

setParentView

  • setParentView(newParentView: null | View, oldParentView: null | View): void
  • Parameters

    • newParentView: null | View
    • oldParentView: null | View

    Returns void

setScaledFlags

  • setScaledFlags(scaledFlags: number): void
  • Parameters

    • scaledFlags: number

    Returns void

setViewAnimator

  • setViewAnimator(animatorName: string, newViewAnimator: null | ViewAnimator<ChartView<X, Y>, unknown, never>): void
  • Parameters

    Returns void

setViewController

setViewFastener

  • setViewFastener(fastenerName: string, newViewFastener: null | ViewFastener<ChartView<X, Y>, any, never>): void
  • Parameters

    Returns void

setViewFlags

  • setViewFlags(viewFlags: number): void

setViewFrame

  • setViewFrame(viewFrame: null | R2Box): void
  • Parameters

    • viewFrame: null | R2Box

    Returns void

setViewProperty

  • setViewProperty(propertyName: string, newViewProperty: null | ViewProperty<ChartView<X, Y>, unknown, never>): void
  • Parameters

    Returns void

setViewService

  • setViewService(serviceName: string, newViewService: null | ViewService<ChartView<X, Y>, unknown>): void
  • Parameters

    Returns void

setViewState

Protected setXDataDomain

  • setXDataDomain(newXDataDomain: null | Domain<X>): void
  • Parameters

    • newXDataDomain: null | Domain<X>

    Returns void

Protected setXDataDomainPadded

  • setXDataDomainPadded(xDataDomainPadded: null | Domain<X>): void
  • Parameters

    • xDataDomainPadded: null | Domain<X>

    Returns void

Protected setXDataRange

  • setXDataRange(xDataRange: null | Range<number>): void
  • Parameters

    • xDataRange: null | Range<number>

    Returns void

Protected setYDataDomain

  • setYDataDomain(newYDataDomain: null | Domain<Y>): void
  • Parameters

    • newYDataDomain: null | Domain<Y>

    Returns void

Protected setYDataDomainPadded

  • setYDataDomainPadded(yDataDomainPadded: null | Domain<Y>): void
  • Parameters

    • yDataDomainPadded: null | Domain<Y>

    Returns void

Protected setYDataRange

  • setYDataRange(yDataRange: null | Range<number>): void
  • Parameters

    • yDataRange: null | Range<number>

    Returns void

Protected themeViewAnimators

trackDidStartAnimating

trackDidStopAnimating

trackWillStartAnimating

trackWillStopAnimating

Protected unmountScaledFasteners

  • unmountScaledFasteners(): void

Protected unmountViewAnimators

  • unmountViewAnimators(): void
  • Returns void

Protected unmountViewFasteners

  • unmountViewFasteners(): void

Protected unmountViewProperties

  • unmountViewProperties(): void
  • Returns void

Protected unmountViewServices

  • unmountViewServices(): void
  • Returns void

Protected updateScales

  • updateScales(): void
  • Returns void

Protected updateTheme

  • updateTheme(): void
  • Returns void

Protected updateXDataDomain

Protected updateXDataDomainPadded

  • updateXDataDomainPadded(): void

Protected updateXDataRange

  • updateXDataRange(): void
  • Returns void

Protected updateXRangePadding

Protected updateYDataDomain

Protected updateYDataDomainPadded

  • updateYDataDomainPadded(): void

Protected updateYDataRange

  • updateYDataRange(): void
  • Returns void

Protected updateYRangePadding

Protected willAddViewObserver

Protected willAnimate

Protected willApplyTheme

willBeginCoast

  • willBeginCoast(input: ScaleGestureInput<X, Y>, event: null | Event): boolean | void
  • Parameters

    Returns boolean | void

Protected willChange

Protected willComposite

Protected willCull

  • willCull(): void

Protected willDisplay

Protected willDisplayChildView

Protected willDisplayChildViews

Protected willInsertChildView

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

Protected willLayout

Protected willMount

  • willMount(): void

Protected willObserve

Protected willPower

  • willPower(): void

Protected willProcess

Protected willProcessChildView

Protected willProcessChildViews

Protected willRasterize

Protected willReboundX

  • Parameters

    Returns void

Protected willReboundY

  • Parameters

    Returns void

Protected willRemoveChildView

  • willRemoveChildView(childView: View): void

Protected willRemoveViewObserver

Protected willRender

Protected willRequestUpdate

  • willRequestUpdate(targetView: View, updateFlags: number, immediate: boolean): void

Protected willRequireUpdate

  • willRequireUpdate(updateFlags: number, immediate: boolean): void

Protected willResize

Protected willScroll

Protected willSetBottomAxis

  • willSetBottomAxis(newBottomAxisView: null | AxisView<X>, oldBottomAxisView: null | AxisView<X>): void
  • Parameters

    Returns void

Protected willSetGraph

  • willSetGraph(newGraphView: null | GraphView<X, Y>, oldGraphView: null | GraphView<X, Y>): void
  • Parameters

    Returns void

Protected willSetHidden

  • willSetHidden(hidden: boolean): void
  • Parameters

    • hidden: boolean

    Returns void

Protected willSetLeftAxis

  • willSetLeftAxis(newLeftAxisView: null | AxisView<Y>, oldLeftAxisView: null | AxisView<Y>): void
  • Parameters

    Returns void

Protected willSetParentView

  • willSetParentView(newParentView: null | View, oldParentView: null | View): void

Protected willSetRightAxis

  • willSetRightAxis(newRightAxisView: null | AxisView<Y>, oldRightAxisView: null | AxisView<Y>): void
  • Parameters

    Returns void

Protected willSetScaled

Protected willSetTopAxis

  • willSetTopAxis(newTopAxisView: null | AxisView<X>, oldTopAxisView: null | AxisView<X>): void
  • Parameters

    Returns void

Protected willSetViewController

Protected willSetXDataDomain

  • willSetXDataDomain(newXDataDomain: null | Domain<X>, oldXDataDomain: null | Domain<X>): void
  • Parameters

    • newXDataDomain: null | Domain<X>
    • oldXDataDomain: null | Domain<X>

    Returns void

Protected willSetXRangePadding

  • willSetXRangePadding(newXRangePadding: readonly [number, number], oldXRangePadding: readonly [number, number]): void
  • Parameters

    • newXRangePadding: readonly [number, number]
    • oldXRangePadding: readonly [number, number]

    Returns void

Protected willSetXScale

Protected willSetYDataDomain

  • willSetYDataDomain(newYDataDomain: null | Domain<Y>, oldYDataDomain: null | Domain<Y>): void
  • Parameters

    • newYDataDomain: null | Domain<Y>
    • oldYDataDomain: null | Domain<Y>

    Returns void

Protected willSetYRangePadding

  • willSetYRangePadding(newYRangePadding: readonly [number, number], oldYRangePadding: readonly [number, number]): void
  • Parameters

    • newYRangePadding: readonly [number, number]
    • oldYRangePadding: readonly [number, number]

    Returns void

Protected willSetYScale

willStartInteracting

  • willStartInteracting(): void

Protected willUncull

  • willUncull(): void

Protected willUnmount

  • willUnmount(): void
  • Returns void

Protected willUnpower

  • willUnpower(): void

xDomain

  • Returns null | Domain<X>

  • Parameters

    Returns ChartView<X, Y>

  • Parameters

    • xMin: X
    • xMax: X
    • Optional timing: boolean | AnyTiming

    Returns ChartView<X, Y>

xDomainTracking

  • xDomainTracking(): boolean
  • xDomainTracking(xDomainTracking: boolean): ChartView<X, Y>
  • Returns boolean

  • Parameters

    • xDomainTracking: boolean

    Returns ChartView<X, Y>

xFitAlign

  • xFitAlign(): number
  • xFitAlign(xFitAlign: number): ChartView<X, Y>
  • Returns number

  • Parameters

    • xFitAlign: number

    Returns ChartView<X, Y>

xGestures

  • xGestures(): boolean
  • xGestures(xGestures: boolean): ChartView<X, Y>
  • Returns boolean

  • Parameters

    • xGestures: boolean

    Returns ChartView<X, Y>

xRange

  • xRange(): null | Range<number>
  • Returns null | Range<number>

yDomain

  • Returns null | Domain<Y>

  • Parameters

    Returns ChartView<X, Y>

  • Parameters

    • yMin: Y
    • yMax: Y
    • Optional timing: boolean | AnyTiming

    Returns ChartView<X, Y>

yDomainTracking

  • yDomainTracking(): boolean
  • yDomainTracking(yDomainTracking: boolean): ChartView<X, Y>
  • Returns boolean

  • Parameters

    • yDomainTracking: boolean

    Returns ChartView<X, Y>

yFitAlign

  • yFitAlign(): number
  • yFitAlign(yFitAlign: number): ChartView<X, Y>
  • Returns number

  • Parameters

    • yFitAlign: number

    Returns ChartView<X, Y>

yGestures

  • yGestures(): boolean
  • yGestures(yGestures: boolean): ChartView<X, Y>
  • Returns boolean

  • Parameters

    • yGestures: boolean

    Returns ChartView<X, Y>

yRange

  • yRange(): null | Range<number>
  • Returns null | Range<number>

Static create

  • Type parameters

    • X

    • Y

    Returns ChartView<X, Y>

Static createScale

  • createScale<X, Y>(x0: X, x1: X, y0: undefined | Y, y1: undefined | Y): ContinuousScale<X, Y>
  • Type parameters

    • X

    • Y

    Parameters

    • x0: X
    • x1: X
    • y0: undefined | Y
    • y1: undefined | Y

    Returns ContinuousScale<X, Y>

Static fromAny

  • Type parameters

    • X

    • Y

    Parameters

    Returns ChartView<X, Y>

Static fromConstructor

Static fromInit

  • Type parameters

    • X

    • Y

    Parameters

    Returns ChartView<X, Y>

Static parseScale

  • Type parameters

    • X

    • Y

    Parameters

    • string: string

    Returns ContinuousScale<X, Y>

Generated using TypeDoc