Options
All
  • Public
  • Public/Protected
  • All
Menu
summary

Defines the interface to a 2D Cartesian SciChartSurface or 3D Cartesian SciChart3DSurface within SciChart - High Performance Realtime JavaScript Charts

remarks

See derived types SciChartSurface (2D Charts) and SciChart3DSurface (3D Charts) for more specific instructions on how to use the SciChartSurface and create a 2D or 3D JavaScript Chart

Hierarchy

Implemented by

Index

Properties

Readonly domCanvas2D

domCanvas2D: HTMLCanvasElement

Readonly themeProvider

themeProvider: IThemeProvider

Methods

applyTheme

changeViewportSize

  • changeViewportSize(width: number, height: number): void
  • Changes the Viewport Size of the SciChartSurfaceBase

    Parameters

    • width: number
    • height: number

    Returns void

delete

  • delete(): void
  • Deletes native (WebAssembly) memory used by this type, after which it cannot be used.

    remarks

    Call .delete() before finishing with the object to ensure that WebAssmembly memory leaks do not occur.

    All elements within SciChart's High Performance Realtime JavaScript Charts which implement IDeletable must be deleted manually to free native (WebAssembly) memory

    Returns void

Generated using TypeDoc