Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Chart3D

Index

Properties

engine

engine: PublicEngine

pixelScale

pixelScale: Vec2<Scale>

uiScale

uiScale: Vec2<Scale>

Methods

addLegendBox

  • Type parameters

    • UIElementType: UIPart

    Parameters

    Returns UIElementType & UIElement

    LegendBox that fulfills interfaces: UIElementType (typeparam) and UIElement

addLineSeries

addPointLineSeries

addPointSeries

  • Type parameters

    Parameters

    Returns InstanceType<T>

    Created Series. If options were omitted or undefined, the Series type defaults to PointSeries3D, otherwise corresponds to class referenced by options.type.

addUIElement

  • Type parameters

    • UIElementType: UIPart

    Parameters

    Returns UIElementType & UIElement

    Object that fulfills interfaces: UIElementType (typeparam) and UIElement

disableAnimations

  • disableAnimations(): this
  • Returns this

    Chart itself for fluent interface.

dispose

  • dispose(): this
  • Returns this

    Object itself for fluent interface

forEachAxis

  • forEachAxis(clbk: function): void
  • Parameters

    • clbk: function
        • Parameters

          Returns void

    Returns void

getBackgroundFillStyle

getBackgroundStrokeStyle

  • getBackgroundStrokeStyle(): LineStyle
  • Returns LineStyle

    LineStyle

getBoundingBox

  • Returns Point3D

    Dimensions of bounding box as World Units.

getCameraDirection

  • Returns Point3D

    Camera direction in 3D space. Always an unit vector.

getCameraLocation

  • Returns Point3D

    Camera location in 3D space.

getDefaultAxisX

  • Returns Axis3D

    Axis3D object.

getDefaultAxisY

  • Returns Axis3D

    Axis3D object.

getDefaultAxisZ

  • Returns Axis3D

    Axis3D object.

getMouseInteractionsWhileScrolling

  • getMouseInteractionsWhileScrolling(): boolean
  • Returns boolean

    True if interactions with series are disabled, false if not.

getPadding

  • Returns Margin

    Padding datastructure

getTitle

  • getTitle(): string
  • Returns string

    Chart title as a string.

getTitleFillStyle

getTitleFont

getTitleMarginBottom

  • getTitleMarginBottom(): number
  • Returns number

    Padding after Chart title

getTitleMarginTop

  • getTitleMarginTop(): number
  • Returns number

    Padding before Chart title

offResize

  • offResize(token: Token): boolean
  • Parameters

    • token: Token

    Returns boolean

    True if the listener is successfully removed and false if it is not found

onResize

  • onResize(handler: function): Token
  • Parameters

    • handler: function
        • Parameters

          • obj: this
          • width: pixel
          • height: pixel
          • engineWidth: pixel
          • engineHeight: pixel

          Returns void

    Returns Token

    Token of subscription

saveToFile

  • saveToFile(fileName: string, type: undefined | string, encoderOptions: undefined | number): this
  • Parameters

    • fileName: string
    • Optional type: undefined | string
    • Optional encoderOptions: undefined | number

    Returns this

setBackgroundFillStyle

setBackgroundStrokeStyle

  • setBackgroundStrokeStyle(value: LineStyle | ImmutableMutator<LineStyle>): this
  • Parameters

    Returns this

    Object itself

setBoundingBox

  • setBoundingBox(dimensions: Point3D): this
  • Parameters

    Returns this

    Object itself for fluent interface

setCameraLocation

  • setCameraLocation(cameraLocation: Point3D): void
  • Parameters

    Returns void

setMouseInteractionsWhileScrolling

  • setMouseInteractionsWhileScrolling(state: boolean): this
  • Parameters

    • state: boolean

    Returns this

    Chart itself for fluent interface.

setPadding

  • setPadding(padding: Partial<Margin> | number): this
  • Parameters

    • padding: Partial<Margin> | number

    Returns this

    Object itself

setSeriesHighlightOnHover

  • setSeriesHighlightOnHover(state: boolean): this
  • Parameters

    • state: boolean

    Returns this

    Object itself for fluent interface.

setTitle

  • setTitle(title: string): this
  • Parameters

    • title: string

    Returns this

    Object itself for fluent interface.

setTitleFillStyle

setTitleFont

setTitleMarginBottom

  • setTitleMarginBottom(marginPixels: pixel): this
  • Parameters

    • marginPixels: pixel

    Returns this

    Chart itself for fluent interface

setTitleMarginTop

  • setTitleMarginTop(marginPixels: pixel): this
  • Parameters

    • marginPixels: pixel

    Returns this

    Chart itself for fluent interface