Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implemented by

Index

Properties

viewRect

viewRect: Rect

Methods

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

draw

  • draw(...params: any[]): void
  • Parameters

    • Rest ...params: any[]

    Returns void

invalidateCache

  • invalidateCache(): void
  • Deletes native (WebAssembly) memory used by a cached resource and removes reference to it, forcing the cached object to be recreated next time it is fetched.

    remarks

    Call .invalidateCache() to delete currently cached value

    Returns void

layout

  • layout(viewRectOrigin: Rect): void
  • Parameters

    • viewRectOrigin: Rect

    Returns void

measure

  • measure(...params: any[]): void
  • Parameters

    • Rest ...params: any[]

    Returns void

Protected onDpiChanged

  • Called when the Dpi changes in the browser. This could be due to user zooming the browser, or changing DPI settings in Windows, or moving the browser containing SciChart to another monitor

    Parameters

    Returns void

resetCache

  • resetCache(): void
  • Deletes native (WebAssembly) memory used by a cached resource and removes reference to it. And resets properties to the default values

    remarks

    Call .resetCache() to clear the cached value and prevent it from being recreated using saved properties.

    Returns void

Generated using TypeDoc