Options
All
  • Public
  • Public/Protected
  • All
Menu

API Documentation for SciChart.js - v6.0.1

Go to JavaScript Charting Documentation
Go to JavaScript Chart Examples
Go to SciChart.js on Github

Index

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

Type aliases

Branded

Branded<TPrimitive, TBrand>: TPrimitive & { [__brand]: TBrand }

Type parameters

  • TPrimitive

  • TBrand

IThemePartial

IThemePartial: Partial<IThemeProvider>

IThemePartial contains the same fields as IThemeProvider, but all optional, so can provide partial themes to customise an existing theme

IXyNDataSeriesOptions

IXyNDataSeriesOptions: ITableDataSeriesOptions
deprecated

Renamed to ITableDataSeriesOptions in v6.

NumberArray

NumberArray: number[] | Float64Array

RequiredOwnProps

RequiredOwnProps<Type, BaseType>: Required<Omit<Type, keyof BaseType>>

Copies own properties of an interface or copies all of its props if base type is not provided. Makes all of the props required.

Type parameters

  • Type: BaseType

  • BaseType

StyleProperty

StyleProperty: Exclude<keyof Omit<CSSStyleDeclaration, "length" | "parentRule" | "getPropertyPriority" | "getPropertyValue" | "item" | "removeProperty" | "setProperty">, number>

SvgStringTemplate

SvgStringTemplate: (x1: number, y1: number, x2: number, y2: number) => string

Function signature for the SVG builder function

Type declaration

    • (x1: number, y1: number, x2: number, y2: number): string
    • Parameters

      • x1: number
      • y1: number
      • x2: number
      • y2: number

      Returns string

TAbsoluteCoordinate

TAbsoluteCoordinate: TTypedCoordinate<"Absolute">

Canvas "BackBuffer" coordinate (Pixel Coordinate value multiplied by DpiHelper.PIXEL_RATIO)

TAdvancedTextProperties

TAdvancedTextProperties: { multilineAlignment?: EMultiLineAlignment; rotation?: number }

Type declaration

  • Optional multilineAlignment?: EMultiLineAlignment

    Horizontal text alignment for multiline text.

  • Optional rotation?: number

    Text rotation in degrees.

TAdvancedTextStyle

Defines text style with advanced options

TAnimationDefinition

TAnimationDefinition: { options?: IFadeAnimationOptions; type: Fade } | { options?: IScaleAnimationOptions; type: Scale } | { options?: ISweepAnimationOptions; type: Sweep } | { options?: IWaveAnimationOptions; type: Wave } | { customType?: string; options?: IBaseAnimationOptions; type: Custom }

Definition of an animation, comprising a EAnimationType and the relevant options

TAnnotationDefinition

Definition of an annotation, comprising a EAnnotationType and the relevant options

TAnnotationGripSvgTemplate

TAnnotationGripSvgTemplate: (annotation: AnnotationBase, x: number, y: number) => string

Callback signature for custom annotation grip SVG templates.

Type declaration

TArcZoomParams

TArcZoomParams: { angleEnd: number; angleStart: number; radiusInner: number; radiusOuter: number }

Type declaration

  • angleEnd: number
  • angleStart: number
  • radiusInner: number
  • radiusOuter: number

TArgb

TArgb: { blue: number; green: number; opacity: number; red: number }

Type declaration

  • blue: number
  • green: number
  • opacity: number
  • red: number

TArrowHeadParameters

TArrowHeadParameters: { baseMidX: number; baseMidY: number; leftX: number; leftY: number; rightX: number; rightY: number }

Type declaration

  • baseMidX: number
  • baseMidY: number
  • leftX: number
  • leftY: number
  • rightX: number
  • rightY: number

TArrowheadSizeChangedCallback

TArrowheadSizeChangedCallback: (args: { angle: number; headDepth: number; headLength: number; headWidth: number; x1: number; x2: number; y1: number; y2: number }) => { headDepth?: number; headLength?: number; headWidth?: number } | void

The type of the onArrowHeadSizeChanged callback function

Type declaration

    • (args: { angle: number; headDepth: number; headLength: number; headWidth: number; x1: number; x2: number; y1: number; y2: number }): { headDepth?: number; headLength?: number; headWidth?: number } | void
    • Parameters

      • args: { angle: number; headDepth: number; headLength: number; headWidth: number; x1: number; x2: number; y1: number; y2: number }
        • angle: number
        • headDepth: number
        • headLength: number
        • headWidth: number
        • x1: number
        • x2: number
        • y1: number
        • y2: number

      Returns { headDepth?: number; headLength?: number; headWidth?: number } | void

TAxis3DDefinition

TAxis3DDefinition: { options?: INumericAxis3dOptions; type: NumericAxis3D } | { options?: ILogarithmicAxis3dOptions; type: LogarithmicAxis3D }

TAxisCubeState

TAxisCubeState: { xCalcType: string; xVisibleMax: number; xVisibleMin: number; xWorldDimension: number; yCalcType: string; yVisibleMax: number; yVisibleMin: number; yWorldDimension: number; zCalcType: string; zVisibleMax: number; zVisibleMin: number; zWorldDimension: number }

A type class to contain information about the current state of 3D Axis Cube, such is Visible Range or World Dimensions.

Type declaration

  • xCalcType: string
  • xVisibleMax: number
  • xVisibleMin: number
  • xWorldDimension: number
  • yCalcType: string
  • yVisibleMax: number
  • yVisibleMin: number
  • yWorldDimension: number
  • zCalcType: string
  • zVisibleMax: number
  • zVisibleMin: number
  • zWorldDimension: number

TAxisDefinition

TAxisDefinition: { options?: INumericAxisOptions; type: NumericAxis } | { options?: ILogarithmicAxisOptions; type: LogarithmicAxis } | { options?: ICategoryAxisOptions; type: CategoryAxis } | { options?: IBaseValueAxisOptions; type: BaseValueAxis } | { options?: IDiscontinuousDateAxisOptions; type: DiscontinuousDateAxis } | { options?: IDateTimeNumericAxisOptions; type: DateTimeNumericAxis } | { options?: IPolarNumericAxisOptions; type: PolarNumericAxis } | { options?: IPolarCategoryAxisOptions; type: PolarCategoryAxis }

Definition of an AxisBase2D, comprising a EAxisType and the relevant options

TAxisLabelStyle3D

TAxisLabelStyle3D: TTextStyleBase3D & { dpiScaling?: number }

TAxisTitleStyle

TAxisTitleStyle: TTextStyle & { rotation?: number; useNativeText?: boolean }

TAxisTitleStyle3D

TAxisTitleStyle3D: TTextStyleBase3D & { dpiScaling?: number }

TAxisViewRects

TAxisViewRects: { axisRendererViewRect: Rect; axisTitleRendererViewRect: Rect }

Type declaration

  • axisRendererViewRect: Rect
  • axisTitleRendererViewRect: Rect

TBorder

TBorder: { border?: number; borderBottom?: number; borderLeft?: number; borderRight?: number; borderTop?: number; color?: string }

A Border applied to the series viewport, axes or the entire chart surface

Type declaration

  • Optional border?: number
  • Optional borderBottom?: number
  • Optional borderLeft?: number
  • Optional borderRight?: number
  • Optional borderTop?: number
  • Optional color?: string

TBoxPlotSeriesData

TBoxPlotSeriesData: { lowerDataId?: number | string; maxDataId?: number | string; medianDataId?: number | string; minDataId?: number | string; upperDataId?: number | string; xDataId?: number | string } & IBoxPlotDataSeriesOptions & { filter?: TFilterDefinition }

Definition of Box Series data

TCachedLabelStyle

TCachedLabelStyle: TTextStyle & { extras?: string; providerId: string; rotation?: number }

TCameraState

TCameraState: { height?: number; pitch?: number; radius?: number; width?: number; yaw?: number }

Type declaration

  • Optional height?: number
  • Optional pitch?: number
  • Optional radius?: number
  • Optional width?: number
  • Optional yaw?: number

TCapProperty

TCapProperty: TStrokeProperties & { dataPointWidth?: number }

TCategoryCoordCalc

TCcallable

TCcallable: { ccall: (name: string, returnType: "number" | null, argTypes: string[], args: unknown[]) => number }

Minimal typed surface for the core's ccall. Reaching into the emscripten runtime for a symbol with no embind binding is an existing pattern in this codebase (see TextureManager.ts's webAssemblyContext.ccall(...) calls) but every one of those sites @ts-ignores the whole call - this loader owns a typed wrapper instead, per Task 5's review of scrt_query_category (see queryCoreCategoryVersion below).

Type declaration

  • ccall: (name: string, returnType: "number" | null, argTypes: string[], args: unknown[]) => number
      • (name: string, returnType: "number" | null, argTypes: string[], args: unknown[]): number
      • Parameters

        • name: string
        • returnType: "number" | null
        • argTypes: string[]
        • args: unknown[]

        Returns number

TCellSizeMapper

TCellSizeMapper: (index: number) => number

Type declaration

    • (index: number): number
    • Parameters

      • index: number

      Returns number

TChartTitleStyle

TChartTitleStyle: TAdvancedTextStyle & { alignment?: ETextAlignment; placeWithinChart?: boolean; position?: ETitlePosition }

Defines text style and positioning options used for Chart Title rendering

TCheckedChangedArgs

TCheckedChangedArgs: { isChecked: boolean; series: IRenderableSeries3D }

Type args for the LegendModifier.isCheckedChanged callback Type args for the LegendModifier3D.isCheckedChanged callback

Type declaration

TCommonTextStyle

Defines text style which allows to switch between Native / Non-native text rendering

TContourLineStyle

TContourLineStyle: { color?: string; strokeThickness?: number }

A type class to contain information about contour line styles

remarks

A contour line is drawn using the UniformContoursRenderableSeries with a 2D array of data

  • Set the color as an HTML Color code to define the color
  • Set the strokeThickness to change the thickness of the contour line

Type declaration

  • Optional color?: string
  • Optional strokeThickness?: number

TCoord

TCoord: xCoord | yCoord

TCoordinate

TCoordinate: Branded<number, "Coordinate">

TCoordinateTypeForMode

TCoordinateTypeForMode: { [ECoordinateMode.DataValue]: TDataValueCoordinate; [ECoordinateMode.Pixel]: TPixelCoordinate; [ECoordinateMode.Relative]: TRelativeCoordinate }

Type declaration

TCursorTooltipDataTemplate

TCursorTooltipDataTemplate: (seriesInfos: SeriesInfo[], tooltipTitle: string) => string[]

Type declaration

    • (seriesInfos: SeriesInfo[], tooltipTitle: string): string[]
    • Parameters

      Returns string[]

TCursorTooltipSvgTemplate

TCursorTooltipSvgTemplate: (seriesInfos: SeriesInfo[], svgAnnotation: CursorTooltipSvgAnnotation) => string

Type declaration

TDataColorStop

TDataColorStop: { color: string; dataValue: number }

Type declaration

  • color: string

    The color to use

  • dataValue: number

    The minimum data value at which this color will be used

TDataLabel

TDataLabel: { color?: number; dataX: number; dataY: number; position: Point; rect: Rect; rotationAngle: number; rotationCenter: Point; text: string; textCode?: number; textDict?: SCRTStringDictionary }

Type declaration

  • Optional color?: number
  • dataX: number
  • dataY: number
  • position: Point

    The start point for text drawing. This is not the top left of the text rectangle, since the y value for text is on the alphabetic baseline Difference is bounds.GetLineBounds(0).m_fHeight

  • rect: Rect

    The Rectangle that contains the label, relative to the seriesViewRect

  • rotationAngle: number
  • rotationCenter: Point
  • text: string
  • Optional textCode?: number

    Native by-code draw (grid string columns, opt-in): when set, the label is drawn straight from the dictionary by code — no per-frame JS string — instead of using {@link text}.

  • Optional textDict?: SCRTStringDictionary

TDataLabelProviderDefinition

TDataLabelProviderDefinition: { options?: IDataLabelProviderOptions; type: Default } | { options?: ILineSeriesDataLabelProviderOptions; type: Line } | { options?: IColumnSeriesDataLabelProviderOptions; type: Column } | { options?: IRectangleSeriesDataLabelProviderOptions; type: Rectangle } | { options?: ITextDataLabelProviderOptions; type: Text } | { options?: IHeatmapDataLabelProviderOptions; type: Heatmap } | { options?: IContoursDataLabelProviderOptions; type: Contours } | { options?: IBandSeriesDataLabelProviderOptions; type: Band } | { options?: IBubbleSeriesDataLabelProviderOptions; type: Bubble } | { options?: IHeatmapDataLabelProviderOptions; type: NonUniformHeatmap } | { options?: IBaseStackedCollectionOptions; type: StackedCollection } | { options?: IDataLabelProviderOptions; type: PolarDefault } | { options?: ITextDataLabelProviderOptions; type: PolarText } | { options?: IPolarColumnSeriesDataLabelProviderOptions; type: PolarColumn } | { customType: string; options?: IBaseDataLabelProviderOptions; type: Custom }

TDataLabelStyle

TDataLabelStyle: { fontFamily?: string; fontSize?: number; lineSpacing?: number; multiLineAlignment?: EMultiLineAlignment; padding?: Thickness }

A type class to contain information about data label styles

remarks
  • Set the fontFamily as a string to set the font
  • Set the fontSize as you would in HTML/CSS
  • Set the color as an HTML Color code to define the color

Type declaration

  • Optional fontFamily?: string
  • Optional fontSize?: number
  • Optional lineSpacing?: number
  • Optional multiLineAlignment?: EMultiLineAlignment
  • Optional padding?: Thickness

TDataSeriesDefinition

TDataSeriesDefinition: { options: TSeriesDataDefinition; type: EDataSeriesType }

Type declaration

TDataSeriesDefinition3D

TDataSeriesDefinition3D: { options: TSeriesDataDefinition3D; type: EDataSeriesType3D }

Type declaration

TDataValueCoordinate

TDataValueCoordinate: TTypedCoordinate<"DataValue">

Coordinate in the plane of Data values and Visible Range

TDpiChangedEventArgs

TDpiChangedEventArgs: { newValue: number; oldValue: number }

Type arguments to DpiHelper.dpiChanged event

Type declaration

  • newValue: number

    The new Dpi scaling factor

  • oldValue: number

    The previous Dpi scaling factor

TDrawFunction

TDrawFunction: () => void

Type declaration

    • (): void
    • Returns void

TEasingFn

TEasingFn: (time: number) => number

An easing function used in animations through SciChart. See easing for a list of values

Type declaration

    • (time: number): number
    • Parameters

      • time: number

      Returns number

TEdgeCoordinates

TEdgeCoordinates: { x1: number; x2: number; y1: number; y2: number }

Type declaration

  • x1: number
  • x2: number
  • y1: number
  • y2: number

TEffectDefinition

TEffectDefinition: { options?: IGlowEffectOptions; type: Glow } | { options?: IShadowEffectOptions; type: Shadow }

Definition of a shader effect, comprising a EShaderEffectType and the relevant options

TElement

TElement: { arg: NumberArray | any[]; name: string }

Type declaration

TFilterDefinition

TFilterDefinition: { options?: IXyFilterOptions; type: XyLinearTrend } | { options?: IXyMovingAverageFilterOptions; type: XyMovingAverage } | { options: IXyRatioFilterOptions; type: XyRatio } | { options?: IXyScaleOffsetFilterOptions; type: XyScaleOffset } | { options?: IXyyScaleOffsetFilterOptions; type: XyyScaleOffset } | { options?: IXyzScaleOffsetFilterOptions; type: XyzScaleOffset } | { options?: IHlcScaleOffsetFilterOptions; type: HlcScaleOffset } | { options?: IOhlcScaleOffsetFilterOptions; type: OhlcScaleOffset }

Definition of a data filter

TFormatLabelFn

TFormatLabelFn: (dataValue: number) => string

Formats a data-value into a string for display

param

The data-value (e.g. a numeric value)

Type declaration

    • (dataValue: number): string
    • Parameters

      • dataValue: number

      Returns string

TFractionType

TFractionType: { denominator: number; numerator: number }

Type of a fraction of PI. Used internally by RadianLabelProvider

Type declaration

  • denominator: number
  • numerator: number

TGetValueFn

TGetValueFn: (index: number) => number

Type declaration

    • (index: number): number
    • Parameters

      • index: number

      Returns number

TGetYRangeParams

TGetYRangeParams: { _changeCount: number; _dataSeriesValueType?: EDataSeriesValueType; _getPositiveRange: boolean; _isXCategoryAxis?: boolean; _xRange: NumberRange; _yRangeMode?: EYRangeMode }

Type declaration

TGradientStop

TGradientStop: { color: string; offset: number }

A Gradient stop applied to gradients on lines, fills thoughout SciChart

Type declaration

  • color: string

    The gradient stop color as an HTML color code

  • offset: number

    The gradient offset. Allowable values are in the range 0 to 1

TGridLineStyle

TGridLineStyle: { color?: string; strokeDashArray?: number[]; strokeThickness?: number }

A type class to contain information about gridline styles

remarks

A grid line is the X Y axis grid inside the chart

  • Set the color as an HTML Color code to define the color
  • Set the strokeThickness to change the thickness of the grid line
  • Set the strokeDashArray to define dash pattern, e.g. [2,2] will have a 2-pixel long dash every 2 pixels

Type declaration

  • Optional color?: string
  • Optional strokeDashArray?: number[]
  • Optional strokeThickness?: number

THeatmapLegend

THeatmapLegend: { heatmapLegend: HeatmapLegend; wasmContext: TSciChart }

Type declaration

THeightColorSettings

THeightColorSettings: { colorPickMode: EColorPickMode; colorStops: TDataColorStop[]; fillMode?: EFillPaletteMode; infraColor?: string; maxTextureSize?: number; ultraColor?: string }

Type declaration

  • colorPickMode: EColorPickMode

    If Interpolated, a color gradient will be created based on the stops, and colors will be picked from that gradient based on the relative position of the data value between the stops. If Discrete, only the colors defined in the stops will be picked. Default Discrete;

  • colorStops: TDataColorStop[]

    The color stops to use in data space. These must be in ascending order and there must be at least 2 stops, to define a minimum and maximum

  • Optional fillMode?: EFillPaletteMode

    Gradient mode blends the boundaries between neighboring segments, while Solid mode keeps them as pure colors.

  • Optional infraColor?: string

    The color to use for values less than the smallest stop

  • Optional maxTextureSize?: number
  • Optional ultraColor?: string

    The color to use for values greater than the largest stop

THlcSeriesData

THlcSeriesData: { closeDataId?: number | string; highDataId?: number | string; lowDataId?: number | string; xDataId?: number | string } & IHlcDataSeriesOptions & { filter?: TFilterDefinition }

Definition of Open, High, Low, Close data

THoverCallback

THoverCallback<TEntityType>: (args: IHoverCallbackArgs<TEntityType>) => void

Type parameters

Type declaration

THoveredChangedCallback

THoveredChangedCallback: (args: HoveredChangedArgs) => void

The type of the callback function

Type declaration

THoveredChangedCallback3D

THoveredChangedCallback3D: (args: HoveredChangedArgs3D) => void

The type of the callback function

Type declaration

TInnerLayoutStrategyDefinition

TInnerLayoutStrategyDefinition: { customType?: string; options?: IInnerAxisLayoutStrategyOptions; type: ELayoutStrategyType }

Type declaration

TLabelProviderDefinition

TLabelProviderDefinition: { options?: ILabelOptions; type: Numeric } | { options?: ILabelOptions; type: Date } | { options?: ILabelOptions; type: Logarithmic } | { options?: ISmartDateLabelProviderOptions; type: SmartDate } | { options?: ITextLabelOptions; type: Text } | { options?: ILabelOptions; type: Pie }

Definition of a LabelProviderBase2D, comprising a ELabelProviderType and the relevant options

TLabelThresholds

TLabelThresholds: Partial<Record<ETradeChartLabelFormat, number>>

Type for label thresholds mapping. Maps each ETradeChartLabelFormat to its maximum time range in seconds.

TLayoutAxisPartsWithStrategyFunc

TLayoutAxisPartsWithStrategyFunc: (axisRendererWidth: number, axisRendererHeight: number, axisTitleRendererWidth: number, axisTitleRendererHeight: number, axisRect: Rect, border: TBorder) => TAxisViewRects

Type declaration

    • (axisRendererWidth: number, axisRendererHeight: number, axisTitleRendererWidth: number, axisTitleRendererHeight: number, axisRect: Rect, border: TBorder): TAxisViewRects
    • Parameters

      • axisRendererWidth: number
      • axisRendererHeight: number
      • axisTitleRendererWidth: number
      • axisTitleRendererHeight: number
      • axisRect: Rect
      • border: TBorder

      Returns TAxisViewRects

TLayoutManagerDefinition

TLayoutManagerDefinition: { options?: ILayoutManagerOptions; type: Default } | { options?: ICentralAxesLayoutManagerOptions; type: CentralAxes } | { options?: ILayoutManagerOptions; type: Synchronised } | { options?: ILayoutManagerOptions; type: Polar }

TLegendItem

TLegendItem: { checked: boolean; color: string; gradient?: GradientParams; id: string; name: string; showMarker?: boolean }

Type declaration

  • checked: boolean
  • color: string
  • Optional gradient?: GradientParams
  • id: string
  • name: string
  • Optional showMarker?: boolean

TLicenseContext

TLicenseContext: { SCRTCredentials: { ApplyLicenseResponse: (response: string) => number; ApplySimpleResponse: (response: string) => number; Dump: () => string; GenerateClientNonce?: () => string; GetAllowDebugging: () => boolean; GetDeveloperCount: () => number; GetEncryptedOrderId: () => string; GetLicenseChallenge: () => string; GetLicenseDaysRemaining: () => number; GetLicenseErrors: () => string; GetLicenseType: () => SCRTLicenseType; GetOrderId: () => string; GetProductCode: () => string; HasFeature: (feature: string) => SCRTLicenseType; IsRoundTripValidation?: () => boolean; IsSimpleValidation: () => boolean; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => void }; SCRTLicenseType: { LICENSE_TYPE_COMMUNITY: SCRTLicenseType; LICENSE_TYPE_FULL: SCRTLicenseType; LICENSE_TYPE_FULL_EXPIRED: SCRTLicenseType; LICENSE_TYPE_INVALID_DEVELOPER_LICENSE: SCRTLicenseType; LICENSE_TYPE_INVALID_LICENSE: SCRTLicenseType; LICENSE_TYPE_NO_LICENSE: SCRTLicenseType; LICENSE_TYPE_REQUIRES_VALIDATION: SCRTLicenseType; LICENSE_TYPE_SUBSCRIPTION_EXPIRED: SCRTLicenseType; LICENSE_TYPE_TRIAL: SCRTLicenseType; LICENSE_TYPE_TRIAL_EXPIRED: SCRTLicenseType } }

Type declaration

  • SCRTCredentials: { ApplyLicenseResponse: (response: string) => number; ApplySimpleResponse: (response: string) => number; Dump: () => string; GenerateClientNonce?: () => string; GetAllowDebugging: () => boolean; GetDeveloperCount: () => number; GetEncryptedOrderId: () => string; GetLicenseChallenge: () => string; GetLicenseDaysRemaining: () => number; GetLicenseErrors: () => string; GetLicenseType: () => SCRTLicenseType; GetOrderId: () => string; GetProductCode: () => string; HasFeature: (feature: string) => SCRTLicenseType; IsRoundTripValidation?: () => boolean; IsSimpleValidation: () => boolean; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => void }
    • ApplyLicenseResponse: (response: string) => number
        • (response: string): number
        • Parameters

          • response: string

          Returns number

    • ApplySimpleResponse: (response: string) => number
        • (response: string): number
        • Parameters

          • response: string

          Returns number

    • Dump: () => string
        • (): string
        • Returns string

    • Optional GenerateClientNonce?: () => string
        • (): string
        • Returns string

    • GetAllowDebugging: () => boolean
        • (): boolean
        • Returns boolean

    • GetDeveloperCount: () => number
        • (): number
        • Returns number

    • GetEncryptedOrderId: () => string
        • (): string
        • Returns string

    • GetLicenseChallenge: () => string
        • (): string
        • Returns string

    • GetLicenseDaysRemaining: () => number
        • (): number
        • Returns number

    • GetLicenseErrors: () => string
        • (): string
        • Returns string

    • GetLicenseType: () => SCRTLicenseType
        • (): SCRTLicenseType
        • Returns SCRTLicenseType

    • GetOrderId: () => string
        • (): string
        • Returns string

    • GetProductCode: () => string
        • (): string
        • Returns string

    • HasFeature: (feature: string) => SCRTLicenseType
        • (feature: string): SCRTLicenseType
        • Parameters

          • feature: string

          Returns SCRTLicenseType

    • Optional IsRoundTripValidation?: () => boolean
        • (): boolean
        • Returns boolean

    • IsSimpleValidation: () => boolean
        • (): boolean
        • Returns boolean

    • RequiresValidation: () => boolean
        • (): boolean
        • Returns boolean

    • ResetRuntimeLicense: () => void
        • (): void
        • Returns void

    • SetRuntimeLicenseKeyW: (licenseKey: string) => void
        • (licenseKey: string): void
        • Parameters

          • licenseKey: string

          Returns void

  • SCRTLicenseType: { LICENSE_TYPE_COMMUNITY: SCRTLicenseType; LICENSE_TYPE_FULL: SCRTLicenseType; LICENSE_TYPE_FULL_EXPIRED: SCRTLicenseType; LICENSE_TYPE_INVALID_DEVELOPER_LICENSE: SCRTLicenseType; LICENSE_TYPE_INVALID_LICENSE: SCRTLicenseType; LICENSE_TYPE_NO_LICENSE: SCRTLicenseType; LICENSE_TYPE_REQUIRES_VALIDATION: SCRTLicenseType; LICENSE_TYPE_SUBSCRIPTION_EXPIRED: SCRTLicenseType; LICENSE_TYPE_TRIAL: SCRTLicenseType; LICENSE_TYPE_TRIAL_EXPIRED: SCRTLicenseType }
    • LICENSE_TYPE_COMMUNITY: SCRTLicenseType
    • LICENSE_TYPE_FULL: SCRTLicenseType
    • LICENSE_TYPE_FULL_EXPIRED: SCRTLicenseType
    • LICENSE_TYPE_INVALID_DEVELOPER_LICENSE: SCRTLicenseType
    • LICENSE_TYPE_INVALID_LICENSE: SCRTLicenseType
    • LICENSE_TYPE_NO_LICENSE: SCRTLicenseType
    • LICENSE_TYPE_REQUIRES_VALIDATION: SCRTLicenseType
    • LICENSE_TYPE_SUBSCRIPTION_EXPIRED: SCRTLicenseType
    • LICENSE_TYPE_TRIAL: SCRTLicenseType
    • LICENSE_TYPE_TRIAL_EXPIRED: SCRTLicenseType

TLinearColorMap

TLinearColorMap: { GradientStops: TGradientStop[]; Maximum: number; Minimum: number; Mode: EColorMapMode }

Type declaration

TLtrbCoordinates

TLtrbCoordinates: { bottom: number; left: number; right: number; top: number }

Type declaration

  • bottom: number
  • left: number
  • right: number
  • top: number

TModifier3DDefinition

TModifier3DDefinition: { options?: IMouseWheelZoomModifier3DOptions; type: MouseWheelZoom } | { options?: IOrbitModifier3DOptions; type: Orbit } | { options?: IPinchZoomModifier3DOptions; type: PinchZoom } | { options?: ITooltipModifier3DOptions; type: Tooltip } | { options?: ISeriesSelectionModifier3DOptions; type: SeriesSelection } | { options?: IResetCamera3DOptions; type: ZoomExtents } | { options?: ILegendModifier3DOptions; type: Legend } | { customType?: string; options?: IChartModifierBase3DOptions; type: Custom }

TModifierDefinition

TModifierDefinition: { options?: IChartModifierBaseOptions; type: EChart2DModifierType } | { options?: ICursorModifierOptions; type: Cursor } | { options?: IPolarCursorModifierOptions; type: PolarCursor } | { options?: IDataPointSelectionModifierOptions; type: DataPointSelection } | { options?: IPolarDataPointSelectionModifierOptions; type: PolarDataPointSelection } | { options?: IPolarSeriesSelectionModifierOptions; type: PolarSeriesSelection } | { options?: ILegendModifierOptions; type: Legend } | { options?: IPolarLegendModifierOptions; type: PolarLegend } | { options?: IMouseWheelZoomModifierOptions; type: MouseWheelZoom } | { options?: IPolarMouseWheelZoomModifierOptions; type: PolarMouseWheelZoom } | { options?: IPinchZoomModifierOptions; type: PinchZoom } | { options?: IRolloverModifierOptions; type: Rollover } | { options?: IVerticalSliceOptions; type: VerticalSlice } | { options?: IRubberBandXyZoomModifierOptions; type: RubberBandXYZoom } | { options?: IPolarArcZoomModifierOptions; type: PolarArcZoom } | { options?: ISeriesSelectionModifierOptions; type: SeriesSelection } | { options?: IAnnotationHoverModifierOptions; type: AnnotationHover } | { options?: IXAxisDragModifierOptions; type: XAxisDrag } | { options?: IYAxisDragModifierOptions; type: YAxisDrag } | { options?: IZoomExtentsModifierOptions; type: ZoomExtents } | { options?: IPolarZoomExtentsModifierOptions; type: PolarZoomExtents } | { options?: IZoomPanModifierOptions; type: ZoomPan } | { options?: IPolarPanModifierOptions; type: PolarPan } | { options?: IRangeSelectionModifierOptions; type: OverviewRangeSelection } | { customType?: string; options?: IChartModifierBaseOptions; type: Custom }

Definition of a 2d chart modifier, comprising a EChart2DModifierType and the relevant options

TModifierExecuteCondition

TModifierExecuteCondition: { button?: EExecuteOn; key?: EModifierMouseArgKey }

Type declaration

TModifierKeys

TModifierKeys: { altKey: boolean; ctrlKey: boolean; shiftKey: boolean }

Type to store whether modifier keys (Control, Shift, Alt) are pressed or not

Type declaration

  • altKey: boolean
  • ctrlKey: boolean
  • shiftKey: boolean

TModifierMouseArgsParams

TModifierMouseArgsParams: { altKey?: boolean; button?: number; ctrlKey?: boolean; isActiveSubChartEvent?: boolean; isMaster?: boolean; modifierGroup?: string; mousePoint?: Point; mouseWheelDelta?: number; nativeEvent?: MouseEvent; pointerId?: number; pointerType?: string; shiftKey?: boolean; target?: Element }

Type declaration

  • Optional altKey?: boolean
  • Optional button?: number
  • Optional ctrlKey?: boolean
  • Optional isActiveSubChartEvent?: boolean
  • Optional isMaster?: boolean
  • Optional modifierGroup?: string
  • Optional mousePoint?: Point
  • Optional mouseWheelDelta?: number
  • Optional nativeEvent?: MouseEvent
  • Optional pointerId?: number
  • Optional pointerType?: string
  • Optional shiftKey?: boolean
  • Optional target?: Element

TModuleStamp

TModuleStamp: { abi: number; category: string; categoryVersion: number; module: TSciChartModuleName; variant?: string }

What the scrt.module custom section carries. Stamped at build time by SciChart.Native/Web/WasmBuildScripts/stampModuleSection.js.

Type declaration

  • abi: number
  • category: string
  • categoryVersion: number
  • module: TSciChartModuleName
  • Optional variant?: string

    Build variant ("simd" | "nosimd" | "64"). Absent on modules stamped before variant parity (Task A6) - treated as "simd", the only variant that existed then.

TModuleState

TModuleState: { inFlight: Map<string, Promise<void>>; loaded: Set<string> }

Per-wasm-context loader state. Attached to the context object rather than held in a module-level map, because SciChartSurface.createSingle() creates up to 16 independent wasm instances per page and each has its own linear memory and function table - so each needs its own dlopen, and a global map would report a module as loaded into an instance that has never seen it.

Type declaration

  • inFlight: Map<string, Promise<void>>
  • loaded: Set<string>

TNativeCache

TNativeCache: { arcParams: SCRTArcParams; arcVertex: SCRTArcVertex; dictTextParams: SCRTDictTextParams; keyCache: Map<string, FontKey>; rect: SCRTRectVertex; textBounds: TSRTextBounds; textureVertex: SCRTColorTextureVertex; vecArcVertex: VectorArcVertex; vecColorTextureVertex: VectorColorTextureVertex; vecColorVertex: VectorColorVertex; vecRects: VectorRectVertex; vector2: TSRVector2; vector3: TSRVector3; vector4: TSRVector4; vertex: SCRTColorVertex }

Type declaration

  • arcParams: SCRTArcParams
  • arcVertex: SCRTArcVertex
  • dictTextParams: SCRTDictTextParams
  • keyCache: Map<string, FontKey>
  • rect: SCRTRectVertex
  • textBounds: TSRTextBounds
  • textureVertex: SCRTColorTextureVertex
  • vecArcVertex: VectorArcVertex
  • vecColorTextureVertex: VectorColorTextureVertex
  • vecColorVertex: VectorColorVertex
  • vecRects: VectorRectVertex
  • vector2: TSRVector2
  • vector3: TSRVector3
  • vector4: TSRVector4
  • vertex: SCRTColorVertex

TNativeTextStyle

TNativeTextStyle: TTextStyleBase & { useNativeText: true }

Defines properties of text rendered via Native Text API

TObjectEntryInfo

TObjectEntryInfo: { isWasmObject: boolean; objectRef: TWeakRef; proxyRef?: TWeakRef; revocableTokenRef?: TWeakRef<ReturnType<ProxyConstructor["revocable"]>> }

Type declaration

  • isWasmObject: boolean
  • objectRef: TWeakRef

    WeakRef for the original object

  • Optional proxyRef?: TWeakRef

    WeakRef for the proxy of the object

  • Optional revocableTokenRef?: TWeakRef<ReturnType<ProxyConstructor["revocable"]>>

    revocableToken for the proxy of the object

TObjectEntryOptions

TObjectEntryOptions: { isWasmObject?: boolean; proxy?: any; revocableToken?: ReturnType<ProxyConstructor["revocable"]> }

Type declaration

  • Optional isWasmObject?: boolean
  • Optional proxy?: any
  • Optional revocableToken?: ReturnType<ProxyConstructor["revocable"]>

TOhlcSeriesData

TOhlcSeriesData: { closeDataId?: number | string; highDataId?: number | string; lowDataId?: number | string; openDataId?: number | string; xDataId?: number | string } & IOhlcDataSeriesOptions & { filter?: TFilterDefinition }

Definition of Open, High, Low, Close data

TOuterLayoutStrategyDefinition

TOuterLayoutStrategyDefinition: { customType?: string; options?: any; type: ELayoutStrategyType }

Type declaration

TPaletteDefinition

TPaletteDefinition: { options?: IGradientColorPaletteOptions; type: Gradient3D } | { options?: ISolidColorBrushPaletteOptions; type: Solid3D }

TPaletteProviderDefinition

TPaletteProviderDefinition: { options: GradientParams; type: Gradient } | { options: ISelectedPointOptions; type: DataPointSelection } | { customType: string; options?: any; type: Custom }

Definition of a palette provider, comprising a EPaletteProviderType and the relevant options

TPalettingState

TPalettingState: { gradientPaletting: boolean; lastCount?: number; lastResamplingHash?: number; lastStartIndex?: number; paletteStartIndex?: number; paletteTextureCache?: PaletteCache; palettedColors: UIntVector; palettedColorsHashCode: number; requiresUpdate: boolean }

Type declaration

  • gradientPaletting: boolean
  • Optional lastCount?: number
  • Optional lastResamplingHash?: number
  • Optional lastStartIndex?: number
  • Optional paletteStartIndex?: number
  • Optional paletteTextureCache?: PaletteCache
  • palettedColors: UIntVector
  • palettedColorsHashCode: number
  • requiresUpdate: boolean

TPerformanceDetail

TPerformanceDetail: { contextId?: string; parentContextId?: string; relatedId?: string }

Type declaration

  • Optional contextId?: string
  • Optional parentContextId?: string
  • Optional relatedId?: string

TPerformanceMarkOptions

TPerformanceMarkOptions<TDetail>: TDetail & { level?: EPerformanceDebugLevel }

Type parameters

TPixelCoordinate

TPixelCoordinate: TTypedCoordinate<"Pixel">

CSS pixel coordinate

TPointMarkerArgb

TPointMarkerArgb: { fill: number; stroke: number }

Type declaration

  • fill: number
  • stroke: number

TPointMarkerDefinition

TPointMarkerDefinition: { options?: IPointMarkerOptions; type: Cross } | { options?: IPointMarkerOptions; type: Ellipse } | { options?: ISpritePointMarkerOptions; type: Sprite } | { options?: IPointMarkerOptions; type: Square } | { options?: IPointMarkerOptions; type: Triangle } | { options?: IPointMarkerOptions; type: X } | { customType?: string; options?: IPointMarkerOptions; type: Custom }

Definition of a pointmarker, comprising a EPointMarkerType and the relevant options

TPointMarkerDefinition3D

TPointMarkerDefinition3D: { options?: IBasePointMarker3DOptions; type: Sphere } | { options?: IBasePointMarker3DOptions; type: Cube } | { options?: IBasePointMarker3DOptions; type: Pyramid } | { options?: IBasePointMarker3DOptions; type: Cylinder } | { options?: IBasePointMarker3DOptions; type: Ellipse } | { options?: IBasePointMarker3DOptions; type: Pixel } | { options?: IBasePointMarker3DOptions; type: Quad } | { options?: IBasePointMarker3DOptions; type: Triangle } | { customType?: string; options?: IBasePointMarker3DOptions; type: Custom }

Definition of a pointmarker, comprising a EPointMarker3DType and the relevant options

TPointerArrowStyle

TPointerArrowStyle: { fill?: string; headDepth?: number; height?: number; stroke?: string; strokeWidth?: number; width?: number }

Defines the style of the pointer tip

Type declaration

  • Optional fill?: string

    Sets the pointer circle background color as an HTML Color code

    Default = none

  • Optional headDepth?: number

    The depth of the pointer arrow head, relative to the arrow height, NOT the pointer length

    Properties should be between 0 and 1 inclusive

    Default = 1

    note

    If value is 2, the arrow depth will be twice the height, thus creating a rhombus shape, anything above that will get closer to the center of the arrow

  • Optional height?: number

    The height of the pointer arrow, relative to the pointer length

    Properties must be between 0 and 1 inclusive

    Example: 0.1 means 10% of the length of the pointer (given by the y1 property)

    Default = 0.1

  • Optional stroke?: string

    Sets the pointer circle border color as an HTML Color code

    Default = black

  • Optional strokeWidth?: number

    Sets the stroke-width of the pointer circle, in pixels

    Default = 3

  • Optional width?: number

    The width of the pointer arrow, relative to the pointer length

    Properties must be between 0 and 1 inclusive

    Example: 0.1 means 10% of the length of the pointer (given by the y1 property)

    Default = 0

TPointerCenterStyle

TPointerCenterStyle: { fill?: string; size?: number; stroke?: string; strokeWidth?: number }

Defines the style of the pointer center circle

Type declaration

  • Optional fill?: string

    Sets the pointer circle background color as an HTML Color code

    Default = gray

  • Optional size?: number

    The size of the pointer circle (diameter)

    Properties must be between 0 and 1 inclusive

    Example: 0.1 means 10% of the length of the pointer (given by the y1 property)

    Default = 0

  • Optional stroke?: string

    Sets the pointer circle border color as an HTML Color code

    Default = black

  • Optional strokeWidth?: number

    Sets the stroke-width of the pointer circle, in pixels

    Default = 3

TPointerStyle

TPointerStyle: { backExtensionSize?: number; baseSize?: number; fill?: string; stroke?: string; strokeWidth?: number }

Defines the style of the pointer stick

Type declaration

  • Optional backExtensionSize?: number

    The size of the back extension of the pointer stick

    Properties must be between 0 and 1 inclusive

    Example: 0.1 means 10% of the length of the pointer (given by the y1 property)

    Default = 0

    note

    if your value is in between [-1, 0], the main pointer base will be placed further away from the centerpoint the closer the value is to -1.

  • Optional baseSize?: number

    The size of the pointer stick base

    Properties must be between 0 and 1 inclusive

    Example: 0.1 means 10% of the length of the pointer (given by the y1 property)

    Default = 0.1

  • Optional fill?: string

    Sets the pointer stick background color as an HTML Color code

    Default = gray

  • Optional stroke?: string

    Sets the pointer stick border color as an HTML Color code

    Default = black

  • Optional strokeWidth?: number

    Sets the stroke-width of the pointer stick, in pixels

    Default = 3

TPositionPoperties

TPositionPoperties: { coordPropertyName: TCoord; shiftPropertyName: TShift; sizePropertyName: TSize }

Type declaration

TPriceBar

TPriceBar: {}

Type declaration

TProcessedDetail

TProcessedDetail<TDetail>: TDetail & { relatedId: string }

Type parameters

TRectangleSeriesHitTestResult

TRectangleSeriesHitTestResult: { isHit: boolean; isWithinDataBounds: boolean; nearestPointIndex: number; x1Value?: number; xValue?: number; y1Value?: number; yValue?: number }

Type declaration

  • isHit: boolean
  • isWithinDataBounds: boolean
  • nearestPointIndex: number
  • Optional x1Value?: number
  • Optional xValue?: number
  • Optional y1Value?: number
  • Optional yValue?: number

TRelativeCoordinate

TRelativeCoordinate: TTypedCoordinate<"Relative">

A coordinate type relative to an axis viewportDimension

TRenderLayers

TRenderLayers: Map<number, TDrawFunction[]>

Defines Render Layers 1,2,3,4 which are used to compose rendering

TRolloverLegendSvgTemplate

TRolloverLegendSvgTemplate: (seriesInfos: SeriesInfo[], svgAnnotation: RolloverLegendSvgAnnotation) => string

Type declaration

TRolloverTooltipDataTemplate

TRolloverTooltipDataTemplate: (seriesInfo: SeriesInfo, tooltipTitle: string, tooltipLabelX: string, tooltipLabelY: string) => string[]

Type declaration

    • (seriesInfo: SeriesInfo, tooltipTitle: string, tooltipLabelX: string, tooltipLabelY: string): string[]
    • Parameters

      • seriesInfo: SeriesInfo
      • tooltipTitle: string
      • tooltipLabelX: string
      • tooltipLabelY: string

      Returns string[]

TRolloverTooltipSvgTemplate

TRolloverTooltipSvgTemplate: (id: string, seriesInfo: SeriesInfo, rolloverTooltip: RolloverTooltipSvgAnnotation) => string

Type declaration

TSciChart

TSciChart: TWasmContext

TSciChart3D

TSciChart3D: TWasmContext

TSciChartConfig

TSciChartConfig: { modulesUrl?: string; testWasm?: TSciChart | TSciChart3D; wasm64Url?: string; wasmNoSimdUrl?: string; wasmUrl?: string }

Type declaration

  • Optional modulesUrl?: string

    Base URL for the optional native wasm modules (scichart-data.wasm and friends) in the modular build shape. Defaults to the directory wasmUrl points at, or the page root. Has no effect on the static build, which contains every module already.

  • Optional testWasm?: TSciChart | TSciChart3D

    Internal testing use only

  • Optional wasm64Url?: string

    The url where the wasm64 (Memory64) variant of the wasm file is located.

    This needs to be served when SciChartDefaults.useWasm64 is any option other than "Never" and is only used on browsers that support both Memory64 and SIMD. If not provided, it is derived from wasmUrl (or the default) by inserting -64 before the .wasm extension, e.g. scichart.wasm -> scichart-64.wasm. That derivation is generic, so the union (one-wasm) build needs no special casing here.

  • Optional wasmNoSimdUrl?: string

    The url where the no-simd fallback for wasm is located

    This needs to be served when SciChartDefaults.useWasmSimd is any option other than "Always" and will be loaded as a fallback for browsers that do not support wasm Simd (Chrome v90 or below - 2021, Safari v16.3 or below - 2023, Firefox v88 or below - 2021).

    if wasmNoSimdUrl is not provided, we will try to calculate it from the provided wasmUrl or other defaults.

  • Optional wasmUrl?: string

    The url where the wasm file is located

    As of v4.0 the .data file is embedded in the wasm file. You may need to remove config in your build process that tries to copy the .data file

TSciChartDestination

TSciChartDestination: { canvasElementId: string; height: number; kind: TDestinationKind; sciChartSurface: ISciChartSurfaceBase; width: number }

Type declaration

  • canvasElementId: string
  • height: number
  • kind: TDestinationKind

    Which population this destination belongs to. Set by addDestination.

  • sciChartSurface: ISciChartSurfaceBase
  • width: number

TSciChartModuleName

TSciChartModuleName: "data" | "charting" | "charting3d"

The wasm modules this build knows how to load. data ships in v6; charting and charting3d are named here because the loader is shared infrastructure and the union is the contract - the artifacts arrive in Phases 2 and 3.

TSciChartPerformanceData

TSciChartPerformanceData: { marks: TSerializableMark[]; name: string; timeOrigin: DOMHighResTimeStamp }

Serializable performance debug data with the timeOrigin of the thread

Type declaration

TSciChartSurfaceCanvases

TSciChartSurfaceCanvases: { aspect?: number; disableAspect?: boolean; domBackgroundSvgContainer?: SVGSVGElement; domCanvas2D?: HTMLCanvasElement; domCanvasWebGL?: HTMLCanvasElement; domChartRoot?: HTMLDivElement; domDivContainer?: HTMLDivElement; domSeriesBackground?: HTMLDivElement; domSvgAdornerLayer?: SVGSVGElement; domSvgContainer?: SVGSVGElement }

Type declaration

  • Optional aspect?: number
  • Optional disableAspect?: boolean
  • Optional domBackgroundSvgContainer?: SVGSVGElement
  • Optional domCanvas2D?: HTMLCanvasElement
  • Optional domCanvasWebGL?: HTMLCanvasElement
  • Optional domChartRoot?: HTMLDivElement
  • Optional domDivContainer?: HTMLDivElement
  • Optional domSeriesBackground?: HTMLDivElement
  • Optional domSvgAdornerLayer?: SVGSVGElement
  • Optional domSvgContainer?: SVGSVGElement

TSelectionChangedCallback

TSelectionChangedCallback: (args: SelectionChangedArgs) => void

The type of the callback function

Type declaration

TSelectionChangedCallback3D

TSelectionChangedCallback3D: (args: SelectionChangedArgs3D) => void

The type of the callback function

Type declaration

TSerializableMark

TSerializableMark: { detail: TPerformanceDetail; name: string; startTime: DOMHighResTimeStamp }

Type declaration

TSeries3DHoverChangedCallback

TSeries3DHoverChangedCallback: (sourceSeries: IRenderableSeries3D, isHovered: boolean) => void

The type of the callback

Type declaration

TSeries3DSelectionChangedCallback

TSeries3DSelectionChangedCallback: (sourceSeries: IRenderableSeries3D, isSelected: boolean) => void

The type of the callback

Type declaration

TSeriesDataDefinition

Definition of series data, which can take various shapes

TSeriesDataDefinition3D

TSeriesDataDefinition3D: TXyzSeries3DData | TUniformGrid3DData

TSeriesDefinition

TSeriesDefinition: { options?: IBandRenderableSeriesOptions; type: BandSeries; xyyData?: TXyySeriesData } | { options?: IPolarBandRenderableSeriesOptions; type: PolarBandSeries; xyyData?: TXyySeriesData } | { options?: IBubbleRenderableSeriesOptions; type: BubbleSeries; xyzData?: TXyzSeriesData } | { options?: IColumnRenderableSeriesOptions; type: ColumnSeries; xyData?: TXySeriesData } | { options?: IImpulseRenderableSeries; type: ImpulseSeries; xyData?: TXySeriesData } | { ohlcData?: TOhlcSeriesData; options?: ICandlestickRenderableSeriesOptions; type: CandlestickSeries } | { options?: IFastLineRenderableSeriesOptions; type: LineSeries; xyData?: TXySeriesData } | { options?: IPolarLineRenderableSeriesOptions; type: PolarLineSeries; xyData?: TXySeriesData } | { options?: IMountainRenderableSeriesOptions; type: MountainSeries; xyData?: TXySeriesData } | { options?: IPolarMountainRenderableSeriesOptions; type: PolarMountainSeries; xyData?: TXySeriesData } | { hlcData?: THlcSeriesData; options?: IFastErrorBarsRenderableSeriesOptions; type: ErrorBarsSeries } | { ohlcData?: TOhlcSeriesData; options?: IOhlcRenderableSeriesOptions; type: OhlcSeries } | { options?: IXyScatterRenderableSeriesOptions; type: ScatterSeries; xyData?: TXySeriesData } | { options?: IXyScatterRenderableSeriesOptions; type: PolarScatterSeries; xyData?: TXySeriesData } | { options?: ITextRenderableSeriesOptions; type: TextSeries; xyTextData?: TXyTextSeriesData } | { options?: ISplineBandRenderableSeriesOptions; type: SplineBandSeries; xyyData?: TXyySeriesData } | { options?: ISplineLineRenderableSeriesOptions; type: SplineLineSeries; xyData?: TXySeriesData } | { options?: ISplineMountainRenderableSeriesOptions; type: SplineMountainSeries; xyData?: TXySeriesData } | { options?: ISmoothStackedMountainRenderableSeriesOptions; type: SmoothStackedMountainSeries; xyData?: TXySeriesData } | { heatmapData?: IUniformHeatmapSeriesOptions; options?: IHeatmapRenderableSeriesOptions; type: UniformHeatmapSeries } | { heatmapData?: IUniformHeatmapSeriesOptions; options?: IPolarUniformHeatmapRenderableSeriesOptions; type: PolarUniformHeatmapSeries } | { heatmapData?: INonUniformHeatmapSeriesOptions; options?: INonUniformHeatmapRenderableSeriesOptions; type: NonUniformHeatmapSeries } | { heatmapData?: IUniformHeatmapSeriesOptions; options?: IContoursRenderableSeriesOptions; type: UniformContoursSeries } | { options?: IStackedColumnRenderableSeriesOptions; type: StackedColumnSeries; xyData?: TXySeriesData } | { options?: IPolarColumnRenderableSeriesOptions; type: PolarStackedColumnSeries; xyData?: TXySeriesData } | { options?: IStackedMountainRenderableSeriesOptions; type: StackedMountainSeries; xyData?: TXySeriesData } | { options?: IPolarStackedMountainRenderableSeriesOptions; type: PolarStackedMountainSeries; xyData?: TXySeriesData } | { options?: IStackedColumnCollectionOptions; series?: TSeriesDefinition[]; type: StackedColumnCollection } | { options?: IBaseStackedCollectionOptions; series?: TSeriesDefinition[]; type: PolarStackedColumnCollection } | { options?: IBaseStackedCollectionOptions; series?: TSeriesDefinition[]; type: StackedMountainCollection } | { options?: IBaseStackedCollectionOptions; series?: TSeriesDefinition[]; type: PolarStackedMountainCollection } | { options?: IFastRectangleRenderableSeriesOptions; type: RectangleSeries; xyxData?: TXyxSeriesData; xyxyData?: TXyxySeriesData } | { boxPlotData?: TBoxPlotSeriesData; options?: IFastBoxPlotRenderableSeriesOptions; type: BoxPlotSeries } | { options?: IFastTriangleRenderableSeriesOptions; type: TriangleSeries; xyData?: TXySeriesData; xyxyData?: TXyxySeriesData } | { options?: IFastLineSegmentRenderableSeriesOptions; type: LineSegmentSeries; xyData?: TXySeriesData; xyxyData?: TXyxySeriesData } | { options?: IPolarColumnRenderableSeriesOptions; type: PolarColumnSeries; xyData?: TXySeriesData; xyxData?: TXyxSeriesData; xyxyData?: TXyxySeriesData } | { options?: IFastTriangleRenderableSeriesOptions; type: PolarTriangleSeries; xyData?: TXySeriesData; xyxyData?: TXyxySeriesData } | { options?: ITextRenderableSeriesOptions; type: PolarTextSeries; xyTextData?: TXyTextSeriesData } | { customType?: string; options?: IBaseRenderableSeriesOptions; type: Custom }

Definition of a renderable series, comprising a ESeriesType, the relevant options, and an optional data object whose type depends on the series type

TSeriesDefinition3D

TSeriesHoverChangedCallback

TSeriesHoverChangedCallback: (sourceSeries: IRenderableSeries, isHovered: boolean) => void

The type of the callback

Type declaration

TSeriesRenderPassInfo

TSeriesRenderPassInfo: { indicesRange: NumberRange; pointSeries: IPointSeries; renderableSeries: IRenderableSeries; resamplingHash: number }

Type declaration

TSeriesSelectionChangedCallback

TSeriesSelectionChangedCallback: (sourceSeries: IRenderableSeries, isSelected: boolean) => void

The type of the callback

Type declaration

TSeriesVisibleChangedCallback

TSeriesVisibleChangedCallback: (sourceSeries: IRenderableSeries, isVisible: boolean) => void

The type of the callback

Type declaration

TSharedDataDefinition

TSharedDataDefinition: Record<number | string, number[]>

Shared data that can be used in ISciChart2DDefinition or directly in buildSeries or buildDataSeries

TShift

TSize

TSize: width | height

TSpreadSurfaceDefinition

TSpreadSurfaceDefinition: ({ type?: Default2D } & ISciChart2DDefinition) | ({ type: Pie2D } & ISciChartPieDefinition) | ({ type: Polar2D } & ISciChart2DDefinition) | ({ type: Default3D } & ISciChart3DDefinition)

TStackedAxisLength

TStackedAxisLength: number | string

Length defined as an absolute number or percentage

TStrokeProperties

TStrokeProperties: { stroke?: string; strokeDashArray?: number[]; strokeThickness?: number }

Type declaration

  • Optional stroke?: string

    The stroke for the element

    remarks

    Acceptable values include RGB format e.g. #FF0000, RGBA format e.g. #FF000077`` and RGBA format e.g.rgba(255,0,0,0.5)```

  • Optional strokeDashArray?: number[]

    The StrokeDashArray defines the stroke or dash pattern for the line. Accepts an array of values, e.g. [2,2] will have a line of length 2 and a gap of length 2.

  • Optional strokeThickness?: number

    The stroke thickness for the element

TStyleDeclaration

TStyleDeclaration: Partial<Pick<CSSStyleDeclaration, StyleProperty>>

TSubSurfaceCoordinateMode

TSubSurfaceCoordinateMode: ESubSurfacePositionCoordinateMode | [] | [] | []

The mode for handling SubSurface position coordinates. Could one for all or different per coordinate. Acceptable format:

  • A plain value means apply the same mode for all coordinates.
  • An array of 2 elements: first - mode for horizontal coordinates and the other for vertical
  • An array of 4 elements: as modes for each separate coordinate in order [x, y, width, height] (or [left, top, right, bottom], or [x1, y1, x2, y2] depending on the coordinates format)

TSubSurfacePosition

TSurfaceConstructor

TSurfaceConstructor<T>: (wasmContext: TSciChart, options?: ISciChartSurfaceOptions) => T

Type parameters

Type declaration

TSurfaceDefinition

TSurfaceDefinition: { options?: ISciChart2DDefinition; type?: Default2D } | { options?: ISciChartPieDefinition; type: Pie2D } | { options?: ISciChart2DDefinition; type: Polar2D } | { options?: ISciChart3DDefinition; type: Default3D } | TSpreadSurfaceDefinition

TTableRow

TTableRow: Record<string, number | string>

A single table row: column name → value. Numeric columns take number, string columns take string.

TTableSeriesData

TTableSeriesData: { xDataId?: number | string } & ITableDataSeriesOptions

Definition of Table data

TTargetModeCoordinate

Coordinate represented with a value corresponding to the selected coordinate mode

TTargetsSelector

TTargetsSelector<TEntityType>: (modifier: PointerEventsMediatorModifier<TEntityType>) => TEntityType[]

Type parameters

Type declaration

TTextStyle

TTextStyle: { alignment?: ELabelAlignment; color?: string; fontFamily?: string; fontSize?: number; fontStyle?: string; fontWeight?: string; multilineAlignment?: EMultiLineAlignment; padding?: Thickness }

A type class to contain information about Axis Label text styles

remarks
  • Set the fontFamily as a string to set the font
  • Set the fontSize as you would in HTML/CSS
  • Set the fontWeight and fontStyle as you would in HTML/CSS
  • Set the color as an HTML Color code to define the color

Type declaration

  • Optional alignment?: ELabelAlignment

    Horizontal label alignment for vertical axes. Default Auto.

    privateremarks

    This property should only be used for axis labels. So the current type definition should be changed in future versions, specifically this property may be renamed or removed. In other cases, e.g. for multiline text alignment use TTextStyle.multilineAlignment

  • Optional color?: string

    The foreground color of the text

  • Optional fontFamily?: string

    Default Arial

  • Optional fontSize?: number

    The size of the font in pixels. Default 14 for axis labels

  • Optional fontStyle?: string

    Not supported if useNativeText = true

  • Optional fontWeight?: string

    Not supported if useNativeText = true

  • Optional multilineAlignment?: EMultiLineAlignment

    Horizontal text alignment for multiline text.

  • Optional padding?: Thickness

    Padding is left 4, right 4, top 2, bottom 0 by default. This is because there is natural space below the text baseline. If you are using text labels rather than just numbers, or when using native text, you may want to increase the bottom padding.

TTextStyleBase

TTextStyleBase: { color?: string; fontFamily?: string; fontSize?: number; lineSpacing?: number; padding?: Thickness }

Defines common properties of text to render

Type declaration

  • Optional color?: string
  • Optional fontFamily?: string
  • Optional fontSize?: number
  • Optional lineSpacing?: number

    Line spacing to use if text is wrapped. This is a multiple of the line height and defaults to 1.1

  • Optional padding?: Thickness

TTextStyleBase3D

TTextStyleBase3D: { color?: string; fontFamily?: string; fontSize?: number; multilineAlignment?: EMultiLineAlignment; multilineSpacing?: number }

Type declaration

  • Optional color?: string
  • Optional fontFamily?: string
  • Optional fontSize?: number
  • Optional multilineAlignment?: EMultiLineAlignment
  • Optional multilineSpacing?: number

TTextureTextStyle

TTextureTextStyle: TTextStyleBase & { fontStyle?: string; fontWeight?: string; useNativeText?: false }

Defines properties of text rendered as a texture

TTickLineStyle

TTickLineStyle: { color?: string; strokeThickness?: number; tickSize?: number }

A type class to contain information about Tick line styles

remarks

A tick line is the small 3 pixel line outside the axis.

  • Set the tickSize to define the size of this tick in pixels.
  • Set the color as an HTML Color code to define the color
  • Set the strokeThickness to change the thickness of the tick line

Type declaration

  • Optional color?: string
  • Optional strokeThickness?: number
  • Optional tickSize?: number

TTickObject

TTickObject: { majorTickCoords: number[]; majorTickLabelInfos?: LabelInfo[]; majorTickLabels: string[]; majorTicks: number[]; minorTickCoords: number[]; minorTicks: number[] }

A type which contains info about major, minor tick coordinates, labels and values. Used when drawing the axis gridlines

Type declaration

  • majorTickCoords: number[]

    The major tick coordinates

  • Optional majorTickLabelInfos?: LabelInfo[]

    The LabelInfo objects corresponding 1:1 with majorTickLabels, for direct access without cache lookups.

  • majorTickLabels: string[]

    The major tick label strings

  • majorTicks: number[]

    The major tick numeric values

  • minorTickCoords: number[]

    The minor tick coordinates

  • minorTicks: number[]

    The minor tick numeric values

TTooltip3DDataTemplate

TTooltip3DDataTemplate: (seriesInfo: SeriesInfo3D, svgAnnotation: TooltipSvgAnnotation3D) => string[]

Type declaration

TTooltip3DSvgTemplate

TTooltip3DSvgTemplate: (seriesInfo: SeriesInfo3D, svgAnnotation: TooltipSvgAnnotation3D) => string

Type declaration

TTypedCoordinate

TTypedCoordinate<TBrand>: TCoordinate & { [__coordinateType]: TBrand }

Type parameters

  • TBrand

TUniformGrid3DData

TUniformGrid3DData: {} & IUniformGridDataSeries3DOptions

TVersion

TVersion: { version: string }

Type declaration

  • version: string

    The scichart version required to run a JSON definition through {@link chartBuilder.buildChart()} without issues.

    remark

    This is how you can see your current version:

    import { libraryVersion } from "../Core/BuildStamp";

TWasmModuleOptions

TWasmModuleOptions: { canvas: HTMLCanvasElement; instantiateWasm?: (imports: WebAssembly.Imports, successCallback: (instance: Instance, module: Module) => void) => {}; locateFile: (path: string, prefix: string) => string; noInitialRun: boolean; preRun: (Module: any) => void; preinitializedWebGPUDevice?: TWebGPUDevice }

Type declaration

  • canvas: HTMLCanvasElement
  • Optional instantiateWasm?: (imports: WebAssembly.Imports, successCallback: (instance: Instance, module: Module) => void) => {}

    Emscripten hook to supply an already-compiled WebAssembly.Module. When set, Emscripten skips its own fetch+compile and calls this with the imports to bind; the callback receives the instantiated module. Built via buildInstantiateWasmHook from a cached compiled module.

      • (imports: WebAssembly.Imports, successCallback: (instance: Instance, module: Module) => void): {}
      • Parameters

        • imports: WebAssembly.Imports
        • successCallback: (instance: Instance, module: Module) => void
            • (instance: Instance, module: Module): void
            • Parameters

              • instance: Instance
              • module: Module

              Returns void

        Returns {}

  • locateFile: (path: string, prefix: string) => string
      • (path: string, prefix: string): string
      • Parameters

        • path: string
        • prefix: string

        Returns string

  • noInitialRun: boolean
  • preRun: (Module: any) => void
      • (Module: any): void
      • Parameters

        • Module: any

        Returns void

  • Optional preinitializedWebGPUDevice?: TWebGPUDevice

TWasmVariant

TWasmVariant: "simd" | "nosimd" | "64"

The wasm build variant a core (and therefore every module it loads) was built as. "simd" is the default and carries NO filename suffix - scichart-data.wasm - matching the core's own naming (scichart.wasm / scichart-nosimd.wasm / scichart-64.wasm).

TWebAssemblyChart

TWebAssemblyChart<T>: { sciChartSurface: T; wasmContext: TSciChart }

Type parameters

Type declaration

TWebAssemblyChart3D

TWebAssemblyChart3D: { sciChart3DSurface: SciChart3DSurface; wasmContext: TSciChart3D }

Type declaration

TWebGPUDevice

TWebGPUDevice: object

Opaque handle to a WebGPU GPUDevice.

SciChart hands the device to its WebAssembly module as an opaque handle and never calls GPUDevice methods across its public API. Typing it as an opaque handle here avoids leaking a dependency on @webgpu/types into SciChart's published type declarations, so consumers do not have to install @webgpu/types to type-check against SciChart. Cast to the real GPUDevice (from @webgpu/types) if you need to operate on the device directly.

TXySeriesData

TXySeriesData: { xDataId?: number | string; yDataId?: number | string } & IXyDataSeriesOptions & { filter?: TFilterDefinition }

Definition of XY data

TXyTextSeriesData

TXyTextSeriesData: { xDataId?: number | string; yDataId?: number | string } & IXyTextDataSeriesOptions & { filter?: TFilterDefinition }

Definition of XYText data

TXynSeriesData

TXynSeriesData: { xDataId?: number | string; yDataIds: Array<number | string> } & ITableDataSeriesOptions

Definition of XYN data

TXywhCoordinates

TXywhCoordinates: { height: number; width: number; x: number; y: number }

Type declaration

  • height: number
  • width: number
  • x: number
  • y: number

TXyxSeriesData

TXyxSeriesData: { x1DataId?: number | string; xDataId?: number | string; yDataId?: number | string } & IXyxDataSeriesOptions

Definition of XYXY data

TXyxySeriesData

TXyxySeriesData: { x1DataId?: number | string; xDataId?: number | string; y1DataId?: number | string; yDataId?: number | string } & IXyxyDataSeriesOptions

Definition of XYXY data

TXyySeriesData

TXyySeriesData: { xDataId?: number | string; y1DataId?: number | string; yDataId?: number | string } & IXyyDataSeriesOptions & { filter?: TFilterDefinition }

Definition of XYY data

TXyzSeries3DData

TXyzSeries3DData: { xDataId?: number | string; yDataId?: number | string; zDataId?: number | string } & IXyzDataSeries3DOptions

Definition of XYZ 3D data

TXyzSeriesData

TXyzSeriesData: { xDataId?: number | string; yDataId?: number | string; zDataId?: number | string } & IXyzDataSeriesOptions & { filter?: TFilterDefinition }

Definition of XYZ data

TZoomExtentsCallback

TZoomExtentsCallback: (sciChartSurface: SciChartSurface) => boolean

A function to execute when zoomExtents is activated. If this exists and returns false, the builtin behaviour is ignored;

Type declaration

TfilterFunction

TfilterFunction: (index: number, y: number) => number

Type declaration

    • (index: number, y: number): number
    • Parameters

      • index: number
      • y: number

      Returns number

XyNDataSeries

XyNDataSeries: TableDataSeries
deprecated

Renamed to TableDataSeries in v6.

Variables

Const AUTO_COLOR

AUTO_COLOR: "auto" = "auto"

Const AUTO_GRIP_SVG_TEMPLATE_PREFIX

AUTO_GRIP_SVG_TEMPLATE_PREFIX: "__annotationGripSvgTemplate_" = "__annotationGripSvgTemplate_"

Const AXIS_CUBE_MARK_NAME

AXIS_CUBE_MARK_NAME: "AxisCubeDescriptor" = "AxisCubeDescriptor"

Mark name the harness filters on. enableDebug turns on every other mark too. @ignore

Const COMPACT_MIN_DEAD_ENTRIES

COMPACT_MIN_DEAD_ENTRIES: 64 = 64

Compaction policy, part 2 of 2: an absolute floor, so a column holding a handful of distinct values never pays for a compaction that would reclaim a few dozen bytes. A 3-value column that loses 2 of them satisfies the ratio above on its own; this stops that from being enough.

Const COMPACT_MIN_DEAD_TO_LIVE_RATIO

COMPACT_MIN_DEAD_TO_LIVE_RATIO: 1 = 1

Compaction policy, part 1 of 2: the dead entries must outnumber the live ones.

SCRTStringDictionary.Compact allocates four fresh vectors and copies every surviving byte, so it is O(bytes) in the whole dictionary - calling it eagerly on a high-cardinality FIFO column (one dead entry per append, forever) would dominate the cost of appending. Requiring dead > live bounds the wasted bytes to at most half the arena and makes the amortised cost of compaction a constant factor on the bytes that had to be copied anyway.

Const DEFAULT_RADIUS

DEFAULT_RADIUS: 10 = 10

Const DebugForDpi

DebugForDpi: boolean = false

Const FIFTY_DAYS

FIFTY_DAYS: number = 60 * 60 * 24 * 50

Const FIVE_DAYS

FIVE_DAYS: number = 60 * 60 * 24 * 5

Const FIVE_DEG

FIVE_DEG: number = 2 * Math.PI / 360 * 5

Const HEIGHT_SERIES_MAX_TEXTURE_SIZE

HEIGHT_SERIES_MAX_TEXTURE_SIZE: 1024 = 1024

Let IS_WEB_GPU_SUPPORTED

IS_WEB_GPU_SUPPORTED: boolean = IS_WEB_GPU

Const LABEL_FORMAT_ORDER

LABEL_FORMAT_ORDER: ETradeChartLabelFormat[] = [ETradeChartLabelFormat.Nanoseconds,ETradeChartLabelFormat.Microseconds,ETradeChartLabelFormat.MilliSeconds,ETradeChartLabelFormat.Seconds,ETradeChartLabelFormat.Minutes,ETradeChartLabelFormat.Days,ETradeChartLabelFormat.Months]

The order in which label formats should be evaluated (from smallest to largest time ranges). Used to determine which format to use based on the visible time range.

Const MIN_LOG_AXIS_VALUE

MIN_LOG_AXIS_VALUE: 1e-10 = 1e-10

Const MIN_PEN_DEVICE_PIXELS

MIN_PEN_DEVICE_PIXELS: 2 = 2

Minimum width, in device pixels, at which a pen stroke still renders solidly.

Const MIN_SERIES_AREA_SIZE

MIN_SERIES_AREA_SIZE: 10 = 10

Const MISSING_STRING_CODE

MISSING_STRING_CODE: -1 = -1

The code stored for a row whose value is missing or empty. Reads back as "", never as undefined - undefined is reserved by callers for an unknown column, which is a different thing from a known column with a blank cell.

Const MONTHS_SHORT

MONTHS_SHORT: string[] = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]

Const NEVER_REWRITTEN_RE

NEVER_REWRITTEN_RE: RegExp = /^scichart-(data|charting|charting3d)(-nosimd|-64)?\.wasm$/

Variant-aware successor to NEVER_REWRITTEN_WASM (kept above for compatibility): a bounded pattern over exactly the dlopen'd module artifact names, per variant - deliberately NOT a bare "scichart-" prefix test, so a customer file that happens to start "scichart-" is never caught by it. getLocateFile and the test harness's locateFile both use this predicate.

abi is deliberately NOT in this alternation - see NEVER_REWRITTEN_WASM above.

Const NEVER_REWRITTEN_WASM

NEVER_REWRITTEN_WASM: Set<string> = new Set(["scichart-data.wasm", "scichart-charting3d.wasm"])

Wasm filenames a locateFile hook must always resolve by name relative to wherever the core was found, and must NEVER rewrite via the wasmUrl/wasmNoSimdUrl/wasm64Url/NO_SIMD substitutions those hooks otherwise apply to any ".wasm" path - a rewrite there silently hands back the wrong binary. A name list, not a prefix test, so a customer file that happens to start "scichart-" is never caught by it.

The ABI anchor was here until the NEEDED strip: it was load-time linked, so emscripten asked for it through locateFile at startup. strip-dylink-needed.js now empties each core's dylink.0 NEEDED list right after the link, so the anchor is a build input that is never fetched, never served and never shipped - and must not appear in this list, which exists to describe the artifacts a page really does request.

The single exported source of truth: getLocateFile (SciChartSurfaceBase.ts) and the test harness's own locateFile (tests/sciChartInit2DTest.ts) both import this rather than each keeping their own literal copy, so Phase 2/3 add a module name here once, not in two files that can silently diverge.

Const ONE_HOUR

ONE_HOUR: number = 60 * 60

Const SCRT_MODULE_ABI_VERSION

SCRT_MODULE_ABI_VERSION: 1 = 1

The registration-mechanism version the core was built against. Must match every module's declared abi. Mirrors SCRTModuleRegistry.h's SCRT_ADDON_ABI2_VERSION.

NOT derived from the header - this is a hand-maintained literal, unlike the native side of the same check: stampModuleSection.js --from-header reads SCRT_ADDON_ABI2_VERSION straight out of the header when it stamps a module, so a module's own declared abi can never drift from the header. This constant has no equivalent mechanism (nothing in TypeScript can read a C++ #define, and the core exposes no runtime query for its own registration-ABI version - only scrt_query_category, which is per-category, not this). If SCRT_ADDON_ABI2_VERSION ever changes, THIS LINE MUST BE UPDATED BY HAND IN THE SAME CHANGE, or validateModuleBytes compares every module's (correctly-derived) stamp against a stale number here - which fails in the wrong direction: a real mismatch would read as a false "matches" if both sides drifted together, or a false rejection of a genuinely-fine module if only this side is stale. Residual risk - flagged for whoever next bumps SCRT_ADDON_ABI2_VERSION, and for design review to decide whether a build- time codegen step (mirroring --from-header) is worth adding.

Const STATE_KEY

STATE_KEY: "__scrtModuleState" = "__scrtModuleState"

Const STRING_COMPACTION_CHECK_INTERVAL

STRING_COMPACTION_CHECK_INTERVAL: 64 = 64

How many appended rows a DataSeries lets pass before it asks its string columns whether they want to compact. Checking on EVERY append would put two boundary crossings (DeadCount + LiveCount) on a single-point append that is otherwise about two crossings of real work, i.e. roughly double it - and XyTextDataSeries streams through exactly that path.

The value matches COMPACT_MIN_DEAD_ENTRIES in {@link StringColumnStore}, the absolute floor below which that store declines to compact anyway. Deferring the question by that many rows can therefore leave at most that many extra dead entries unreclaimed before the store gets asked - a constant, not a growth term, so the bound the check exists to enforce is unchanged.

Const SURFACE_LAYER_STEP

SURFACE_LAYER_STEP: 1000 = 1000

Const TEN_MICROSECONDS

TEN_MICROSECONDS: 0.00001 = 0.00001

Const TEN_MILLISECONDS

TEN_MILLISECONDS: 0.01 = 0.01

Const TEN_SECONDS

TEN_SECONDS: 10 = 10

Const TEXT_COLUMN

TEXT_COLUMN: "text" = "text"

The name of the single string column an XyTextDataSeries stores its text in. Private to this file: the column is an implementation detail, and textValues / getTextValue remain the public way to reach it.

Const TRANSPARENT

TRANSPARENT: "transparent" = "transparent"

Const XyNDataSeries

XyNDataSeries: TableDataSeries = TableDataSeries
deprecated

Renamed to TableDataSeries in v6. The name no longer described the type: it holds string, date and currency columns as well as numeric Y values. This alias will be removed in a future major version.

Const __brand

__brand: keyof symbol

Const __coordinateType

__coordinateType: keyof symbol

Const buildStamp

buildStamp: "2026-04-29T00:00:00" = "2026-04-29T00:00:00"

Let cachedWebGPUDevice

cachedWebGPUDevice: GPUDevice | undefined

Let cachedWebGPUDevicePromise

cachedWebGPUDevicePromise: Promise<GPUDevice | undefined>

Let cleanupWasmContext

cleanupWasmContext: () => void

Type declaration

    • (): void
    • Returns void

Const compiledModuleCache

compiledModuleCache: Map<string, Promise<Module>> = new Map()

Cache of compiled WebAssembly modules, keyed by resolved URL.

Each entry stores the in-flight or settled Promise so concurrent callers wait on the same compile instead of triggering parallel fetches. Rejected promises are evicted so a transient failure does not poison the cache.

Const constructorMap

constructorMap: Map<string, { func: Function; wasm?: boolean }> = new Map<string,{ wasm?: boolean; func: Function }>()

Const defaultLineSpacing

defaultLineSpacing: 1.1 = 1.1

Const defaultNativeLineSpacing

defaultNativeLineSpacing: 3 = 3

Const defaultSelectionAnnotationSvgString

defaultSelectionAnnotationSvgString: "<svg width="50" height="50" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" style="fill:transparent"></rect></svg>" = `<svg width="50" height="50" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" style="fill:transparent"></rect></svg>`

Const defaultUnSelectedAnnotationSvgString

defaultUnSelectedAnnotationSvgString: "<svg width="50" height="50" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" style="fill:black"></rect></svg>" = `<svg width="50" height="50" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" style="fill:black"></rect></svg>`

Let hasSent

hasSent: boolean = false

Const initializeChartEngine2D

initializeChartEngine2D: initializeChartEngine = initializeChartEngine
deprecated

Since v6 one wasm module serves both 2D and 3D charts, so the 2D suffix is misleading. Use initializeChartEngine.

Const inputMode

inputMode: DataValue = ECoordinateMode.DataValue

Let isStorageAvailable

isStorageAvailable: boolean = undefined

Const labelCacheByTextAndStyle

labelCacheByTextAndStyle: Map<string, LabelInfo> = new Map<string, LabelInfo>()

Let lastLoggedWasm64

lastLoggedWasm64: boolean | undefined

Let lastPrune

lastPrune: number = 0

Let lastStyleId

lastStyleId: number = 0

Const libraryVersion

libraryVersion: "6.0.0" = "6.0.0"

Const licenseManager2dState

licenseManager2dState: LicenseManager2dState = new LicenseManager2dState()

Const loaderCss

loaderCss: ".scichart_loader {display: inline-block;position: relative;width: 80px;height: 80px;top: 50%;transform: translateY(-50%);}.scichart_loader div {animation: scichart_loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;transform-origin: 40px 40px;}.scichart_loader div span {display: block;position: absolute;width: 7px;height: 7px;border-radius: 50%;margin: -4px 0 0 -4px;}.scichart_loader div:nth-child(1) {animation-delay: -0.036s;}.scichart_loader div:nth-child(1) span {top: 63px;left: 63px;}.scichart_loader div:nth-child(2) {animation-delay: -0.072s;}.scichart_loader div:nth-child(2) span {top: 68px;left: 56px;}.scichart_loader div:nth-child(3) {animation-delay: -0.108s;}.scichart_loader div:nth-child(3) span {top: 71px;left: 48px;}.scichart_loader div:nth-child(4) {animation-delay: -0.144s;}.scichart_loader div:nth-child(4) span {top: 72px;left: 40px;}.scichart_loader div:nth-child(5) {animation-delay: -0.18s;}.scichart_loader div:nth-child(5) span {top: 71px;left: 32px;}.scichart_loader div:nth-child(6) {animation-delay: -0.216s;}.scichart_loader div:nth-child(6) span {top: 68px;left: 24px;}.scichart_loader div:nth-child(7) {animation-delay: -0.252s;}.scichart_loader div:nth-child(7) span {top: 63px;left: 17px;}.scichart_loader div:nth-child(8) {animation-delay: -0.288s;}.scichart_loader div:nth-child(8) span {top: 56px;left: 12px;}@keyframes scichart_loader {0% {transform: rotate(0deg);}100% {transform: rotate(360deg);}}" = `.scichart_loader {display: inline-block;position: relative;width: 80px;height: 80px;top: 50%;transform: translateY(-50%);}.scichart_loader div {animation: scichart_loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;transform-origin: 40px 40px;}.scichart_loader div span {display: block;position: absolute;width: 7px;height: 7px;border-radius: 50%;margin: -4px 0 0 -4px;}.scichart_loader div:nth-child(1) {animation-delay: -0.036s;}.scichart_loader div:nth-child(1) span {top: 63px;left: 63px;}.scichart_loader div:nth-child(2) {animation-delay: -0.072s;}.scichart_loader div:nth-child(2) span {top: 68px;left: 56px;}.scichart_loader div:nth-child(3) {animation-delay: -0.108s;}.scichart_loader div:nth-child(3) span {top: 71px;left: 48px;}.scichart_loader div:nth-child(4) {animation-delay: -0.144s;}.scichart_loader div:nth-child(4) span {top: 72px;left: 40px;}.scichart_loader div:nth-child(5) {animation-delay: -0.18s;}.scichart_loader div:nth-child(5) span {top: 71px;left: 32px;}.scichart_loader div:nth-child(6) {animation-delay: -0.216s;}.scichart_loader div:nth-child(6) span {top: 68px;left: 24px;}.scichart_loader div:nth-child(7) {animation-delay: -0.252s;}.scichart_loader div:nth-child(7) span {top: 63px;left: 17px;}.scichart_loader div:nth-child(8) {animation-delay: -0.288s;}.scichart_loader div:nth-child(8) span {top: 56px;left: 12px;}@keyframes scichart_loader {0% {transform: rotate(0deg);}100% {transform: rotate(360deg);}}`

Const mainLightModeToNative

mainLightModeToNative: Map<EMainLightMode, number> = new Map<EMainLightMode, number>([[EMainLightMode.CameraForward, 0],[EMainLightMode.GlobalSpace, 1],[EMainLightMode.None, 2]])

Let maxSize

maxSize: number = 200

Let minAge

minAge: number = 200

Const namespace

namespace: "http://www.w3.org/2000/svg" = "http://www.w3.org/2000/svg"

Const nativeToMainLightMode

nativeToMainLightMode: Map<number, EMainLightMode> = new Map<number, EMainLightMode>([[0, EMainLightMode.CameraForward],[1, EMainLightMode.GlobalSpace],[2, EMainLightMode.None]])

Const objectCache

objectCache: Map<string, TNativeCache> = new Map<string, TNativeCache>()

Const precision

precision: 100 = 100

Const quarter

quarter: number = Math.PI / 2

Let rect

rect: SCRTRectVertex

Let result

result: boolean

Const sciChartConfig

sciChartConfig: TSciChartConfig = defaultSciChartConfig

The mutable 2D wasm config singleton. Aliases defaultSciChartConfig so the static SciChartSurface.configure/loadWasmFromCDN/loadWasmLocal methods can mutate it in place.

Const sessionTime

sessionTime: number = 60 * 60 * 1000

Const strategyKeys

strategyKeys: ["LeftOuter", "RightOuter", "TopOuter", "BottomOuter", "LeftInner", "RightInner", "TopInner", "BottomInner"] = ["LeftOuter","RightOuter","TopOuter","BottomOuter","LeftInner","RightInner","TopInner","BottomInner"] as const

The layout-manager strategy slots resolved by the old LayoutManager constructor.

Const styleCache

styleCache: Record<string, { style: TCachedLabelStyle; uses: number }>

Const superScript_map

superScript_map: string[] = ["\u2070","\u00B9","\u00B2","\u00B3","\u2074","\u2075","\u2076","\u2077","\u2078","\u2079"]

Const twoPI

twoPI: number = 2 * Math.PI

Let webGPUContextPatched

webGPUContextPatched: boolean = false

Functions

addCoord

  • addCoord<T>(a: T, b: T): T
  • Type parameters

    Parameters

    • a: T
    • b: T

    Returns T

addDestination

  • Registers a destination under the given kind. @ignore

    Parameters

    Returns void

Const adjustTooltipPosition

  • Relocate the tooltip so that it is always within the seriesViewRect

    Parameters

    Returns void

Const adjustTooltipPosition3D

  • Relocate the tooltip so that it is always within the seriesViewRect

    Parameters

    Returns void

animateAny

  • animateAny<T>(durationMs: number, from: T, to: T, onAnimate: (intermediateValue: T) => void, interpolate: (start: T, end: T, interpolationFactor: number) => T, onCompleted: () => void, easingFn: TEasingFn): AnimationToken
  • deprecated

    Instead create an GenericAnimation and pass it to sciChartSurface.addAnimation

    Type parameters

    • T

    Parameters

    • durationMs: number
    • from: T
    • to: T
    • onAnimate: (intermediateValue: T) => void
        • (intermediateValue: T): void
        • Parameters

          • intermediateValue: T

          Returns void

    • interpolate: (start: T, end: T, interpolationFactor: number) => T
        • (start: T, end: T, interpolationFactor: number): T
        • Parameters

          • start: T
          • end: T
          • interpolationFactor: number

          Returns T

    • onCompleted: () => void
        • (): void
        • Returns void

    • easingFn: TEasingFn

    Returns AnimationToken

Const animationUpdate

appendRangeFifo

  • appendRangeFifo(source: any[], target: any[], fifoCapacity: number, startIndex: number): void
  • Helper function to append an array to a target array, treating the target as a circular buffer

    BUG: TWO BRANCHES OF THIS FUNCTION ARE BROKEN, AND BOTH ARE REACHABLE ON A RELEASED PATH. Recorded rather than fixed - see the two BUG markers in the body below. Fixing them changes behaviour on a code path shared by every fifo series, so it needs its own task and its own test matrix over both branches; do not fix one in passing.

    Reach: the live caller is BaseDataSeries.appendMetadataRange (BaseDataSeries.ts:1603), so this backs POINT METADATA on every fifo series that carries it - metadata silently absent after an over-capacity bulk append, and metadata paired with the wrong point in the other branch. It is also public API (src/index.ts:1559), so a consumer can call it directly. XyTextDataSeries used to be the other caller and no longer is; nothing else in src/ calls it.

    tests/utils/array.test.ts holds two it.skip cases carrying the CORRECT expectations for both faults. Un-skip them when this is fixed and they should pass as written.

    Parameters

    • source: any[]
    • target: any[]
    • fifoCapacity: number
    • startIndex: number

    Returns void

applyOpacityToHtmlColor

  • applyOpacityToHtmlColor(color: string, opacity: number): string
  • Applies the given opacity to an html color code or name, returning an html color code.

    Parameters

    • color: string
    • opacity: number

    Returns string

applySciChartBackground

Const areArraysEqual

  • areArraysEqual(leftArray: number[], rightArray: number[]): boolean
  • Parameters

    • leftArray: number[]
    • rightArray: number[]

    Returns boolean

arrayRemove

  • arrayRemove<T>(array: T[], item: T): T[]
  • Type parameters

    • T

    Parameters

    • array: T[]
    • item: T

    Returns T[]

assertParseValue

  • assertParseValue(value: number): number
  • Parameters

    • value: number

    Returns number

Const base64Id

  • base64Id(maxLength?: number): string
  • Generate random base64 id string. The default length is 22 which is 132-bits so almost the same as a GUID but as base64

    Parameters

    • Default value maxLength: number = 22

      Optional value to specify the length of the id to be generated, defaults to 22

    Returns string

Const bezierTransform

  • bezierTransform(oldX: Float64Array, oldY: Float64Array, iStart: number, iEnd: number, interpolationPoints: number, curvature: number, y1Values?: Float64Array): { newindexes: number[]; newxValues: number[]; newyValues: number[] }
  • Parameters

    • oldX: Float64Array
    • oldY: Float64Array
    • iStart: number
    • iEnd: number
    • interpolationPoints: number
    • curvature: number
    • Optional y1Values: Float64Array

    Returns { newindexes: number[]; newxValues: number[]; newyValues: number[] }

    • newindexes: number[]
    • newxValues: number[]
    • newyValues: number[]

Const build2DChart

Const build2DPolarChart

  • build2DPolarChart(divElementId: string | HTMLDivElement, definition: ISciChart2DDefinition | string): Promise<{ sciChartSurface: SciChartPolarSurface; wasmContext: { AxisPlaneVisibilityMode: { AxisPlaneVisibilityAuto: AxisPlaneVisibilityMode; AxisPlaneVisibilityNegativeSide: AxisPlaneVisibilityMode; AxisPlaneVisibilityPositiveSide: AxisPlaneVisibilityMode }; CategoryCoordinateCalculatorDouble: {}; DoubleVector: {}; FlippedCategoryCoordinateCalculatorDouble: {}; FlippedIndexCoordinateCalculator: {}; FlippedLinearCoordinateCalculatorDouble: {}; FlippedLinearCoordinateCalculatorSingle: {}; FlippedLogarithmicCoordinateCalculator: {}; FloatVector: {}; GetMallinfoStats: () => MallinfoStats; IndexCalculator: {}; IndexCalculatorParams: {}; IndexCoordinateCalculator: {}; IntVector: {}; LinearCoordinateCalculatorDouble: {}; LinearCoordinateCalculatorSingle: {}; LogarithmicCoordinateCalculator: {}; Math3D: { CenterOfVectors: (a: TSRVector3, b: TSRVector3) => TSRVector3; DegToRad: (degrees: number) => number; DirectionToPitchAndYaw: (direction: TSRVector3) => PitchYaw; IsZero: (value: number) => boolean; PitchAndYawToDirection: (pitch: number, yaw: number) => TSRVector3; RadToDeg: (radians: number) => number; RotateAroundPoint: (originPoint: TSRVector3, pointToRotate: TSRVector3, rotationAngleDegrees: number, rotationAxis: TSRVector3) => TSRVector3 }; NiceDoubleScale: { CalculateTickSpacing: (min: number, max: number, minorsPerMajor: number, maxTicks: number) => SCRTDoubleRange; NiceNum: (range: number, round: boolean) => number }; NiceLogScale: { CalculateLowPrecisionTickSpacing: (min: number, max: number, logBase: number, minorsPerMajor: number, maxTicks: number) => SCRTDoubleRange; CalculateTickSpacing: (min: number, max: number, logBase: number, minorsPerMajor: number, maxTicks: number) => SCRTDoubleRange }; NumberUtil: { Constrain: (value: number, lowerBound: number, upperBound: number) => number; FindIndex: (inputValues: SCRTDoubleVector, value: number, searchMode: SCRTFindIndexSearchMode, dataIsSortedAscending: boolean) => number; IsDivisibleBy: (value: number, divisor: number) => boolean; IsPowerOf: (value: number, power: number, logBase: number) => boolean; LinearInterpolateI: (from: number, to: number, ratio: number) => number; Log: (value: number, logBase: number) => number; MinMax: (inputValues: SCRTDoubleVector, containsNaN: boolean) => SCRTDoubleRange; MinMaxPair: (inputValues1: SCRTDoubleVector, inputValues2: SCRTDoubleVector, mult: number, multInv: number, containsNaN: boolean) => SCRTDoubleRange; MinMaxPairWithIndex: (inputValues1: SCRTDoubleVector, inputValues2: SCRTDoubleVector, mult: number, multInv: number, startIndex: number, count: number, containsNaN: boolean) => SCRTDoubleRange; MinMaxWithIndex: (inputValues: SCRTDoubleVector, startIndex: number, count: number, containsNaN: boolean) => SCRTDoubleRange; RoundDown: (value: number, nearest: number) => number; RoundDownPower: (value: number, power: number, logBase: number) => number; RoundToDigits: (value: number, decimals: number) => number; RoundUp: (value: number, nearest: number) => number; RoundUpPower: (value: number, power: number, logBase: number) => number }; ResamplingArgs: {}; ResamplingData: { CategoryData: ResamplingData; LinearData: ResamplingData; UnevenlySpacedData: ResamplingData; UnsortedData: ResamplingData }; ResamplingMode: { Auto: ResamplingMode; Max: ResamplingMode; Mid: ResamplingMode; Min: ResamplingMode; MinMax: ResamplingMode; MinOrMax: ResamplingMode; None: ResamplingMode }; SCRT3DGetScreenHeight: () => number; SCRT3DGetScreenWidth: () => number; SCRT3DSetClearColor: (reg: number, green: number, blue: number, alpha: number) => void; SCRT3DSetWaterMarkProperties: (properties: SCRTWaterMarkProperties) => void; SCRTAnimationHelperFade: (yValues: SCRTDoubleVector, progress: number, ysValues: SCRTDoubleVector) => number; SCRTAnimationHelperScale: (yValues: SCRTDoubleVector, zeroLine: number, progress: number, ysValues: SCRTDoubleVector) => number; SCRTAnimationHelperSweep: (yValues: SCRTDoubleVector, progress: number, ysValues: SCRTDoubleVector) => number; SCRTAnimationHelperWave: (yValues: SCRTDoubleVector, durationFraction: number, zeroLine: number, progress: number, ysValues: SCRTDoubleVector) => number; SCRTArcParams: {}; SCRTArcVertex: {}; SCRTArgsortDouble: (keys: SCRTDoubleVector, order: IntVector, descending: boolean) => void; SCRTArgsortDoubleByOrder: (keys: SCRTDoubleVector, order: IntVector, descending: boolean) => void; SCRTArgsortIntByOrder: (keys: IntVector, order: IntVector, descending: boolean) => void; SCRTAxisCubeDescriptor: {}; SCRTAxisCubeEntity: {} & { implement: (wrapper: SCRTAxisCubeEntityWrapper) => SCRTAxisCubeEntity }; SCRTAxisDescriptor: {}; SCRTAxisRange: {}; SCRTBandDrawingParams: {}; SCRTBandSeriesDrawingProvider: {}; SCRTBoxPlotDataSeries2D: {}; SCRTBrush: {}; SCRTBubbleSeriesDrawingProvider: {}; SCRTCADModelSceneEntity: {}; SCRTCandleType: { CandleStick: SCRTCandleType; OHLC: SCRTCandleType }; SCRTCandlestickSeriesDrawingProvider: {}; SCRTColorTextureVertex: {} & {}; SCRTColorVertex: {} & {}; SCRTColumnDrawingParams: {}; SCRTColumnSeriesDrawingProvider: {}; SCRTColumnXMode: { ColumnXMode_Mid: SCRTColumnXMode; ColumnXMode_MidX2Width: SCRTColumnXMode; ColumnXMode_Start: SCRTColumnXMode; ColumnXMode_StartX2End: SCRTColumnXMode; ColumnXMode_StartX2Width: SCRTColumnXMode; ColumnXMode_Width: SCRTColumnXMode }; SCRTColumnYMode: { ColumnYMode_CenterHeight: SCRTColumnYMode; ColumnYMode_TopBottom: SCRTColumnYMode; ColumnYMode_TopHeight: SCRTColumnYMode }; SCRTColumnsSceneEntity: {} & { implement: (wrapper: SCRTColumnsSceneEntityWrapper) => SCRTColumnsSceneEntity }; SCRTColumnsSceneEntityParams: {}; SCRTCompactOrderByMask: (order: IntVector, mask: IntVector, result: IntVector) => void; SCRTContourParams: {}; SCRTCopyToDestinationInterface: { implement: (wrapper: SCRTCopyToDestinationInterfaceWrapper) => SCRTCopyToDestinationInterface }; SCRTCreateBitmapTexture: (width: number, height: number, textureFormat: eTSRTextureFormat) => TSRTexture; SCRTCreatePalette: (colors: IntVector) => SCRTPalette; SCRTCredentials: { ApplyLicenseResponse: (response: string) => number; ApplySimpleResponse: (token: string) => number; Dump: () => string; GenerateClientNonce: () => string; GetAllowDebugging: () => boolean; GetBuildStamp: () => string; GetDeveloperCount: () => number; GetEncrypted: (stringToEncrypt: string) => string; GetEncryptedOrderId: () => string; GetExpiryDate: () => string; GetLicenseChallenge: () => string; GetLicenseDaysRemaining: () => number; GetLicenseErrors: () => string; GetLicenseType: () => SCRTLicenseType; GetOrderId: () => string; GetProductCode: () => string; HasFeature: (feature: string) => SCRTLicenseType; Hash256Encode64: (stringToHash: string) => string; IsRoundTripValidation: () => boolean; IsSimpleValidation: () => boolean; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => boolean }; SCRTDataManagerGetRefCount: (dataSeries: SCRTDataSeries2D) => number; SCRTDataManagerGetSeriesCount: () => number; SCRTDataManagerRegister: (dataSeries: SCRTDataSeries2D) => void; SCRTDataManagerRemove: (dataSeries: SCRTDataSeries2D) => void; SCRTDictTextParams: {}; SCRTDoLeakCheck: () => void; SCRTDoubleArraysXyResampleOutput: {}; SCRTDoubleRange: {} & {}; SCRTDoubleResampler: {}; SCRTDoubleResamplerMergeIndicesParams: {}; SCRTDoubleVector: {} & {}; SCRTDrawArcsParams: {}; SCRTDrawLinesParams: {}; SCRTDrawPrimitivesParams: {}; SCRTDrawRectsParams: {}; SCRTDrawStringFromDict: (font: SCRTFont, dict: SCRTStringDictionary, params: SCRTDictTextParams) => void; SCRTDrawingParams: {}; SCRTDynamicDataSeries2D: {}; SCRTFifoVector: {}; SCRTFileLoadCallbackInterface: { implement: (wrapper: SCRTFileLoadCallbackInterfaceWrapper) => SCRTFileLoadCallbackInterface }; SCRTFillTextureAbgr: (texture: TSRTexture, width: number, height: number, pixels: IntVector) => void; SCRTFillTextureFloat32: (texture: TSRTexture, width: number, height: number, pixels: SCRTFloatVector) => TSRVector4; SCRTFillVectorSequential: (input: SCRTDoubleVector, count: number) => void; SCRTFilterMaskAnd: (mask: IntVector, acc: IntVector) => void; SCRTFilterOneOfDouble: (keys: SCRTDoubleVector, values: SCRTDoubleVector, mask: IntVector, missingPasses: boolean) => void; SCRTFilterOneOfInt: (keys: IntVector, values: IntVector, mask: IntVector, missingPasses: boolean) => void; SCRTFilterRangeDouble: (keys: SCRTDoubleVector, mask: IntVector, min: number, max: number, missingPasses: boolean) => void; SCRTFilterSet: {}; SCRTFindIndexSearchMode: { Exact: SCRTFindIndexSearchMode; Nearest: SCRTFindIndexSearchMode; RoundDown: SCRTFindIndexSearchMode; RoundUp: SCRTFindIndexSearchMode }; SCRTFloatVector: {}; SCRTFontKey: {}; SCRTFrameRenderer2D: {}; SCRTFrameRenderer3D: {}; SCRTGetCommandBuffer: () => TSRCommandBuffer; SCRTGetGlobalRenderLoopManager: () => SCRTRenderLoopManager; SCRTGetIsSelectionBufferEnabled: () => boolean; SCRTGetMainRenderContext2D: () => SCRTRenderContext; SCRTGetScreenHeight: () => number; SCRTGetScreenWidth: () => number; SCRTGetSelectionInfo: (xCoord: number, yCoord: number) => SCRTSelectionInfo; SCRTGetTemplateMesh: (meshId: eSCRTMesh) => TSRIndexedMesh; SCRTGetTemplateTexture: (textureId: eSCRTTexture) => TSRTexture; SCRTGlowEffect: {}; SCRTGridDrawingProperties: {}; SCRTGridMeshEntity: {} & { implement: (wrapper: SCRTGridMeshEntityWrapper) => SCRTGridMeshEntity }; SCRTHeatmapDrawingParams: {}; SCRTHeatmapSeriesDrawingProvider: {}; SCRTHeightColorSettings: {}; SCRTHeightSeriesDrawingProvider: {}; SCRTHeightSeriesParams: {}; SCRTHitTestHelper: { GetNearestPolarXyPoint: (xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xHitCoord: number, yHitCoord: number, xDirectionOnly: boolean, isSorted: boolean) => SCRTDoubleRange; GetNearestTriangle: (isPolygon: boolean, polygonVertices: number, xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xHitCoord: number, yHitCoord: number) => SCRTDoubleRange; GetNearestXyPoint: (xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, isSorted: boolean, xHitCoord: number, yHitCoord: number, hitTestRadius: number) => SCRTDoubleRange }; SCRTImmediateLitMeshDrawingParams: {}; SCRTImmediateLitMeshDrawingProvider: {}; SCRTInitEngine2D: () => void; SCRTIntFifoVector: {}; SCRTIntVector: {} & {}; SCRTInterpolatePolarBand: (inParams: SCRTPolarInterpolationParams, outParams: SCRTPolarInterpolationParams, radialCoordinateCalculator: CoordinateCalculator, angularRange: number, totalPoints: number, closeNaNGaps: boolean) => void; SCRTInterpolatePolarLine: (inParams: SCRTPolarInterpolationParams, outParams: SCRTPolarInterpolationParams, radialCoordinateCalculator: CoordinateCalculator, angularRange: number, totalPoints: number, closeNaNGaps: boolean) => void; SCRTLicenseType: { LICENSE_TYPE_COMMUNITY: SCRTLicenseType; LICENSE_TYPE_FULL: SCRTLicenseType; LICENSE_TYPE_FULL_EXPIRED: SCRTLicenseType; LICENSE_TYPE_INVALID_DEVELOPER_LICENSE: SCRTLicenseType; LICENSE_TYPE_INVALID_LICENSE: SCRTLicenseType; LICENSE_TYPE_NO_LICENSE: SCRTLicenseType; LICENSE_TYPE_REQUIRES_VALIDATION: SCRTLicenseType; LICENSE_TYPE_SUBSCRIPTION_EXPIRED: SCRTLicenseType; LICENSE_TYPE_TRIAL: SCRTLicenseType; LICENSE_TYPE_TRIAL_EXPIRED: SCRTLicenseType }; SCRTLineDrawingParams: {}; SCRTLineGapMode: { CloseGaps: SCRTLineGapMode; Default: SCRTLineGapMode; DrawGaps: SCRTLineGapMode }; SCRTLineSegmentDrawingProvider: {}; SCRTLineSeriesDrawingProvider: {}; SCRTLineType: { Digital: SCRTLineType; List: SCRTLineType; Nan: SCRTLineType; Strip: SCRTLineType }; SCRTLinesMesh: {}; SCRTListModuleRegistry: () => string; SCRTLitMeshVertex: {}; SCRTMarkOneOfInt: (keys: IntVector, values: IntVector, acc: IntVector) => void; SCRTMeasureStringFromDict: (font: SCRTFont, dict: SCRTStringDictionary, code: number, bounds: TSRTextBounds, lineSpacing: number) => void; SCRTMemCopy: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMemMove: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMesh: {}; SCRTMountainDrawingParams: {}; SCRTMountainSeriesDrawingProvider: {}; SCRTMultiplyColorVectorOpacity: (originalVector: IntVector, resultVector: IntVector, factor: number) => void; SCRTNodeOverrideParams: {}; SCRTOhlcDataSeries2D: {}; SCRTOhlcDrawingParams: {}; SCRTPalette: {}; SCRTPen: {}; SCRTPenDescriptor: {}; SCRTPoint3DSceneEntity: {} & { implement: (wrapper: SCRTPoint3DSceneEntityWrapper) => SCRTPoint3DSceneEntity }; SCRTPoint3DSceneEntityParams: {}; SCRTPointDrawingParams: {}; SCRTPointLine3DSceneEntity: {} & { implement: (wrapper: SCRTPointLine3DSceneEntityWrapper) => SCRTPointLine3DSceneEntity }; SCRTPointLines3DSceneEntityParams: {}; SCRTPolarBandDrawingParams: {}; SCRTPolarBandSeriesDrawingProvider: {}; SCRTPolarColumnDrawingParams: {}; SCRTPolarColumnSeriesDrawingProvider: {}; SCRTPolarCoordinateTransform: {}; SCRTPolarInterpolationParams: {}; SCRTPolarLineDrawingParams: {}; SCRTPolarLineSeriesDrawingProvider: {}; SCRTPreloadSlugFont: (faceName: string) => void; SCRTPrimitivesEffect: { BlurredTriangles: SCRTPrimitivesEffect; Contours: SCRTPrimitivesEffect; Heatmap: SCRTPrimitivesEffect; Triangles: SCRTPrimitivesEffect }; SCRTRectVertex: {} & {}; SCRTRectangleDrawingParams: {}; SCRTRectangleSeriesDrawingProvider: {}; SCRTRegisterFile: (fileName: string, url: string, callback: SCRTFileLoadCallbackInterface) => void; SCRTRenderLoopManager: { implement: (wrapper: SCRTRenderLoopManagerWrapper) => SCRTRenderLoopManager }; SCRTScatterSeriesDrawingProvider: {}; SCRTSceneEntity: { implement: (wrapper: SCRTSceneEntityWrapper) => SCRTSceneEntity }; SCRTSceneHost3D: {}; SCRTSceneHostCount: () => number; SCRTSceneHostOnEngineRestartAll: () => void; SCRTSceneHostRegister: (host: SCRTSceneHost3D) => void; SCRTSceneHostUnregister: (host: SCRTSceneHost3D) => void; SCRTSceneWorld: {}; SCRTSelectionInfo: {}; SCRTSeriesEffectType: { Glow: SCRTSeriesEffectType }; SCRTSetActiveTexture: (texture: TSRTexture) => void; SCRTSetActiveWorld: (scrtSceneWorld: SCRTSceneWorld) => void; SCRTSetClearAlphaParams: (enabled: boolean, alpha: number) => void; SCRTSetGlobalCopyToDestinationInterface: (_pCopyToDestinationInterface: SCRTCopyToDestinationInterface) => void; SCRTSetGlobalRenderLoopManager: (_pRenderLoopManager: SCRTRenderLoopManager) => void; SCRTSetIsSelectionBufferEnabled: (isEnabled: boolean) => void; SCRTSetMainWindowSize: (width: number, height: number) => void; SCRTSetTextureLinearSamplerEnabled: (texture: TSRTexture, enabled: boolean) => void; SCRTSetWaterMarkProperties: (properties: SCRTWaterMarkProperties) => void; SCRTShadowEffect: {}; SCRTShutdownEngine2D: () => void; SCRTSmearSeriesDrawingProvider: {}; SCRTSmearSeriesParams: {}; SCRTSolidBrush: {}; SCRTSplineHelperCubicSpline: (xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xsValues: SCRTDoubleVector, ysValues: SCRTDoubleVector, initialSize: number, interpolationPoints: number, containsNAN: boolean) => void; SCRTSplineHelperCubicSplineWithGaps: (xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xsValues: SCRTDoubleVector, ysValues: SCRTDoubleVector, initialSize: number, interpolationPoints: number) => void; SCRTSpriteType: { FixedSize: SCRTSpriteType; Normal: SCRTSpriteType }; SCRTStackedColumnDrawingParams: {}; SCRTStackedColumnSeriesDrawingProvider: {}; SCRTStringDictionary: {}; SCRTSurfaceDestination: { implement: (wrapper: SCRTSurfaceDestinationWrapper) => SCRTSurfaceDestination }; SCRTTextStyle: {}; SCRTTextureBrush: {}; SCRTTextureBrushSamplerMode: { Linear: SCRTTextureBrushSamplerMode; Point: SCRTTextureBrushSamplerMode; Wrap: SCRTTextureBrushSamplerMode }; SCRTTickStyle: {}; SCRTTriangleDrawMode: { List: SCRTTriangleDrawMode; Polygon: SCRTTriangleDrawMode; Strip: SCRTTriangleDrawMode }; SCRTTriangleDrawingParams: {}; SCRTTriangleSeriesDrawingProvider: {}; SCRTUintVector: {}; SCRTWaterMarkProperties: {}; SCRTXvaluesProvider: {}; SCRTXyDataSeries2D: {}; SCRTXyyDataSeries2D: {}; SCRTXyzDataSeries2D: {}; SCRTXyzGizmoEntity: { implement: (wrapper: SCRTXyzGizmoEntityWrapper) => SCRTXyzGizmoEntity }; StringVector: {}; TSRCamera: {}; TSRRequestCanvasDraw: (canvasID: string) => void; TSRRequestDraw: () => void; TSRRequestExit: () => void; TSRSetDrawRequestsEnabled: (enabled: boolean) => void; TSRTextBounds: {}; TSRTextLineBounds: {}; TSRVector2: {} & {}; TSRVector3: {} & {}; TSRVector4: {} & {}; UIntVector: {}; VectorArcVertex: {}; VectorColorTextureVertex: {}; VectorColorVertex: {}; VectorLitMeshVertex: {}; VectorRectVertex: {}; WStringVector: {}; canvas: HTMLCanvasElement; canvas2D: HTMLCanvasElement; eAxisPlaneDrawLabelsMode: { AxisPlaneDrawLabelsBoth: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsHidden: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsLocalX: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsLocalY: eAxisPlaneDrawLabelsMode }; eAxisPlaneDrawTitlesMode: { AxisPlaneDrawTitlesBoth: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesHidden: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesLocalX: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesLocalY: eAxisPlaneDrawTitlesMode }; eSCRTAxisTitleRotationMode: { AxisTitleRotationAuto: eSCRTAxisTitleRotationMode; AxisTitleRotationHorizontal: eSCRTAxisTitleRotationMode; AxisTitleRotationVertical: eSCRTAxisTitleRotationMode }; eSCRTBrushMappingMode: { PerPrimitive: eSCRTBrushMappingMode; PerScreen: eSCRTBrushMappingMode }; eSCRTGridDrawingFeatures: { SCRT_GRID_DRAWING_FEATURES_CONTOURS: eSCRTGridDrawingFeatures; SCRT_GRID_DRAWING_FEATURES_SKIRT: eSCRTGridDrawingFeatures; SCRT_GRID_DRAWING_FEATURES_SOLID: eSCRTGridDrawingFeatures; SCRT_GRID_DRAWING_FEATURES_WIREFRAME: eSCRTGridDrawingFeatures }; eSCRTGridMeshResolution: { SCRT_GRID_MESH_RES_X1: eSCRTGridMeshResolution; SCRT_GRID_MESH_RES_X2: eSCRTGridMeshResolution; SCRT_GRID_MESH_RES_X4: eSCRTGridMeshResolution }; eSCRTMesh: { SCRT_MESH_CUBE: eSCRTMesh; SCRT_MESH_CYLINDER: eSCRTMesh; SCRT_MESH_PYRAMID: eSCRTMesh; SCRT_MESH_SPHERE: eSCRTMesh }; eSCRTTexture: { SCRT_TEXTURE_CIRCLE: eSCRTTexture; SCRT_TEXTURE_SOLIDWHITE: eSCRTTexture; SCRT_TEXTURE_SQUARE: eSCRTTexture; SCRT_TEXTURE_TRIANGLE: eSCRTTexture }; eSCRTTickLabelOrientationMode: { TickLabelOrientationAuto: eSCRTTickLabelOrientationMode; TickLabelOrientationHorizontal: eSCRTTickLabelOrientationMode }; eSCRT_POINT_MARKER_TYPE: { SCRT_POINT_MARKER_TYPE_INSTANCED_MESH: eSCRT_POINT_MARKER_TYPE; SCRT_POINT_MARKER_TYPE_PIXEL: eSCRT_POINT_MARKER_TYPE; SCRT_POINT_MARKER_TYPE_TEXTURED_QUAD: eSCRT_POINT_MARKER_TYPE }; eTSRCameraProjectionMode: { CAMERA_PROJECTIONMODE_ORTHOGONAL: eTSRCameraProjectionMode; CAMERA_PROJECTIONMODE_PERSPECTIVE: eTSRCameraProjectionMode }; eTSRRenderMode: { TSR_RENDERMODE_LINELIST: eTSRRenderMode; TSR_RENDERMODE_LINESTRIP: eTSRRenderMode; TSR_RENDERMODE_POINTS: eTSRRenderMode; TSR_RENDERMODE_TRIANGLEFAN: eTSRRenderMode; TSR_RENDERMODE_TRIANGLES: eTSRRenderMode; TSR_RENDERMODE_TRIANGLESTRIP: eTSRRenderMode }; eTSRTextAlignMode: { Center: eTSRTextAlignMode; Left: eTSRTextAlignMode; Right: eTSRTextAlignMode }; eTSRTextureFormat: { TSR_TEXTUREFORMAT_A8B8G8R8: eTSRTextureFormat; TSR_TEXTUREFORMAT_A8R8G8B8: eTSRTextureFormat; TSR_TEXTUREFORMAT_R32F: eTSRTextureFormat } } }>
  • build2DPolarChart(divElementId: string | HTMLDivElement, definition: ISciChart2DDefinition | string): Promise<TWebAssemblyChart<SciChartPolarSurface>>
  • Construct a chart with SciChartPolarSurface using a ISciChart2DDefinition which can be pure data. Construct a chart with SciChartPolarSurface using a ISciChart2DDefinition which can be pure data.

    remarks

    This method is async and must be awaited

    remarks

    This method is async and must be awaited

    Parameters

    Returns Promise<{ sciChartSurface: SciChartPolarSurface; wasmContext: { AxisPlaneVisibilityMode: { AxisPlaneVisibilityAuto: AxisPlaneVisibilityMode; AxisPlaneVisibilityNegativeSide: AxisPlaneVisibilityMode; AxisPlaneVisibilityPositiveSide: AxisPlaneVisibilityMode }; CategoryCoordinateCalculatorDouble: {}; DoubleVector: {}; FlippedCategoryCoordinateCalculatorDouble: {}; FlippedIndexCoordinateCalculator: {}; FlippedLinearCoordinateCalculatorDouble: {}; FlippedLinearCoordinateCalculatorSingle: {}; FlippedLogarithmicCoordinateCalculator: {}; FloatVector: {}; GetMallinfoStats: () => MallinfoStats; IndexCalculator: {}; IndexCalculatorParams: {}; IndexCoordinateCalculator: {}; IntVector: {}; LinearCoordinateCalculatorDouble: {}; LinearCoordinateCalculatorSingle: {}; LogarithmicCoordinateCalculator: {}; Math3D: { CenterOfVectors: (a: TSRVector3, b: TSRVector3) => TSRVector3; DegToRad: (degrees: number) => number; DirectionToPitchAndYaw: (direction: TSRVector3) => PitchYaw; IsZero: (value: number) => boolean; PitchAndYawToDirection: (pitch: number, yaw: number) => TSRVector3; RadToDeg: (radians: number) => number; RotateAroundPoint: (originPoint: TSRVector3, pointToRotate: TSRVector3, rotationAngleDegrees: number, rotationAxis: TSRVector3) => TSRVector3 }; NiceDoubleScale: { CalculateTickSpacing: (min: number, max: number, minorsPerMajor: number, maxTicks: number) => SCRTDoubleRange; NiceNum: (range: number, round: boolean) => number }; NiceLogScale: { CalculateLowPrecisionTickSpacing: (min: number, max: number, logBase: number, minorsPerMajor: number, maxTicks: number) => SCRTDoubleRange; CalculateTickSpacing: (min: number, max: number, logBase: number, minorsPerMajor: number, maxTicks: number) => SCRTDoubleRange }; NumberUtil: { Constrain: (value: number, lowerBound: number, upperBound: number) => number; FindIndex: (inputValues: SCRTDoubleVector, value: number, searchMode: SCRTFindIndexSearchMode, dataIsSortedAscending: boolean) => number; IsDivisibleBy: (value: number, divisor: number) => boolean; IsPowerOf: (value: number, power: number, logBase: number) => boolean; LinearInterpolateI: (from: number, to: number, ratio: number) => number; Log: (value: number, logBase: number) => number; MinMax: (inputValues: SCRTDoubleVector, containsNaN: boolean) => SCRTDoubleRange; MinMaxPair: (inputValues1: SCRTDoubleVector, inputValues2: SCRTDoubleVector, mult: number, multInv: number, containsNaN: boolean) => SCRTDoubleRange; MinMaxPairWithIndex: (inputValues1: SCRTDoubleVector, inputValues2: SCRTDoubleVector, mult: number, multInv: number, startIndex: number, count: number, containsNaN: boolean) => SCRTDoubleRange; MinMaxWithIndex: (inputValues: SCRTDoubleVector, startIndex: number, count: number, containsNaN: boolean) => SCRTDoubleRange; RoundDown: (value: number, nearest: number) => number; RoundDownPower: (value: number, power: number, logBase: number) => number; RoundToDigits: (value: number, decimals: number) => number; RoundUp: (value: number, nearest: number) => number; RoundUpPower: (value: number, power: number, logBase: number) => number }; ResamplingArgs: {}; ResamplingData: { CategoryData: ResamplingData; LinearData: ResamplingData; UnevenlySpacedData: ResamplingData; UnsortedData: ResamplingData }; ResamplingMode: { Auto: ResamplingMode; Max: ResamplingMode; Mid: ResamplingMode; Min: ResamplingMode; MinMax: ResamplingMode; MinOrMax: ResamplingMode; None: ResamplingMode }; SCRT3DGetScreenHeight: () => number; SCRT3DGetScreenWidth: () => number; SCRT3DSetClearColor: (reg: number, green: number, blue: number, alpha: number) => void; SCRT3DSetWaterMarkProperties: (properties: SCRTWaterMarkProperties) => void; SCRTAnimationHelperFade: (yValues: SCRTDoubleVector, progress: number, ysValues: SCRTDoubleVector) => number; SCRTAnimationHelperScale: (yValues: SCRTDoubleVector, zeroLine: number, progress: number, ysValues: SCRTDoubleVector) => number; SCRTAnimationHelperSweep: (yValues: SCRTDoubleVector, progress: number, ysValues: SCRTDoubleVector) => number; SCRTAnimationHelperWave: (yValues: SCRTDoubleVector, durationFraction: number, zeroLine: number, progress: number, ysValues: SCRTDoubleVector) => number; SCRTArcParams: {}; SCRTArcVertex: {}; SCRTArgsortDouble: (keys: SCRTDoubleVector, order: IntVector, descending: boolean) => void; SCRTArgsortDoubleByOrder: (keys: SCRTDoubleVector, order: IntVector, descending: boolean) => void; SCRTArgsortIntByOrder: (keys: IntVector, order: IntVector, descending: boolean) => void; SCRTAxisCubeDescriptor: {}; SCRTAxisCubeEntity: {} & { implement: (wrapper: SCRTAxisCubeEntityWrapper) => SCRTAxisCubeEntity }; SCRTAxisDescriptor: {}; SCRTAxisRange: {}; SCRTBandDrawingParams: {}; SCRTBandSeriesDrawingProvider: {}; SCRTBoxPlotDataSeries2D: {}; SCRTBrush: {}; SCRTBubbleSeriesDrawingProvider: {}; SCRTCADModelSceneEntity: {}; SCRTCandleType: { CandleStick: SCRTCandleType; OHLC: SCRTCandleType }; SCRTCandlestickSeriesDrawingProvider: {}; SCRTColorTextureVertex: {} & {}; SCRTColorVertex: {} & {}; SCRTColumnDrawingParams: {}; SCRTColumnSeriesDrawingProvider: {}; SCRTColumnXMode: { ColumnXMode_Mid: SCRTColumnXMode; ColumnXMode_MidX2Width: SCRTColumnXMode; ColumnXMode_Start: SCRTColumnXMode; ColumnXMode_StartX2End: SCRTColumnXMode; ColumnXMode_StartX2Width: SCRTColumnXMode; ColumnXMode_Width: SCRTColumnXMode }; SCRTColumnYMode: { ColumnYMode_CenterHeight: SCRTColumnYMode; ColumnYMode_TopBottom: SCRTColumnYMode; ColumnYMode_TopHeight: SCRTColumnYMode }; SCRTColumnsSceneEntity: {} & { implement: (wrapper: SCRTColumnsSceneEntityWrapper) => SCRTColumnsSceneEntity }; SCRTColumnsSceneEntityParams: {}; SCRTCompactOrderByMask: (order: IntVector, mask: IntVector, result: IntVector) => void; SCRTContourParams: {}; SCRTCopyToDestinationInterface: { implement: (wrapper: SCRTCopyToDestinationInterfaceWrapper) => SCRTCopyToDestinationInterface }; SCRTCreateBitmapTexture: (width: number, height: number, textureFormat: eTSRTextureFormat) => TSRTexture; SCRTCreatePalette: (colors: IntVector) => SCRTPalette; SCRTCredentials: { ApplyLicenseResponse: (response: string) => number; ApplySimpleResponse: (token: string) => number; Dump: () => string; GenerateClientNonce: () => string; GetAllowDebugging: () => boolean; GetBuildStamp: () => string; GetDeveloperCount: () => number; GetEncrypted: (stringToEncrypt: string) => string; GetEncryptedOrderId: () => string; GetExpiryDate: () => string; GetLicenseChallenge: () => string; GetLicenseDaysRemaining: () => number; GetLicenseErrors: () => string; GetLicenseType: () => SCRTLicenseType; GetOrderId: () => string; GetProductCode: () => string; HasFeature: (feature: string) => SCRTLicenseType; Hash256Encode64: (stringToHash: string) => string; IsRoundTripValidation: () => boolean; IsSimpleValidation: () => boolean; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => boolean }; SCRTDataManagerGetRefCount: (dataSeries: SCRTDataSeries2D) => number; SCRTDataManagerGetSeriesCount: () => number; SCRTDataManagerRegister: (dataSeries: SCRTDataSeries2D) => void; SCRTDataManagerRemove: (dataSeries: SCRTDataSeries2D) => void; SCRTDictTextParams: {}; SCRTDoLeakCheck: () => void; SCRTDoubleArraysXyResampleOutput: {}; SCRTDoubleRange: {} & {}; SCRTDoubleResampler: {}; SCRTDoubleResamplerMergeIndicesParams: {}; SCRTDoubleVector: {} & {}; SCRTDrawArcsParams: {}; SCRTDrawLinesParams: {}; SCRTDrawPrimitivesParams: {}; SCRTDrawRectsParams: {}; SCRTDrawStringFromDict: (font: SCRTFont, dict: SCRTStringDictionary, params: SCRTDictTextParams) => void; SCRTDrawingParams: {}; SCRTDynamicDataSeries2D: {}; SCRTFifoVector: {}; SCRTFileLoadCallbackInterface: { implement: (wrapper: SCRTFileLoadCallbackInterfaceWrapper) => SCRTFileLoadCallbackInterface }; SCRTFillTextureAbgr: (texture: TSRTexture, width: number, height: number, pixels: IntVector) => void; SCRTFillTextureFloat32: (texture: TSRTexture, width: number, height: number, pixels: SCRTFloatVector) => TSRVector4; SCRTFillVectorSequential: (input: SCRTDoubleVector, count: number) => void; SCRTFilterMaskAnd: (mask: IntVector, acc: IntVector) => void; SCRTFilterOneOfDouble: (keys: SCRTDoubleVector, values: SCRTDoubleVector, mask: IntVector, missingPasses: boolean) => void; SCRTFilterOneOfInt: (keys: IntVector, values: IntVector, mask: IntVector, missingPasses: boolean) => void; SCRTFilterRangeDouble: (keys: SCRTDoubleVector, mask: IntVector, min: number, max: number, missingPasses: boolean) => void; SCRTFilterSet: {}; SCRTFindIndexSearchMode: { Exact: SCRTFindIndexSearchMode; Nearest: SCRTFindIndexSearchMode; RoundDown: SCRTFindIndexSearchMode; RoundUp: SCRTFindIndexSearchMode }; SCRTFloatVector: {}; SCRTFontKey: {}; SCRTFrameRenderer2D: {}; SCRTFrameRenderer3D: {}; SCRTGetCommandBuffer: () => TSRCommandBuffer; SCRTGetGlobalRenderLoopManager: () => SCRTRenderLoopManager; SCRTGetIsSelectionBufferEnabled: () => boolean; SCRTGetMainRenderContext2D: () => SCRTRenderContext; SCRTGetScreenHeight: () => number; SCRTGetScreenWidth: () => number; SCRTGetSelectionInfo: (xCoord: number, yCoord: number) => SCRTSelectionInfo; SCRTGetTemplateMesh: (meshId: eSCRTMesh) => TSRIndexedMesh; SCRTGetTemplateTexture: (textureId: eSCRTTexture) => TSRTexture; SCRTGlowEffect: {}; SCRTGridDrawingProperties: {}; SCRTGridMeshEntity: {} & { implement: (wrapper: SCRTGridMeshEntityWrapper) => SCRTGridMeshEntity }; SCRTHeatmapDrawingParams: {}; SCRTHeatmapSeriesDrawingProvider: {}; SCRTHeightColorSettings: {}; SCRTHeightSeriesDrawingProvider: {}; SCRTHeightSeriesParams: {}; SCRTHitTestHelper: { GetNearestPolarXyPoint: (xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xHitCoord: number, yHitCoord: number, xDirectionOnly: boolean, isSorted: boolean) => SCRTDoubleRange; GetNearestTriangle: (isPolygon: boolean, polygonVertices: number, xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xHitCoord: number, yHitCoord: number) => SCRTDoubleRange; GetNearestXyPoint: (xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, isSorted: boolean, xHitCoord: number, yHitCoord: number, hitTestRadius: number) => SCRTDoubleRange }; SCRTImmediateLitMeshDrawingParams: {}; SCRTImmediateLitMeshDrawingProvider: {}; SCRTInitEngine2D: () => void; SCRTIntFifoVector: {}; SCRTIntVector: {} & {}; SCRTInterpolatePolarBand: (inParams: SCRTPolarInterpolationParams, outParams: SCRTPolarInterpolationParams, radialCoordinateCalculator: CoordinateCalculator, angularRange: number, totalPoints: number, closeNaNGaps: boolean) => void; SCRTInterpolatePolarLine: (inParams: SCRTPolarInterpolationParams, outParams: SCRTPolarInterpolationParams, radialCoordinateCalculator: CoordinateCalculator, angularRange: number, totalPoints: number, closeNaNGaps: boolean) => void; SCRTLicenseType: { LICENSE_TYPE_COMMUNITY: SCRTLicenseType; LICENSE_TYPE_FULL: SCRTLicenseType; LICENSE_TYPE_FULL_EXPIRED: SCRTLicenseType; LICENSE_TYPE_INVALID_DEVELOPER_LICENSE: SCRTLicenseType; LICENSE_TYPE_INVALID_LICENSE: SCRTLicenseType; LICENSE_TYPE_NO_LICENSE: SCRTLicenseType; LICENSE_TYPE_REQUIRES_VALIDATION: SCRTLicenseType; LICENSE_TYPE_SUBSCRIPTION_EXPIRED: SCRTLicenseType; LICENSE_TYPE_TRIAL: SCRTLicenseType; LICENSE_TYPE_TRIAL_EXPIRED: SCRTLicenseType }; SCRTLineDrawingParams: {}; SCRTLineGapMode: { CloseGaps: SCRTLineGapMode; Default: SCRTLineGapMode; DrawGaps: SCRTLineGapMode }; SCRTLineSegmentDrawingProvider: {}; SCRTLineSeriesDrawingProvider: {}; SCRTLineType: { Digital: SCRTLineType; List: SCRTLineType; Nan: SCRTLineType; Strip: SCRTLineType }; SCRTLinesMesh: {}; SCRTListModuleRegistry: () => string; SCRTLitMeshVertex: {}; SCRTMarkOneOfInt: (keys: IntVector, values: IntVector, acc: IntVector) => void; SCRTMeasureStringFromDict: (font: SCRTFont, dict: SCRTStringDictionary, code: number, bounds: TSRTextBounds, lineSpacing: number) => void; SCRTMemCopy: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMemMove: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMesh: {}; SCRTMountainDrawingParams: {}; SCRTMountainSeriesDrawingProvider: {}; SCRTMultiplyColorVectorOpacity: (originalVector: IntVector, resultVector: IntVector, factor: number) => void; SCRTNodeOverrideParams: {}; SCRTOhlcDataSeries2D: {}; SCRTOhlcDrawingParams: {}; SCRTPalette: {}; SCRTPen: {}; SCRTPenDescriptor: {}; SCRTPoint3DSceneEntity: {} & { implement: (wrapper: SCRTPoint3DSceneEntityWrapper) => SCRTPoint3DSceneEntity }; SCRTPoint3DSceneEntityParams: {}; SCRTPointDrawingParams: {}; SCRTPointLine3DSceneEntity: {} & { implement: (wrapper: SCRTPointLine3DSceneEntityWrapper) => SCRTPointLine3DSceneEntity }; SCRTPointLines3DSceneEntityParams: {}; SCRTPolarBandDrawingParams: {}; SCRTPolarBandSeriesDrawingProvider: {}; SCRTPolarColumnDrawingParams: {}; SCRTPolarColumnSeriesDrawingProvider: {}; SCRTPolarCoordinateTransform: {}; SCRTPolarInterpolationParams: {}; SCRTPolarLineDrawingParams: {}; SCRTPolarLineSeriesDrawingProvider: {}; SCRTPreloadSlugFont: (faceName: string) => void; SCRTPrimitivesEffect: { BlurredTriangles: SCRTPrimitivesEffect; Contours: SCRTPrimitivesEffect; Heatmap: SCRTPrimitivesEffect; Triangles: SCRTPrimitivesEffect }; SCRTRectVertex: {} & {}; SCRTRectangleDrawingParams: {}; SCRTRectangleSeriesDrawingProvider: {}; SCRTRegisterFile: (fileName: string, url: string, callback: SCRTFileLoadCallbackInterface) => void; SCRTRenderLoopManager: { implement: (wrapper: SCRTRenderLoopManagerWrapper) => SCRTRenderLoopManager }; SCRTScatterSeriesDrawingProvider: {}; SCRTSceneEntity: { implement: (wrapper: SCRTSceneEntityWrapper) => SCRTSceneEntity }; SCRTSceneHost3D: {}; SCRTSceneHostCount: () => number; SCRTSceneHostOnEngineRestartAll: () => void; SCRTSceneHostRegister: (host: SCRTSceneHost3D) => void; SCRTSceneHostUnregister: (host: SCRTSceneHost3D) => void; SCRTSceneWorld: {}; SCRTSelectionInfo: {}; SCRTSeriesEffectType: { Glow: SCRTSeriesEffectType }; SCRTSetActiveTexture: (texture: TSRTexture) => void; SCRTSetActiveWorld: (scrtSceneWorld: SCRTSceneWorld) => void; SCRTSetClearAlphaParams: (enabled: boolean, alpha: number) => void; SCRTSetGlobalCopyToDestinationInterface: (_pCopyToDestinationInterface: SCRTCopyToDestinationInterface) => void; SCRTSetGlobalRenderLoopManager: (_pRenderLoopManager: SCRTRenderLoopManager) => void; SCRTSetIsSelectionBufferEnabled: (isEnabled: boolean) => void; SCRTSetMainWindowSize: (width: number, height: number) => void; SCRTSetTextureLinearSamplerEnabled: (texture: TSRTexture, enabled: boolean) => void; SCRTSetWaterMarkProperties: (properties: SCRTWaterMarkProperties) => void; SCRTShadowEffect: {}; SCRTShutdownEngine2D: () => void; SCRTSmearSeriesDrawingProvider: {}; SCRTSmearSeriesParams: {}; SCRTSolidBrush: {}; SCRTSplineHelperCubicSpline: (xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xsValues: SCRTDoubleVector, ysValues: SCRTDoubleVector, initialSize: number, interpolationPoints: number, containsNAN: boolean) => void; SCRTSplineHelperCubicSplineWithGaps: (xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xsValues: SCRTDoubleVector, ysValues: SCRTDoubleVector, initialSize: number, interpolationPoints: number) => void; SCRTSpriteType: { FixedSize: SCRTSpriteType; Normal: SCRTSpriteType }; SCRTStackedColumnDrawingParams: {}; SCRTStackedColumnSeriesDrawingProvider: {}; SCRTStringDictionary: {}; SCRTSurfaceDestination: { implement: (wrapper: SCRTSurfaceDestinationWrapper) => SCRTSurfaceDestination }; SCRTTextStyle: {}; SCRTTextureBrush: {}; SCRTTextureBrushSamplerMode: { Linear: SCRTTextureBrushSamplerMode; Point: SCRTTextureBrushSamplerMode; Wrap: SCRTTextureBrushSamplerMode }; SCRTTickStyle: {}; SCRTTriangleDrawMode: { List: SCRTTriangleDrawMode; Polygon: SCRTTriangleDrawMode; Strip: SCRTTriangleDrawMode }; SCRTTriangleDrawingParams: {}; SCRTTriangleSeriesDrawingProvider: {}; SCRTUintVector: {}; SCRTWaterMarkProperties: {}; SCRTXvaluesProvider: {}; SCRTXyDataSeries2D: {}; SCRTXyyDataSeries2D: {}; SCRTXyzDataSeries2D: {}; SCRTXyzGizmoEntity: { implement: (wrapper: SCRTXyzGizmoEntityWrapper) => SCRTXyzGizmoEntity }; StringVector: {}; TSRCamera: {}; TSRRequestCanvasDraw: (canvasID: string) => void; TSRRequestDraw: () => void; TSRRequestExit: () => void; TSRSetDrawRequestsEnabled: (enabled: boolean) => void; TSRTextBounds: {}; TSRTextLineBounds: {}; TSRVector2: {} & {}; TSRVector3: {} & {}; TSRVector4: {} & {}; UIntVector: {}; VectorArcVertex: {}; VectorColorTextureVertex: {}; VectorColorVertex: {}; VectorLitMeshVertex: {}; VectorRectVertex: {}; WStringVector: {}; canvas: HTMLCanvasElement; canvas2D: HTMLCanvasElement; eAxisPlaneDrawLabelsMode: { AxisPlaneDrawLabelsBoth: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsHidden: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsLocalX: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsLocalY: eAxisPlaneDrawLabelsMode }; eAxisPlaneDrawTitlesMode: { AxisPlaneDrawTitlesBoth: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesHidden: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesLocalX: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesLocalY: eAxisPlaneDrawTitlesMode }; eSCRTAxisTitleRotationMode: { AxisTitleRotationAuto: eSCRTAxisTitleRotationMode; AxisTitleRotationHorizontal: eSCRTAxisTitleRotationMode; AxisTitleRotationVertical: eSCRTAxisTitleRotationMode }; eSCRTBrushMappingMode: { PerPrimitive: eSCRTBrushMappingMode; PerScreen: eSCRTBrushMappingMode }; eSCRTGridDrawingFeatures: { SCRT_GRID_DRAWING_FEATURES_CONTOURS: eSCRTGridDrawingFeatures; SCRT_GRID_DRAWING_FEATURES_SKIRT: eSCRTGridDrawingFeatures; SCRT_GRID_DRAWING_FEATURES_SOLID: eSCRTGridDrawingFeatures; SCRT_GRID_DRAWING_FEATURES_WIREFRAME: eSCRTGridDrawingFeatures }; eSCRTGridMeshResolution: { SCRT_GRID_MESH_RES_X1: eSCRTGridMeshResolution; SCRT_GRID_MESH_RES_X2: eSCRTGridMeshResolution; SCRT_GRID_MESH_RES_X4: eSCRTGridMeshResolution }; eSCRTMesh: { SCRT_MESH_CUBE: eSCRTMesh; SCRT_MESH_CYLINDER: eSCRTMesh; SCRT_MESH_PYRAMID: eSCRTMesh; SCRT_MESH_SPHERE: eSCRTMesh }; eSCRTTexture: { SCRT_TEXTURE_CIRCLE: eSCRTTexture; SCRT_TEXTURE_SOLIDWHITE: eSCRTTexture; SCRT_TEXTURE_SQUARE: eSCRTTexture; SCRT_TEXTURE_TRIANGLE: eSCRTTexture }; eSCRTTickLabelOrientationMode: { TickLabelOrientationAuto: eSCRTTickLabelOrientationMode; TickLabelOrientationHorizontal: eSCRTTickLabelOrientationMode }; eSCRT_POINT_MARKER_TYPE: { SCRT_POINT_MARKER_TYPE_INSTANCED_MESH: eSCRT_POINT_MARKER_TYPE; SCRT_POINT_MARKER_TYPE_PIXEL: eSCRT_POINT_MARKER_TYPE; SCRT_POINT_MARKER_TYPE_TEXTURED_QUAD: eSCRT_POINT_MARKER_TYPE }; eTSRCameraProjectionMode: { CAMERA_PROJECTIONMODE_ORTHOGONAL: eTSRCameraProjectionMode; CAMERA_PROJECTIONMODE_PERSPECTIVE: eTSRCameraProjectionMode }; eTSRRenderMode: { TSR_RENDERMODE_LINELIST: eTSRRenderMode; TSR_RENDERMODE_LINESTRIP: eTSRRenderMode; TSR_RENDERMODE_POINTS: eTSRRenderMode; TSR_RENDERMODE_TRIANGLEFAN: eTSRRenderMode; TSR_RENDERMODE_TRIANGLES: eTSRRenderMode; TSR_RENDERMODE_TRIANGLESTRIP: eTSRRenderMode }; eTSRTextAlignMode: { Center: eTSRTextAlignMode; Left: eTSRTextAlignMode; Right: eTSRTextAlignMode }; eTSRTextureFormat: { TSR_TEXTUREFORMAT_A8B8G8R8: eTSRTextureFormat; TSR_TEXTUREFORMAT_A8R8G8B8: eTSRTextureFormat; TSR_TEXTUREFORMAT_R32F: eTSRTextureFormat } } }>

  • Construct a chart with SciChartPolarSurface using a ISciChart2DDefinition which can be pure data. Construct a chart with SciChartPolarSurface using a ISciChart2DDefinition which can be pure data.

    remarks

    This method is async and must be awaited

    remarks

    This method is async and must be awaited

    Parameters

    Returns Promise<TWebAssemblyChart<SciChartPolarSurface>>

Const build3DChart

Const buildAnnotations

  • Build one or more annotations from a definition that can be pure data. Every annotation type must be registered (see Builder/register/annotations). Build one or more annotations from a definition that can be pure data.

    Parameters

    Returns IAnnotation[]

    An array of annotations

  • Build one or more annotations from a definition that can be pure data. Every annotation type must be registered (see Builder/register/annotations). Build one or more annotations from a definition that can be pure data.

    Parameters

    Returns IAnnotation[]

    An array of annotations

Const buildAxes

  • Build one or more axes from a definition that can be pure data. Every axis type must be registered (see Builder/register/axes) — including NumericAxis, which unknown types fall back to. Build one or more axes from a definition that can be pure data.

    Parameters

    Returns AxisBase2D[]

    An array of AxisBase2D.

  • Build one or more axes from a definition that can be pure data. Every axis type must be registered (see Builder/register/axes) — including NumericAxis, which unknown types fall back to. Build one or more axes from a definition that can be pure data.

    Parameters

    Returns AxisBase2D[]

    An array of AxisBase2D.

Const buildAxis

Const buildAxis3D

  • Build one 3D axis from a definition that can be pure data. Every 3D axis type must be registered (see Builder/register/axes3d) — including NumericAxis3D, which unknown types fall back to. Build one 3D axis from a definition that can be pure data.

    Parameters

    Returns AxisBase3D

    An array of AxisBase2D.

  • Build one 3D axis from a definition that can be pure data. Every 3D axis type must be registered (see Builder/register/axes3d) — including NumericAxis3D, which unknown types fall back to. Build one 3D axis from a definition that can be pure data.

    Parameters

    Returns AxisBase3D

    An array of AxisBase2D.

buildChart

Const buildDataSeries

  • Build a data series from a definition that can be pure data. Every data-series (and filter) type must be registered (see Builder/register/dataSeries and Builder/register/dataFilters). Build a data series from a definition that can be pure data.

    Parameters

    Returns IDataSeries

    An IDataSeries

  • Build a data series from a definition that can be pure data. Every data-series (and filter) type must be registered (see Builder/register/dataSeries and Builder/register/dataFilters). Build a data series from a definition that can be pure data.

    Parameters

    Returns IDataSeries | undefined

    An IDataSeries

Const buildDataSeries3D

Const buildFilter

Const buildInstantiateWasmHook

  • buildInstantiateWasmHook(compiledModule: Module): (Anonymous function)
  • Build the Emscripten instantiateWasm hook for an already-compiled module. When passed in the Emscripten module options, Emscripten skips its own fetch+compile and calls this hook with the imports it wants bound. We instantiate from the cached module and pass the resulting instance (plus the module) back via successCallback.

    Each call to {@link WebAssembly.instantiate} produces a fresh WebAssembly.Instance with its own linear memory, so the same cached module can back many isolated createSingle surfaces.

    Parameters

    • compiledModule: Module

    Returns (Anonymous function)

Const buildModifier

Const buildModifier3D

Const buildModifiers

  • Build one or more chart modifiers from a definition that can be pure data. Every modifier type must be registered (see Builder/register/modifiers). Build one or more chart modifiers from a definition that can be pure data.

    Parameters

    Returns ChartModifierBase2D[]

    An array of modifiers

  • Build one or more chart modifiers from a definition that can be pure data. Every modifier type must be registered (see Builder/register/modifiers). Build one or more chart modifiers from a definition that can be pure data.

    Parameters

    Returns ChartModifierBase2D[]

    An array of modifiers

Const buildModifiers3D

  • Build one or more 3D chart modifiers from a definition that can be pure data. Every modifier type must be registered (see Builder/register/modifiers3d). Build one or more 3D chart modifiers from a definition that can be pure data.

    Parameters

    Returns ChartModifierBase3D[]

    An array of modifiers

  • Build one or more 3D chart modifiers from a definition that can be pure data. Every modifier type must be registered (see Builder/register/modifiers3d). Build one or more 3D chart modifiers from a definition that can be pure data.

    Parameters

    Returns ChartModifierBase3D[]

    An array of modifiers

Const buildPieChart

Const buildSeries

Const buildSeries3D

buildSubCharts

Const calcAnnotationBordersForAxisMarker

  • calcAnnotationBordersForAxisMarker(isVerticalChart: boolean, x1: number, y1: number, horizontalAxis: AxisBase2D, verticalAxis: AxisBase2D, textureWidth: number, viewRect: Rect, xPosition: number, yPosition: number, textureHeight: number, annotationMarginXDirection: number, annotationMarginYDirection: number, isHorizontalAxisAlignmentReversed: boolean, isVerticalAxisAlignmentReversed: boolean): { x1: number; x2: number; y1: number; y2: number }
  • Calculates annotation borders for AxisMarkerAnnotation

    Parameters

    • isVerticalChart: boolean

      the vertical chart flag

    • x1: number

      the X1 data value of the annotation

    • y1: number

      the Y1 data value of the annotation

    • horizontalAxis: AxisBase2D

      the horizontal axis

    • verticalAxis: AxisBase2D

      the vertical axis

    • textureWidth: number

      the texture width

    • viewRect: Rect

      the seriesViewRect

    • xPosition: number

      the X position of the texture on the SciChartSurface, the left-top corner position on the canvas

    • yPosition: number

      the Y position of the texture on the SciChartSurface, the left-top corner position on the canvas

    • textureHeight: number

      the texture width

    • annotationMarginXDirection: number

      the texture margin in X direction

    • annotationMarginYDirection: number

      the texture margin in Y direction

    • isHorizontalAxisAlignmentReversed: boolean

      if true EAxisAlignment.Top, otherwise EAxisAlignment.Bottom

    • isVerticalAxisAlignmentReversed: boolean

      if true EAxisAlignment.Left, otherwise EAxisAlignment.Right

    Returns { x1: number; x2: number; y1: number; y2: number }

    • x1: number
    • x2: number
    • y1: number
    • y2: number

calcArrowHeadParameters

  • calcArrowHeadParameters(tipX: number, tipY: number, angleRadian: number, headLength: number, headWidth: number, headDepth: number): TArrowHeadParameters
  • Parameters

    • tipX: number
    • tipY: number
    • angleRadian: number
    • headLength: number
    • headWidth: number
    • headDepth: number

    Returns TArrowHeadParameters

Const calcAverageForArray

  • calcAverageForArray(ar: number[], averageNum: number, index?: number): number
  • Parameters

    • ar: number[]
    • averageNum: number
    • Optional index: number

    Returns number

Const calcAverageForDoubleVector

  • calcAverageForDoubleVector(doubleVector: SCRTDoubleVector, averageNum: number, index?: number): number
  • description

    Calculates average for DoubleVector

    Parameters

    • doubleVector: SCRTDoubleVector
    • averageNum: number

      number of values to respect for the average

    • Optional index: number

      index of the latest value to include, by default equals to length-1 of DoubleVector

    Returns number

Const calcCrossProduct

  • calcCrossProduct(xA: number, yA: number, xB: number, yB: number, xC: number, yC: number): number
  • Parameters

    • xA: number
    • yA: number
    • xB: number
    • yB: number
    • xC: number
    • yC: number

    Returns number

Const calcDistance

  • calcDistance(x1: number, y1: number, x2: number, y2: number): number
  • Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number

    Returns number

Const calcDistanceFromLine

  • calcDistanceFromLine(x: number, y: number, startX: number, startY: number, endX: number, endY: number): number
  • Parameters

    • x: number
    • y: number
    • startX: number
    • startY: number
    • endX: number
    • endY: number

    Returns number

Const calcDistanceFromLineSegment

  • calcDistanceFromLineSegment(x: number, y: number, startX: number, startY: number, endX: number, endY: number): number
  • Parameters

    • x: number
    • y: number
    • startX: number
    • startY: number
    • endX: number
    • endY: number

    Returns number

Const calcDotProduct

  • calcDotProduct(v1x: number, v1y: number, v2x: number, v2y: number, v3x: number, v3y: number): number
  • Parameters

    • v1x: number
    • v1y: number
    • v2x: number
    • v2y: number
    • v3x: number
    • v3y: number

    Returns number

calcLabelPosition

  • calcLabelPosition(isInnerAxis: boolean, isAngularAxisFlipped: boolean, startAngle: number, totalAngle: number): { isAntiClockWise: boolean; labelRotation: number; startAngle: number }
  • Parameters

    • isInnerAxis: boolean
    • isAngularAxisFlipped: boolean
    • startAngle: number
    • totalAngle: number

    Returns { isAntiClockWise: boolean; labelRotation: number; startAngle: number }

    • isAntiClockWise: boolean
    • labelRotation: number
    • startAngle: number

Const calcNewApex

  • calcNewApex(x1: number, y1: number, x2: number, y2: number, isVertical: boolean): { x1y1: { x: number; y: number }; x1y2: { x: number; y: number }; x2y1: { x: number; y: number }; x2y2: { x: number; y: number } }
  • Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number
    • isVertical: boolean

    Returns { x1y1: { x: number; y: number }; x1y2: { x: number; y: number }; x2y1: { x: number; y: number }; x2y2: { x: number; y: number } }

    • x1y1: { x: number; y: number }
      • x: number
      • y: number
    • x1y2: { x: number; y: number }
      • x: number
      • y: number
    • x2y1: { x: number; y: number }
      • x: number
      • y: number
    • x2y2: { x: number; y: number }
      • x: number
      • y: number

calcPadding

calcPosition

  • calcPosition(chartWidth: number, chartHeight: number, position: EWatermarkPosition, isRelativeToCanvas: boolean, seriesViewRectInput?: Rect, viewportSizeInput?: Size): { bottom: number; left: number }
  • Parameters

    • chartWidth: number
    • chartHeight: number
    • position: EWatermarkPosition
    • isRelativeToCanvas: boolean
    • Optional seriesViewRectInput: Rect
    • Optional viewportSizeInput: Size

    Returns { bottom: number; left: number }

    • bottom: number
    • left: number

calcRectangleBorders

  • calcRectangleBorders(columnXMode: EColumnMode, columnYMode: EColumnYMode, isXAxisFlipped: boolean, isYAxisFlipped: boolean, x: number, y: number, x1: number, y1: number, isVerticalChart: boolean): { xMax: number; xMin: number; yMax: number; yMin: number }
  • Returns rectangle borders in pixel coordinates

    Parameters

    • columnXMode: EColumnMode
    • columnYMode: EColumnYMode
    • isXAxisFlipped: boolean
    • isYAxisFlipped: boolean
    • x: number
    • y: number
    • x1: number
    • y1: number
    • isVerticalChart: boolean

    Returns { xMax: number; xMin: number; yMax: number; yMin: number }

    • xMax: number
    • xMin: number
    • yMax: number
    • yMin: number

calcTickDirection

  • calcTickDirection(isInnerAxis: boolean, isAngularAxisFlipped: boolean, startAngle: number, totalAngle: number): { direction: 1 | -1; startAngle: number; tickRotation: number }
  • Parameters

    • isInnerAxis: boolean
    • isAngularAxisFlipped: boolean
    • startAngle: number
    • totalAngle: number

    Returns { direction: 1 | -1; startAngle: number; tickRotation: number }

    • direction: 1 | -1
    • startAngle: number
    • tickRotation: number

Const calcTooltipSize

  • calcTooltipSize(valuesWithLabels: string[], fontSize?: number): { height: number; width: number }
  • Calculate the width and height of the tooltip based on the content array.

    Declared here rather than in CursorModifier, where it used to live. It is a dependency-free helper that non-cursor code needs — TooltipModifier3D among others — and importing it from CursorModifier put that whole module, and so the CursorModifier class itself, into bundles that never use a cursor.

    Parameters

    • valuesWithLabels: string[]

      The tooltip's lines of text; the longest one determines the width.

    • Default value fontSize: number = 13

      Font size in px used to lay the lines out vertically. Default 13.

    Returns { height: number; width: number }

    • height: number
    • width: number

Const calcTriangleArea

  • calcTriangleArea(x1: number, y1: number, x2: number, y2: number, x3: number, y3: number): number
  • Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number
    • x3: number
    • y3: number

    Returns number

calcXBorders

  • calcXBorders(columnXMode: EColumnMode, isXAxisFlipped: boolean, x: number, x1: number): { max: number; min: number }
  • Returns min and max borders

    Parameters

    • columnXMode: EColumnMode
    • isXAxisFlipped: boolean
    • x: number
    • x1: number

    Returns { max: number; min: number }

    • max: number
    • min: number

calcYBorders

  • calcYBorders(columnYMode: EColumnYMode, isYAxisFlipped: boolean, y: number, y1: number): { max: number; min: number }
  • Parameters

    • columnYMode: EColumnYMode
    • isYAxisFlipped: boolean
    • y: number
    • y1: number

    Returns { max: number; min: number }

    • max: number
    • min: number

Const calculateAbsoluteRenderLayer

  • calculateAbsoluteRenderLayer(surfaceOrder: number, layerStep: number, relativeRenderLayer: number | EDefaultRenderLayer): number
  • Parameters

    • surfaceOrder: number

      layer z-order offset of the surface

    • layerStep: number

      specifies the capacity of layers that could be potentially added between the default chart layers

    • relativeRenderLayer: number | EDefaultRenderLayer

      layer number relative to the specific surface layers

    Returns number

    absolute order of the layer on the chart (considering parent chart and previous subChart surface layers)

Const calculateCellCoordinates

  • calculateCellCoordinates(inputArr: number[], dimension: number, startInd: number, count: number, inc: number, offset: number): any[]
  • Calculates absolute coordinates of the heatmap cells

    Parameters

    • inputArr: number[]

      relative cell sizes

    • dimension: number

      texture size

    • startInd: number
    • count: number
    • inc: number
    • offset: number

    Returns any[]

Const calculateHeatmapTexture

  • calculateHeatmapTexture(colorDataParams: IGetColorDataParams, intVector: UIntVector, heatTextureCache: TextureCache, precision: number): TSRTexture
  • Parameters

    • colorDataParams: IGetColorDataParams
    • intVector: UIntVector
    • heatTextureCache: TextureCache
    • precision: number

    Returns TSRTexture

calculateHorizontalAnchor

  • calculateHorizontalAnchor(anchorPoint: EHorizontalAnchorPoint, x1: number, x2: number, width: number): { x1: number; x2: number }
  • Parameters

    Returns { x1: number; x2: number }

    • x1: number
    • x2: number

Const calculateMaxGroupSize

  • calculateMaxGroupSize(outerLayoutSizes: Record<string, number>): number
  • calculateMaxGroupSize(outerLayoutSizes: Record<string, number>): number
  • Parameters

    • outerLayoutSizes: Record<string, number>

    Returns number

  • Parameters

    • outerLayoutSizes: Record<string, number>

    Returns number

Const calculateOffsets

  • calculateOffsets(heatmapRect: Rect, isVerticalChart: boolean, xCellSizes: number[], yCellSizes: number[], horStartInd: number, horCellCount: number, horInc: number, vertStartInd: number, vertCellCount: number, vertInc: number, seriesViewRect: Rect): { horCellOffsets: any[]; vertCellOffsets: any[] }
  • Parameters

    • heatmapRect: Rect
    • isVerticalChart: boolean
    • xCellSizes: number[]
    • yCellSizes: number[]
    • horStartInd: number
    • horCellCount: number
    • horInc: number
    • vertStartInd: number
    • vertCellCount: number
    • vertInc: number
    • seriesViewRect: Rect

    Returns { horCellOffsets: any[]; vertCellOffsets: any[] }

    • horCellOffsets: any[]
    • vertCellOffsets: any[]

calculateVerticalAnchor

  • calculateVerticalAnchor(anchorPoint: EVerticalAnchorPoint, y1: number, y2: number, height: number): { y1: number; y2: number }
  • Parameters

    Returns { y1: number; y2: number }

    • y1: number
    • y2: number

chartReviver

  • chartReviver(key: string, value: any): any
  • The reviver function needed when parsing definitions to JSON

    Parameters

    • key: string
    • value: any

    Returns any

Const checkAreEqualTextStyles

Const checkBuildStamp

Const checkCanDraw

  • Checks if can draw, is used not to draw when {@link BaseAnimation} has delay

    Parameters

    Returns boolean

Const checkIsAnimationRunning

  • Checks if the animation is running

    Parameters

    Returns boolean

Const checkIsNaN

  • checkIsNaN(value: number): boolean
  • Parameters

    • value: number

    Returns boolean

checkPolarLabelsOverlap

  • checkPolarLabelsOverlap(tickCoords: number[], minAngleToSkipLastLabelRadian?: number): boolean
  • Parameters

    • tickCoords: number[]
    • Default value minAngleToSkipLastLabelRadian: number = FIVE_DEG

    Returns boolean

Const checkStyle

  • Parameters

    Returns boolean

Const checkTextStyleEqual

Const clearCacheByStyle

  • clearCacheByStyle(styleId: string): void
  • Parameters

    • styleId: string

    Returns void

Const clearCompiledWasmCache

  • clearCompiledWasmCache(): void
  • Clears the in-memory compiled-module cache. Intended for tests and teardown scenarios.

    Returns void

clearLicensingDebug

  • clearLicensingDebug(): void
  • Returns void

configure2DSurface

configure3DSurface

Const configureChart

  • Configures an existing surface using a definition. This is useful if you need to use the wasmContext in methods or classes you use in your definition

    Parameters

    Returns void

Const convert3DLabelOrientationMode

Const convert3DPlaneModeForLabels

Const convert3DPlaneModeForTitles

Const convert3DTitleRotationMode

  • Parameters

    Returns eSCRTTickLabelOrientationMode

convertAbsoluteCoordinateToDataValue

convertAbsoluteCoordinateToPixelValue

convertAbsoluteCoordinateToRelativeValue

Const convertAxisPlaneVisibilityMode

Const convertColor

  • convertColor(htmlColor: string, opacity?: number): string
  • Parameters

    • htmlColor: string
    • Default value opacity: number = 1

    Returns string

    rgbColor, for example "0xff00ff00" - green

convertColumnMode

  • Parameters

    Returns SCRTColumnXMode

convertCoordinateFromDataValue

  • convertCoordinateFromDataValue<TTargetCoordinateMode>(value: TDataValueCoordinate, calc: CoordinateCalculatorBase, targetCoordinateMode: TTargetCoordinateMode): (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand })
  • Type parameters

    Parameters

    Returns (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand })

convertCoordinateFromPixelValue

  • convertCoordinateFromPixelValue<TTargetCoordinateMode>(value: TPixelCoordinate, calc: CoordinateCalculatorBase, targetCoordinateMode: TTargetCoordinateMode): (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand })
  • Type parameters

    Parameters

    Returns (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand })

convertCoordinateFromRelativeValue

  • convertCoordinateFromRelativeValue<TTargetCoordinateMode>(value: TRelativeCoordinate, calc: CoordinateCalculatorBase, targetCoordinateMode: TTargetCoordinateMode): (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand })
  • Type parameters

    Parameters

    Returns (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand })

convertCoordinateMode

  • convertCoordinateMode<TCurrentCoordinateMode, TTargetCoordinateMode>(value: TCoordinateTypeForMode[TCurrentCoordinateMode], calc: CoordinateCalculatorBase, currentCoordinateMode: TCurrentCoordinateMode, targetCoordinateMode: TTargetCoordinateMode): TTargetModeCoordinate

convertDataValueToAbsoluteCoordinate

convertFromAbsoluteCoordinate

  • convertFromAbsoluteCoordinate<TCoordinateMode>(coord: TAbsoluteCoordinate, calc: CoordinateCalculatorBase, targetCoordinateMode: TCoordinateMode): (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand })
  • Type parameters

    Parameters

    Returns (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand }) | (number & { [__brand]: TBrand } & { [__coordinateType]: TBrand })

Const convertLabelAlignmentToTextAlignment

Const convertMultiLineAlignment

convertPixelValueToAbsoluteCoordinate

Const convertPolarToCartesian

  • convertPolarToCartesian(angularAxis: PolarAxisBase, usePixelRatio: boolean, wasmContext: TSciChart, coordinateMode: ECoordinateMode, angle: number, radius: number): { x: number; y: number }
  • Parameters

    Returns { x: number; y: number }

    • x: number
    • y: number

convertRelativeValueToAbsoluteCoordinate

Const convertRgbToHexColor

  • convertRgbToHexColor(r: number, g: number, b: number): string
  • Converts individual R,G, and B components to HEX Color

    Parameters

    • r: number
    • g: number
    • b: number

    Returns string

    argbColor, for example "0xff00ff00" - green

Const convertSearchMode

  • Converts ESearchMode (typescript friendly Enum) to SCRTFindIndexSearchMode which is required by the webassembly engine

    Parameters

    Returns SCRTFindIndexSearchMode

convertToAbsoluteCoordinate

convertToDataValue

Const convertToNativeLineSpacing

  • convertToNativeLineSpacing(maxLineHeight: number, lineSpacing: number): number
  • Parameters

    • maxLineHeight: number
    • lineSpacing: number

    Returns number

Const convertToPixel

  • convertToPixel(red: number, green: number, blue: number, opacity: number): number
  • Parameters

    • red: number

      number value from 0 to 255

    • green: number

      number value from 0 to 255

    • blue: number

      number value from 0 to 255

    • opacity: number

      number value from 0 to 255

    Returns number

    pixel in hex format: opacity, red, green, blue. For example: "0xff0000ff" - blue pixel with no opacity

convertToPixelCoordinate

  • convertToPixelCoordinate<TCurrentCoordinateMode>(value: TCoordinateTypeForMode[TCurrentCoordinateMode], calc: CoordinateCalculatorBase, currentCoordinateMode: TCurrentCoordinateMode): TPixelCoordinate

convertToRelativeCoordinate

convertYColumnMode

  • Parameters

    Returns SCRTColumnYMode

Const copyAxis

  • copyAxis(descriptor: IAxisDescriptor): { axisSize: number; axisTitle: string; backgroundEnabled: boolean; borderThickness: number; drawBands: boolean; drawLabels: boolean; drawMajorGridlines: boolean; drawMajorTicks: boolean; drawMinorGridlines: boolean; drawMinorTicks: boolean; labelOrientationMode: number; majorCoordinates: number[]; minorCoordinates: number[]; tickLabels: string[]; tickLabelsOffset: number; titleOffset: number; titleOrientationMode: number; backgroundColor: object; bandColor: object; borderColor: object; labelStyle: object; majorLineStyle: object; majorTickStyle: object; minorLineStyle: object; minorTickStyle: object; titleStyle: object }
  • Parameters

    Returns { axisSize: number; axisTitle: string; backgroundEnabled: boolean; borderThickness: number; drawBands: boolean; drawLabels: boolean; drawMajorGridlines: boolean; drawMajorTicks: boolean; drawMinorGridlines: boolean; drawMinorTicks: boolean; labelOrientationMode: number; majorCoordinates: number[]; minorCoordinates: number[]; tickLabels: string[]; tickLabelsOffset: number; titleOffset: number; titleOrientationMode: number; backgroundColor: object; bandColor: object; borderColor: object; labelStyle: object; majorLineStyle: object; majorTickStyle: object; minorLineStyle: object; minorTickStyle: object; titleStyle: object }

    • axisSize: number
    • axisTitle: string
    • backgroundEnabled: boolean
    • borderThickness: number
    • drawBands: boolean
    • drawLabels: boolean
    • drawMajorGridlines: boolean
    • drawMajorTicks: boolean
    • drawMinorGridlines: boolean
    • drawMinorTicks: boolean
    • labelOrientationMode: number
    • majorCoordinates: number[]
    • minorCoordinates: number[]
    • tickLabels: string[]
    • tickLabelsOffset: number
    • titleOffset: number
    • titleOrientationMode: number
    • backgroundColor: object
    • bandColor: object
    • borderColor: object
    • labelStyle: object
      • multilineAlignment: number
    • majorLineStyle: object
      • stroke: object
    • majorTickStyle: object
      • stroke: object
    • minorLineStyle: object
      • stroke: object
    • minorTickStyle: object
      • stroke: object
    • titleStyle: object
      • multilineAlignment: number

Const copyDoubleVector

  • copyDoubleVector(source: SCRTDoubleVector, target: SCRTDoubleVector, wasmContext: TSciChart): void
  • Parameters

    • source: SCRTDoubleVector
    • target: SCRTDoubleVector
    • wasmContext: TSciChart

    Returns void

countUnique

  • countUnique(iterable: string[]): number
  • Parameters

    • iterable: string[]

    Returns number

Const createBrushInCache

  • createBrushInCache(cache: BrushCache, fill: string, opacity: number, textureHeightRatio?: number, textureWidthRatio?: number, fillGradientLinear?: GradientParams, customTextureOptions?: ICustomTextureOptions): SCRTBrush
  • Creates a native {@link SCRTBrush} brush from html color code string passed in and caches it

    Parameters

    • cache: BrushCache

      The object that will store a brush

    • fill: string

      The HTML Color code

    • opacity: number

      The opacity factor.

    • Optional textureHeightRatio: number

      The height ratio of the main canvas to the WebGl canvas.

    • Optional textureWidthRatio: number

      The width ratio of the main canvas to the WebGl canvas.

    • Optional fillGradientLinear: GradientParams

      The gradient params.

    • Optional customTextureOptions: ICustomTextureOptions

    Returns SCRTBrush

    new or existing instance of {@link SCRTBrush}}

Const createChartDestination

  • createChartDestination(canvas: HTMLCanvasElement): { canvas: HTMLCanvasElement; GetHeight: any; GetID: any; GetWidth: any }
  • Parameters

    • canvas: HTMLCanvasElement

    Returns { canvas: HTMLCanvasElement; GetHeight: any; GetID: any; GetWidth: any }

    • canvas: HTMLCanvasElement
    • GetHeight: function
      • GetHeight(): any
      • Returns any

    • GetID: function
      • GetID(): any
      • Returns any

    • GetWidth: function
      • GetWidth(): any
      • Returns any

Const createColorMap

  • createColorMap(originalGradientStops: TGradientStop[], precision: number): any[]
  • Parameters

    Returns any[]

Const createHitTestInfo

  • Parameters

    • renderableSeries: IRenderableSeries
    • xCoordinateCalculator: CoordinateCalculatorBase
    • yCoordinateCalculator: CoordinateCalculatorBase
    • isVerticalChart: boolean
    • dataSeries: BaseDataSeries
    • xNativeValues: SCRTDoubleVector
    • yNativeValues: SCRTDoubleVector
    • xHitCoord: number

      the X coordinate on the screen relative to seriesViewRect, X and Y swapped for vertical charts

    • yHitCoord: number

      the Y coordinate on the screen relative to seriesViewRect, X and Y swapped for vertical charts

    • nearestPointIndex: number
    • hitTestRadius: number
    • Optional distance: number
    • Optional dataCoordWidth: number

    Returns HitTestInfo

createImageAsync

  • createImageAsync(src: string): Promise<HTMLImageElement>
  • Helper function to create an HTML Image {@link HTMLImageElement} asychronously by passing in the string image source

    remarks

    Returns a promise, await this to get the image element

    Parameters

    • src: string

    Returns Promise<HTMLImageElement>

createImagesArrayAsync

  • createImagesArrayAsync(images: string[]): Promise<HTMLImageElement[]>
  • Helper function to create an HTML Images {@link HTMLImageElement} asychronously by passing in the string array

    Parameters

    • images: string[]

    Returns Promise<HTMLImageElement[]>

Const createNativeRect

  • createNativeRect(webAssemblyContext: TSciChart, xTopLeft: number, yTopLeft: number, xBottomRight: number, yBottomRight: number): SCRTRectVertex
  • Helper function to create a {@link SCRTRectVertex} native rectangle vertex

    Parameters

    • webAssemblyContext: TSciChart

      The SciChart 2D WebAssembly Context containing native methods and access to our WebGL2 Engine and WebAssembly numerical methods

    • xTopLeft: number
    • yTopLeft: number
    • xBottomRight: number
    • yBottomRight: number

    Returns SCRTRectVertex

Const createPenInCache

  • createPenInCache(penCache: Pen2DCache, stroke: string, strokeThickness: number, opacity: number, strokeDashArray?: number[], antiAliased?: boolean): SCRTPen
  • Creates a native {@link SCRTPen} Pen from html color code string passed in and caches it

    Parameters

    • penCache: Pen2DCache

      The object that will store a pen

    • stroke: string

      The HTML Color code

    • strokeThickness: number

      The strokethickness in pixels

    • opacity: number

      The opacity factor

    • Optional strokeDashArray: number[]

      the StrokeDashArray which defines any dash e.g. [2,2] means dash for 2pts, gap for 2pts (or undefined = solid line).

    • Optional antiAliased: boolean

    Returns SCRTPen

    the new or existing instance of {@link SCRTPen}}

Const createPointMarker

Const createSCRTPen

  • createSCRTPen(wasmContext: TSciChart, htmlColorCode: string, strokeThickness: number, opacity: number, strokeDashArray?: number[], antiAliased?: boolean): SCRTPen
  • Helper function to create a {@link SCRTPen} native pen access to our WebGL2 Engine and WebAssembly numerical methods

    Parameters

    • wasmContext: TSciChart

      The SciChart WebAssembly Context containing native methods and access to our WebGL2 WebAssembly Drawing Engine

    • htmlColorCode: string

      Html color code in the format "#fff", "#ff0000", "rgba(255,255,0,1)", "#11333333"

    • strokeThickness: number

      the stroke thickness of the pen in pixels

    • opacity: number

      The opacity factor

    • Optional strokeDashArray: number[]

      the StrokeDashArray which defines any dash e.g. [2,2] means dash for 2pts, gap for 2pts (or undefined = solid line).

    • Default value antiAliased: boolean = true

    Returns SCRTPen

Const createSolidBrush

  • createSolidBrush(wasmContext: TSciChart, htmlColorCode: string, opacity: number): SCRTBrush
  • Helper function to create a {@link SCRTBrush} native solid color brushes

    Parameters

    • wasmContext: TSciChart
    • htmlColorCode: string

      Html color code in the format "#fff", "#ff0000", "rgba(255,255,0,1)", "#11333333"

    • opacity: number

    Returns SCRTBrush

createSubSurfaceCanvases

Const createSvg

  • createSvg(svgString: string, svgRoot: Node, nextElement?: Element): SVGElement
  • All svg creation is run through this funciton so it can be mocked for tests

    Parameters

    • svgString: string
    • svgRoot: Node
    • Optional nextElement: Element

    Returns SVGElement

Const createSvgLineAndLabel

  • createSvgLineAndLabel(showLabel: boolean): { svgElement: SVGElement; svgLabelsContainer: SVGGElement | undefined; svgLine: SVGLineElement }
  • Parameters

    • showLabel: boolean

    Returns { svgElement: SVGElement; svgLabelsContainer: SVGGElement | undefined; svgLine: SVGLineElement }

    • svgElement: SVGElement
    • svgLabelsContainer: SVGGElement | undefined
    • svgLine: SVGLineElement

Const createType

Const createWebGPUDevice

  • createWebGPUDevice(): Promise<GPUDevice | undefined>
  • Returns Promise<GPUDevice | undefined>

Const defaultCursorTooltipSvgTemplate

Const deleteCache

  • Parameters

    Returns void

deleteSafe

  • deleteSafe<T>(object: T): T

deleteSubChart

  • Parameters

    Returns void

Const doCopy

  • doCopy(sourceCanvas: HTMLCanvasElement, getDestinationById: TGetDestinationFn, destinationId: string): void
  • Parameters

    • sourceCanvas: HTMLCanvasElement
    • getDestinationById: TGetDestinationFn
    • destinationId: string

    Returns void

Const drawAxisMarkerAnnotation

  • drawAxisMarkerAnnotation(currentAxis: AxisBase2D, renderContext: WebGlRenderContext2D, displayValue: string, markerCoordinate: number, x1Coord: number, y1Coord: number, textStyle: TTextStyle, fill: string, opacity: number, image: HTMLImageElement, imageWidth: number, imageHeight: number): { textureHeight: number; textureWidth: number; xPosition: number; yPosition: number }
  • Parameters

    • currentAxis: AxisBase2D
    • renderContext: WebGlRenderContext2D
    • displayValue: string
    • markerCoordinate: number
    • x1Coord: number
    • y1Coord: number
    • textStyle: TTextStyle
    • fill: string
    • opacity: number
    • image: HTMLImageElement
    • imageWidth: number
    • imageHeight: number

    Returns { textureHeight: number; textureWidth: number; xPosition: number; yPosition: number }

    • textureHeight: number
    • textureWidth: number
    • xPosition: number
    • yPosition: number

Const drawBorder

  • drawBorder(renderContext: WebGlRenderContext2D, webAssemblyContext2D: TSciChart, solidBrushCacheBorder: ISolidBrushCache, borderRect: Rect, clipRect: Rect, leftBorder: number, topBorder: number, rightBorder: number, bottomBorder: number, color: string): void
  • Parameters

    • renderContext: WebGlRenderContext2D
    • webAssemblyContext2D: TSciChart
    • solidBrushCacheBorder: ISolidBrushCache
    • borderRect: Rect
    • clipRect: Rect
    • leftBorder: number
    • topBorder: number
    • rightBorder: number
    • bottomBorder: number
    • color: string

    Returns void

Const drawLineAnnotation

Const drawModifiersAxisLabel

  • Parameters

    Returns Rect

Const ensureModule

  • Loads a native wasm module into this wasm context, if it is not already loaded.

    Idempotent and race-safe: a second call while the first is in flight returns the SAME promise OBJECT, not merely an equivalent one, so two surfaces created together neither double-fetch nor - much worse - dlopen twice, which would double-register every embind type in the module.

    Deliberately NOT declared async, even though every call site just awaits it: an async function always wraps its result in a FRESH promise per call, even when the body itself returns an existing one - so two concurrent callers would observe two DIFFERENT (if equivalent) promise objects, silently breaking the guarantee this doc comment has claimed since this function was written (Task 8's own test caught the gap - expect(p1).to.equal(p2) failed against the async version, with the registry proving the DEDUPE was still functionally correct regardless: the identity guarantee and the functional guarantee are two different things, and only one of them held). Returning the SAME Promise<void> reference (load, below) to every caller while the load is in flight is what makes both checks actually true.

    In the static (monolithic) build there is nothing to load: the types are already present, so this resolves immediately. Callers therefore never need to know which build shape they are on.

    Parameters

    Returns Promise<void>

Const ensureRegistrations

  • ensureRegistrations(): void
  • Registers every built-in type — an alias of registerAllTypes, kept for compatibility. The Builder is lean by default; call this (or registerAllTypes) once for the pre-v6 register-everything behaviour.

    Returns void

Const expandShortHex

  • expandShortHex(hex: string): string
  • Parameters

    • hex: string

    Returns string

Const fetchAndCompile

  • fetchAndCompile(url: string): Promise<Module>
  • Parameters

    • url: string

    Returns Promise<Module>

Const fillMetadata

  • Parameters

    Returns IPointMetadata[][]

Const fillNoisySinewave

  • fillNoisySinewave(pointCount: number, xMax: number, frequency: number, amplitude: number, noiseAmplitude: number, dataSeries: XyDataSeries): void
  • Parameters

    • pointCount: number
    • xMax: number
    • frequency: number
    • amplitude: number
    • noiseAmplitude: number
    • dataSeries: XyDataSeries

    Returns void

Const formatNumber

  • Parameters

    Returns string

Const formatNumber2Digits

  • formatNumber2Digits(value: number): string
  • description

    Formats value always to have 2 decimal digits, e.g. 12.45, 14.20, 17.00

    Parameters

    • value: number

    Returns string

Const formatUnixDateToHumanString

  • formatUnixDateToHumanString(unixTimestamp: number, locale?: string): string
  • Result 11/23/2018

    Parameters

    • unixTimestamp: number
    • Default value locale: string = "en-US"

    Returns string

Const formatUnixDateToHumanStringDD

  • formatUnixDateToHumanStringDD(unixTimestamp: number): string
  • Parameters

    • unixTimestamp: number

    Returns string

Const formatUnixDateToHumanStringDDMM

  • formatUnixDateToHumanStringDDMM(unixTimestamp: number): string
  • Parameters

    • unixTimestamp: number

    Returns string

Const formatUnixDateToHumanStringDDMMHHMM

  • formatUnixDateToHumanStringDDMMHHMM(unixTimestamp: number): string
  • Parameters

    • unixTimestamp: number

    Returns string

Const formatUnixDateToHumanStringDDMMYY

  • formatUnixDateToHumanStringDDMMYY(unixTimestamp: number): string
  • Parameters

    • unixTimestamp: number

    Returns string

Const formatUnixDateToHumanStringHHMM

  • formatUnixDateToHumanStringHHMM(unixTimestamp: number): string
  • Parameters

    • unixTimestamp: number

    Returns string

Const formatUnixDateToHumanStringHHMMSS

  • formatUnixDateToHumanStringHHMMSS(unixTimestamp: number): string
  • Parameters

    • unixTimestamp: number

    Returns string

Const formatUnixDateToHumanStringMMM

  • formatUnixDateToHumanStringMMM(unixTimestamp: number): string
  • Parameters

    • unixTimestamp: number

    Returns string

Const formatUnixDateToHumanStringMMMDD

  • formatUnixDateToHumanStringMMMDD(unixTimestamp: number): string
  • Parameters

    • unixTimestamp: number

    Returns string

Const formatUnixDateToHumanStringSSms

  • formatUnixDateToHumanStringSSms(unixSeconds: number, milliseconds?: number): string
  • Parameters

    • unixSeconds: number
    • Optional milliseconds: number

    Returns string

Const formatUnixDateToHumanStringSSns

  • formatUnixDateToHumanStringSSns(unixSeconds: number, nanoseconds: number): string
  • Formats high-precision timestamp to SS.nnnnnnnnn (Nanoseconds)

    Parameters

    • unixSeconds: number
    • nanoseconds: number

    Returns string

Const formatUnixDateToHumanStringSSus

  • formatUnixDateToHumanStringSSus(unixSeconds: number, microseconds: number): string
  • Formats high-precision timestamp to SS.mmmmmm (Microseconds) Logic: Uses Date for HH:MM:SS, appends raw microseconds

    Parameters

    • unixSeconds: number
    • microseconds: number

    Returns string

Const formatUnixDateToHumanStringYYYY

  • formatUnixDateToHumanStringYYYY(unixTimestamp: number): string
  • Parameters

    • unixTimestamp: number

    Returns string

Const freeCache

  • Parameters

    Returns IDeletable

Const freeStyle

  • freeStyle(styleId: string): void
  • Parameters

    • styleId: string

    Returns void

Const fromTsrVector4

  • fromTsrVector4(tsrColor: TSRVector4): TArgb
  • Parameters

    • tsrColor: TSRVector4

    Returns TArgb

Const generateBooleanHash

  • generateBooleanHash(value: boolean): number
  • Parameters

    • value: boolean

    Returns number

Const generateCombinedHash

  • generateCombinedHash(hashes: number[]): number
  • Parameters

    • hashes: number[]

    Returns number

Const generateGuid

  • generateGuid(): string
  • description

    Generates GUID/UUID RFC4122 version 4 compliant

    Returns string

Const generateHash

  • generateHash(s: string): number
  • Parameters

    • s: string

    Returns number

Const generateNumberHash

  • generateNumberHash(value: number): number
  • Parameters

    • value: number

    Returns number

Const generateObjectHash

  • generateObjectHash(obj: any): number
  • Parameters

    • obj: any

    Returns number

generateValueNamesForDataSeries

  • generateValueNamesForDataSeries(n: number): string[]
  • Generates default values names for the data series

    Parameters

    • n: number

      The number of y values

    Returns string[]

Const getActiveAxes

  • Parameters

    Returns AxisBase2D[]

Const getAdjustedRotation

  • getAdjustedRotation(rotation: number, position: ETitlePosition): number
  • Parameters

    Returns number

Const getAllFontKeys

  • Parameters

    Returns SCRTFontKey[]

Const getArcParams

  • getArcParams(wasmContext: TSciChart, centerX: number, centerY: number, startAngle: number, endAngle: number, radius: number, innerRadius: number, isGridLineMode: number, aspectRatio: number, lineThickness: number): SCRTArcParams
  • Parameters

    • wasmContext: TSciChart
    • centerX: number
    • centerY: number
    • startAngle: number
    • endAngle: number
    • radius: number
    • innerRadius: number
    • isGridLineMode: number
    • aspectRatio: number
    • lineThickness: number

    Returns SCRTArcParams

Const getArcVertex

  • getArcVertex(wasmContext: TSciChart): SCRTArcVertex
  • Parameters

    Returns SCRTArcVertex

getArraysEqual

  • getArraysEqual<T>(a: T[] | undefined, b: T[] | undefined): boolean
  • Type parameters

    • T

    Parameters

    • a: T[] | undefined
    • b: T[] | undefined

    Returns boolean

Const getAttributeFromString

  • getAttributeFromString(str: string, attributeName: string): number
  • Parameters

    • str: string
    • attributeName: string

    Returns number

getAxis3dById

getAxisById

getAxisGeneric

  • Type parameters

    Parameters

    Returns T

Const getAxisInterpolation

  • getAxisInterpolation(position: number, cellIndex: number, cellOffsets: number[], intensity: number): IAxisInterpolation
  • Parameters

    • position: number
    • cellIndex: number
    • cellOffsets: number[]
    • intensity: number

    Returns IAxisInterpolation

Const getCache

  • getCache(wasmContext: TSciChart | TSciChart3D): { arcParams: SCRTArcParams; arcVertex: SCRTArcVertex; dictTextParams: SCRTDictTextParams; keyCache: Map<string, FontKey>; rect: SCRTRectVertex; textBounds: TSRTextBounds; textureVertex: SCRTColorTextureVertex; vecArcVertex: VectorArcVertex; vecColorTextureVertex: VectorColorTextureVertex; vecColorVertex: VectorColorVertex; vecRects: VectorRectVertex; vector2: TSRVector2; vector3: TSRVector3; vector4: TSRVector4; vertex: SCRTColorVertex }
  • Parameters

    Returns { arcParams: SCRTArcParams; arcVertex: SCRTArcVertex; dictTextParams: SCRTDictTextParams; keyCache: Map<string, FontKey>; rect: SCRTRectVertex; textBounds: TSRTextBounds; textureVertex: SCRTColorTextureVertex; vecArcVertex: VectorArcVertex; vecColorTextureVertex: VectorColorTextureVertex; vecColorVertex: VectorColorVertex; vecRects: VectorRectVertex; vector2: TSRVector2; vector3: TSRVector3; vector4: TSRVector4; vertex: SCRTColorVertex }

    • arcParams: SCRTArcParams
    • arcVertex: SCRTArcVertex
    • dictTextParams: SCRTDictTextParams
    • keyCache: Map<string, FontKey>
    • rect: SCRTRectVertex
    • textBounds: TSRTextBounds
    • textureVertex: SCRTColorTextureVertex
    • vecArcVertex: VectorArcVertex
    • vecColorTextureVertex: VectorColorTextureVertex
    • vecColorVertex: VectorColorVertex
    • vecRects: VectorRectVertex
    • vector2: TSRVector2
    • vector3: TSRVector3
    • vector4: TSRVector4
    • vertex: SCRTColorVertex

Const getCachedWebGPUDevice

  • Returns TWebGPUDevice | undefined

Const getColor

  • getColor(yIndex: number, xIndex: number, colorPalette: number[], opacity: number, zValues: NumberArray[], webAssemblyContext: TSciChart, colorMin: number, colorMax: number, arrayWidth: number, arrayHeight: number, fillValuesOutOfRange: boolean, precision: number): number
  • Parameters

    • yIndex: number
    • xIndex: number
    • colorPalette: number[]
    • opacity: number
    • zValues: NumberArray[]
    • webAssemblyContext: TSciChart
    • colorMin: number
    • colorMax: number
    • arrayWidth: number
    • arrayHeight: number
    • fillValuesOutOfRange: boolean
    • precision: number

    Returns number

Const getColorDataForTexture

  • getColorDataForTexture(params: IGetColorDataParams, _colorData: UIntVector, precision: number): UIntVector
  • Parameters

    Returns UIntVector

Const getCompiledWasmModule

  • getCompiledWasmModule(url: string): Promise<Module>
  • Fetch and compile the WASM binary at the given URL, returning a cached Promise on subsequent calls.

    Uses {@link WebAssembly.compileStreaming} when available for the fastest path (compile while downloading); falls back to WebAssembly.compile(arrayBuffer) if streaming compile is unavailable or rejects (e.g. when the server sends the wrong Content-Type for the .wasm response).

    Rejected promises are evicted from the cache so callers can retry after a transient failure.

    The URL should be obtained by invoking the getLocateFile(config) callback — that's the single source of truth for SIMD vs no-SIMD selection and custom-URL substitution.

    Parameters

    • url: string

      The resolved URL of the .wasm binary.

    Returns Promise<Module>

Const getCoordinateWithCoordinateMode

Const getDataSeries3DDefinition

Const getDataSeriesDefinition

Const getDataSeriesFromRenderableSeries3DDefinition

Const getDataSeriesFromRenderableSeriesDefinition

Const getDefaultFontName

  • getDefaultFontName(): string
  • Returns string

getDescriptorsEqual

  • Returns true if descriptors are deeply equal, else false

    Parameters

    Returns boolean

getDestinationKind

  • Which kind a surface is currently registered under, or undefined if it is not registered. @ignore

    Parameters

    Returns TDestinationKind | undefined

Const getFirstLineHeightToBaseline

  • getFirstLineHeightToBaseline(lineBounds: TSRTextLineBounds): number
  • Calculates the height of the first line from top to baseline

    Parameters

    • lineBounds: TSRTextLineBounds

    Returns number

Const getFontFamily

  • getFontFamily(fontFamily: string, isNativeFont: boolean): string
  • Parameters

    • fontFamily: string
    • isNativeFont: boolean

    Returns string

Const getFontKey

  • getFontKey(webAssemblyContext: TSciChart | TSciChart3D, labelStyle: TTextStyle, advanced?: boolean, transformed?: boolean, useSlugText?: boolean): SCRTFontKey
  • get a fontKey required to aquire a native font. Native text renders via Slug (GPU Bezier) text, which evaluates glyph outlines in the fragment shader - one font key serves every size, rotation and transform of a face.

    Parameters

    • webAssemblyContext: TSciChart | TSciChart3D
    • labelStyle: TTextStyle
    • Default value advanced: boolean = false

      ignored for Slug keys; retained for signature compatibility

    • Default value transformed: boolean = false

      ignored for Slug keys; retained for signature compatibility

    • Default value useSlugText: boolean = true

      internal - pass false to get a legacy atlas font key. Only used by TextureManager.createTextTextureNative, which rasterizes text through the atlas CPU blit path that Slug fonts do not implement.

    Returns SCRTFontKey

Const getFontString

  • getFontString(fontStyle: string, fontWeight: string | undefined, fontSize: number, fontFamily: string): string
  • Creates the font string, which is used to set font on CanvasRenderingContext2D

    Parameters

    • fontStyle: string

      The font style

    • fontWeight: string | undefined

      The font weight

    • fontSize: number

      The font size in pixels

    • fontFamily: string

      The font family

    Returns string

Const getFunction

  • getFunction(baseType: EBaseType, type: string): Function
  • Parameters

    Returns Function

getHorizontalAnchorPoint

getHorizontalAxisRequiredSize

  • Parameters

    Returns number

Const getInterpolatedColor

  • getInterpolatedColor(htmlColor1: string, htmlColor2: string, coef: number): number
  • Parameters

    • htmlColor1: string
    • htmlColor2: string
    • coef: number

    Returns number

Const getInterpolatedColorDataForTexture

  • getInterpolatedColorDataForTexture(params: IGetColorDataParams, colorData: Uint32Array, precision: number): void
  • Parameters

    Returns void

Const getIsHorizontal

  • Parameters

    Returns boolean

getIsLicenseDebug

  • getIsLicenseDebug(): boolean
  • Returns boolean

Const getIsVertical

  • Parameters

    Returns boolean

Const getKey

  • Parameters

    Returns string

Const getLabel

  • getLabel(text: string, styleId: string): LabelInfo
  • Parameters

    • text: string
    • styleId: string

    Returns LabelInfo

Const getLabelCoordinates

  • getLabelCoordinates(currentAxis: AxisBase2D, labelPlacement: ELabelPlacement, x1Coord: number, x2Coord: number, y1Coord: number, y2Coord: number, textureHeight: number, textureWidth: number, horizontalAlignment?: EHorizontalAlignment, verticalAlignment?: EVerticalAlignment): { xPosition: number; yPosition: number }
  • Calculates coordinates of the annotation label. The coordinates are defined as an absolute position on the whole SciChartSurface.

    Parameters

    Returns { xPosition: number; yPosition: number }

    • xPosition: number
    • yPosition: number

getLabelPlacementForRadialAxis

getLabelRotationAndPlacementForAngularAxis

Const getLabelValue

  • getLabelValue(currentAxis: AxisBase2D, labelCoord: number): string
  • Parameters

    Returns string

Const getLegendContainerHtml

  • getLegendContainerHtml(placement: ELegendPlacement, textColor: string, backgroundColor: string, margin: Thickness, body: string, isExternal?: boolean): string
  • Parameters

    • placement: ELegendPlacement
    • textColor: string
    • backgroundColor: string
    • margin: Thickness
    • body: string
    • Default value isExternal: boolean = false

    Returns string

Const getLegendItemHtml

  • Parameters

    Returns string

getLicenseWizardMaxPort

  • getLicenseWizardMaxPort(): number
  • Returns number

getLicenseWizardPort

  • getLicenseWizardPort(): number
  • Returns number

Const getLineCoordinates

  • getLineCoordinates(x1Coord: number, y1Coord: number, x2Coord: number, y2Coord: number, labelHeight: number, labelWidth: number, labelPlacement: ELabelPlacement, currentAxis: AxisBase2D): { x1LineCoord: number; x2LineCoord: number; y1LineCoord: number; y2LineCoord: number }
  • Calculates annotation line coordinates accordingly to axis alignment and label placement. Returns coordinates relative to seriesViewRect.

    Parameters

    • x1Coord: number
    • y1Coord: number
    • x2Coord: number
    • y2Coord: number
    • labelHeight: number
    • labelWidth: number
    • labelPlacement: ELabelPlacement
    • currentAxis: AxisBase2D

    Returns { x1LineCoord: number; x2LineCoord: number; y1LineCoord: number; y2LineCoord: number }

    • x1LineCoord: number
    • x2LineCoord: number
    • y1LineCoord: number
    • y2LineCoord: number

getLineStylesEqual

  • Parameters

    Returns boolean

Const getLoadedModules

  • Which modules are loaded into this wasm context.

    Parameters

    Returns TSciChartModuleName[]

Const getMaxSize

  • getMaxSize(): number
  • Returns number

Const getMinAge

  • getMinAge(): number
  • Returns number

Const getMonthString

  • getMonthString(month: number): string
  • Parameters

    • month: number

    Returns string

Const getMultilineTextHeight

  • getMultilineTextHeight(textBounds: TSRTextBounds): number
  • Calculates multiline text height from the top to the last line baseline

    Parameters

    • textBounds: TSRTextBounds

    Returns number

Const getNativeRect

  • getNativeRect(wasmContext: TSciChart, xTopLeft: number, yTopLeft: number, xBottomRight: number, yBottomRight: number): SCRTRectVertex
  • Parameters

    • wasmContext: TSciChart
    • xTopLeft: number
    • yTopLeft: number
    • xBottomRight: number
    • yBottomRight: number

    Returns SCRTRectVertex

Const getNativeTextPosition

  • Parameters

    • x: number

      Text position X coordinate

    • y: number

      Text position Y coordinate

    • horizontalAnchorPoint: EHorizontalAnchorPoint

      Horizontal alignment

    • verticalAnchorPoint: EVerticalAnchorPoint

      Vertical alignment

    • textBounds: TSRTextBounds

      Text bounds

    • padding: Thickness

      The padding

    Returns { x: number; y: number }

    x and y position where to draw text for SCRTFont.DrawStringAdvanced() method

    • x: number
    • y: number

Const getNativeTextSize

  • getNativeTextSize(text: string, nativeFont: SCRTFont, textStyle: TNativeTextStyle, webAssemblyContext: TSciChart, rotation?: number): { deltaX: number; deltaY: number; nativeLineSpacing: number; textHeight: number; textWidth: number }
  • Parameters

    • text: string
    • nativeFont: SCRTFont
    • textStyle: TNativeTextStyle
    • webAssemblyContext: TSciChart
    • Default value rotation: number = 0

    Returns { deltaX: number; deltaY: number; nativeLineSpacing: number; textHeight: number; textWidth: number }

    • deltaX: number
    • deltaY: number
    • nativeLineSpacing: number
    • textHeight: number
    • textWidth: number

Const getNearestLineSegment

  • Parameters

    Returns { isHit: boolean; isWithinDataBounds: boolean; nearestDistance: number; nearestPointIndex: number }

    • isHit: boolean
    • isWithinDataBounds: boolean
    • nearestDistance: number
    • nearestPointIndex: number

Const getNearestNonUniformHeatmapPoint

Const getNearestPoint

  • getNearestPoint(webassemblyContext: TSciChart, xCoordinateCalculator: CoordinateCalculatorBase, yCoordinateCalculator: CoordinateCalculatorBase, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, isSorted: boolean, xHitCoord: number, yHitCoord: number, hitTestRadius: number): { distance: number; nearestPointIndex: number }
  • Parameters

    Returns { distance: number; nearestPointIndex: number }

    • distance: number
    • nearestPointIndex: number

getNearestPolarPoint

  • Parameters

    Returns { distance: number; nearestPointIndex: number }

    • distance: number
    • nearestPointIndex: number

getNearestPolarPointXDirSorted

  • Parameters

    Returns { distance: number; nearestPointIndex: number; secondNearestPointIndex: number }

    • distance: number
    • nearestPointIndex: number
    • secondNearestPointIndex: number

Const getNearestTriangle

  • Finds a Triangle that has been hit and return indices of the first and the last vertex of this triangle, If there is no hit return -1, -1

    Parameters

    Returns { isHit: boolean; nearestPointIndex: number; nearestPointIndex2: number }

    • isHit: boolean
    • nearestPointIndex: number
    • nearestPointIndex2: number

Const getNearestUniformHeatmapPoint

  • Parameters

    Returns { xIndex: number; yIndex: number; zValue: number }

    • xIndex: number
    • yIndex: number
    • zValue: number

Const getNearestXPoint

  • Parameters

    Returns number

Const getNearestXyPoint

  • Parameters

    Returns { distance: number; nearestPointIndex: number }

    • distance: number
    • nearestPointIndex: number

Const getNearestXyyPoint

  • Parameters

    Returns { distance: number; nearestPointIndex: number }

    • distance: number
    • nearestPointIndex: number

Const getNextRandomPriceBarFactory

  • getNextRandomPriceBarFactory(startDateTimestamp: number, candleIntervalMinutes: number, simulateDateGap: boolean, startPrice: number): (Anonymous function)
  • Parameters

    • startDateTimestamp: number
    • candleIntervalMinutes: number
    • simulateDateGap: boolean
    • startPrice: number

    Returns (Anonymous function)

Const getNoisySinewave

  • getNoisySinewave(pointCount: number, xMax: number, frequency: number, amplitude: number, noiseAmplitude: number): number[][]
  • Parameters

    • pointCount: number
    • xMax: number
    • frequency: number
    • amplitude: number
    • noiseAmplitude: number

    Returns number[][]

getOHLCYRange

  • getOHLCYRange(indicesRange: NumberRange, openValues: SCRTDoubleVector, highValues: SCRTDoubleVector, lowValues: SCRTDoubleVector, closeValues: SCRTDoubleVector): NumberRange
  • Parameters

    • indicesRange: NumberRange
    • openValues: SCRTDoubleVector
    • highValues: SCRTDoubleVector
    • lowValues: SCRTDoubleVector
    • closeValues: SCRTDoubleVector

    Returns NumberRange

getOffsets

  • Parameters

    Returns Thickness

Const getOptionsFromDefinition

Const getPenStrokeThickness

  • getPenStrokeThickness(strokeThickness: number, pixelRatio: number): number
  • Returns the strokeThickness to use when creating a pen, clamped to a minimum of 2 device pixels so thin strokes (e.g. strokeThickness 1) stay visible - a 1px line renders too faintly via the anti-aliased GPU line-strip (SCJS-2613).

    remarks

    The result is in CSS pixels, because pen creation re-applies the DPI scale (Math.round(thickness * pixelRatio)). Expressing the clamp as 2 / pixelRatio yields exactly 2 device pixels on any DPI (e.g. 1px -> 2 device px on retina, not 3). A zero or negative thickness (no stroke) is returned untouched.

    Parameters

    • strokeThickness: number

      The requested strokeThickness, in CSS pixels

    • pixelRatio: number

      The DPI scaling factor, e.g. DpiHelper.PIXEL_RATIO

    Returns number

getPolarLabelRotation

  • Calculates label rotation for a polar chart with different label modes

    Parameters

    Returns number

    an angle in radians to apply for the label when drawing

Const getRandomInRange

  • getRandomInRange(min: number, max: number, decimalPlaces: number): number
  • Return random number in range [min, max]

    Parameters

    • min: number
    • max: number
    • decimalPlaces: number

    Returns number

Const getReferenceCoordCalcsForSubSurface

getRubberBandRect

  • Given the starting and end mouse-point, computes a rectangle to perform zoom over. Takes into account the xyDirection

    Parameters

    • pointFrom: Point

      the starting point of the mouse

    • pointTo: Point

      the end point of the mouse

    • xyDirection: EXyDirection

      the XyDirection

    • viewportRect: Rect

    Returns Rect

Const getScrtBrushFromCache

  • getScrtBrushFromCache(cache: BrushCache): SCRTBrush
  • Retrieves a native {@link SCRTBrush} Brush from the provided {@link BrushCache} cache object. The retrieved entity is a wrapper around {@link SCRTPen}

    Parameters

    • cache: BrushCache

      The object that stores a brush

    Returns SCRTBrush

    new or existing instance of {@link SCRTBrush}}

Const getScrtPenFromCache

  • getScrtPenFromCache(penCache: Pen2DCache): SCRTPen
  • Retrieves a native {@link SCRTPen} Pen from the provided {@link Pen2DCache} cache object

    Parameters

    • penCache: Pen2DCache

      The object that stores a pen

    Returns SCRTPen

    the new or existing instance of {@link SCRTPen}}

getSharedEngineDestinations

  • Destinations sharing the master wasm context — see {@link SHARED_ENGINE_KINDS}. @ignore

    Returns TSciChartDestination[]

Const getSharedWasmContext

  • getSharedWasmContext(): Promise<{ AxisPlaneVisibilityMode: { AxisPlaneVisibilityAuto: AxisPlaneVisibilityMode; AxisPlaneVisibilityNegativeSide: AxisPlaneVisibilityMode; AxisPlaneVisibilityPositiveSide: AxisPlaneVisibilityMode }; CategoryCoordinateCalculatorDouble: {}; DoubleVector: {}; FlippedCategoryCoordinateCalculatorDouble: {}; FlippedIndexCoordinateCalculator: {}; FlippedLinearCoordinateCalculatorDouble: {}; FlippedLinearCoordinateCalculatorSingle: {}; FlippedLogarithmicCoordinateCalculator: {}; FloatVector: {}; GetMallinfoStats: () => MallinfoStats; IndexCalculator: {}; IndexCalculatorParams: {}; IndexCoordinateCalculator: {}; IntVector: {}; LinearCoordinateCalculatorDouble: {}; LinearCoordinateCalculatorSingle: {}; LogarithmicCoordinateCalculator: {}; Math3D: { CenterOfVectors: (a: TSRVector3, b: TSRVector3) => TSRVector3; DegToRad: (degrees: number) => number; DirectionToPitchAndYaw: (direction: TSRVector3) => PitchYaw; IsZero: (value: number) => boolean; PitchAndYawToDirection: (pitch: number, yaw: number) => TSRVector3; RadToDeg: (radians: number) => number; RotateAroundPoint: (originPoint: TSRVector3, pointToRotate: TSRVector3, rotationAngleDegrees: number, rotationAxis: TSRVector3) => TSRVector3 }; NiceDoubleScale: { CalculateTickSpacing: (min: number, max: number, minorsPerMajor: number, maxTicks: number) => SCRTDoubleRange; NiceNum: (range: number, round: boolean) => number }; NiceLogScale: { CalculateLowPrecisionTickSpacing: (min: number, max: number, logBase: number, minorsPerMajor: number, maxTicks: number) => SCRTDoubleRange; CalculateTickSpacing: (min: number, max: number, logBase: number, minorsPerMajor: number, maxTicks: number) => SCRTDoubleRange }; NumberUtil: { Constrain: (value: number, lowerBound: number, upperBound: number) => number; FindIndex: (inputValues: SCRTDoubleVector, value: number, searchMode: SCRTFindIndexSearchMode, dataIsSortedAscending: boolean) => number; IsDivisibleBy: (value: number, divisor: number) => boolean; IsPowerOf: (value: number, power: number, logBase: number) => boolean; LinearInterpolateI: (from: number, to: number, ratio: number) => number; Log: (value: number, logBase: number) => number; MinMax: (inputValues: SCRTDoubleVector, containsNaN: boolean) => SCRTDoubleRange; MinMaxPair: (inputValues1: SCRTDoubleVector, inputValues2: SCRTDoubleVector, mult: number, multInv: number, containsNaN: boolean) => SCRTDoubleRange; MinMaxPairWithIndex: (inputValues1: SCRTDoubleVector, inputValues2: SCRTDoubleVector, mult: number, multInv: number, startIndex: number, count: number, containsNaN: boolean) => SCRTDoubleRange; MinMaxWithIndex: (inputValues: SCRTDoubleVector, startIndex: number, count: number, containsNaN: boolean) => SCRTDoubleRange; RoundDown: (value: number, nearest: number) => number; RoundDownPower: (value: number, power: number, logBase: number) => number; RoundToDigits: (value: number, decimals: number) => number; RoundUp: (value: number, nearest: number) => number; RoundUpPower: (value: number, power: number, logBase: number) => number }; ResamplingArgs: {}; ResamplingData: { CategoryData: ResamplingData; LinearData: ResamplingData; UnevenlySpacedData: ResamplingData; UnsortedData: ResamplingData }; ResamplingMode: { Auto: ResamplingMode; Max: ResamplingMode; Mid: ResamplingMode; Min: ResamplingMode; MinMax: ResamplingMode; MinOrMax: ResamplingMode; None: ResamplingMode }; SCRT3DGetScreenHeight: () => number; SCRT3DGetScreenWidth: () => number; SCRT3DSetClearColor: (reg: number, green: number, blue: number, alpha: number) => void; SCRT3DSetWaterMarkProperties: (properties: SCRTWaterMarkProperties) => void; SCRTAnimationHelperFade: (yValues: SCRTDoubleVector, progress: number, ysValues: SCRTDoubleVector) => number; SCRTAnimationHelperScale: (yValues: SCRTDoubleVector, zeroLine: number, progress: number, ysValues: SCRTDoubleVector) => number; SCRTAnimationHelperSweep: (yValues: SCRTDoubleVector, progress: number, ysValues: SCRTDoubleVector) => number; SCRTAnimationHelperWave: (yValues: SCRTDoubleVector, durationFraction: number, zeroLine: number, progress: number, ysValues: SCRTDoubleVector) => number; SCRTArcParams: {}; SCRTArcVertex: {}; SCRTArgsortDouble: (keys: SCRTDoubleVector, order: IntVector, descending: boolean) => void; SCRTArgsortDoubleByOrder: (keys: SCRTDoubleVector, order: IntVector, descending: boolean) => void; SCRTArgsortIntByOrder: (keys: IntVector, order: IntVector, descending: boolean) => void; SCRTAxisCubeDescriptor: {}; SCRTAxisCubeEntity: {} & { implement: (wrapper: SCRTAxisCubeEntityWrapper) => SCRTAxisCubeEntity }; SCRTAxisDescriptor: {}; SCRTAxisRange: {}; SCRTBandDrawingParams: {}; SCRTBandSeriesDrawingProvider: {}; SCRTBoxPlotDataSeries2D: {}; SCRTBrush: {}; SCRTBubbleSeriesDrawingProvider: {}; SCRTCADModelSceneEntity: {}; SCRTCandleType: { CandleStick: SCRTCandleType; OHLC: SCRTCandleType }; SCRTCandlestickSeriesDrawingProvider: {}; SCRTColorTextureVertex: {} & {}; SCRTColorVertex: {} & {}; SCRTColumnDrawingParams: {}; SCRTColumnSeriesDrawingProvider: {}; SCRTColumnXMode: { ColumnXMode_Mid: SCRTColumnXMode; ColumnXMode_MidX2Width: SCRTColumnXMode; ColumnXMode_Start: SCRTColumnXMode; ColumnXMode_StartX2End: SCRTColumnXMode; ColumnXMode_StartX2Width: SCRTColumnXMode; ColumnXMode_Width: SCRTColumnXMode }; SCRTColumnYMode: { ColumnYMode_CenterHeight: SCRTColumnYMode; ColumnYMode_TopBottom: SCRTColumnYMode; ColumnYMode_TopHeight: SCRTColumnYMode }; SCRTColumnsSceneEntity: {} & { implement: (wrapper: SCRTColumnsSceneEntityWrapper) => SCRTColumnsSceneEntity }; SCRTColumnsSceneEntityParams: {}; SCRTCompactOrderByMask: (order: IntVector, mask: IntVector, result: IntVector) => void; SCRTContourParams: {}; SCRTCopyToDestinationInterface: { implement: (wrapper: SCRTCopyToDestinationInterfaceWrapper) => SCRTCopyToDestinationInterface }; SCRTCreateBitmapTexture: (width: number, height: number, textureFormat: eTSRTextureFormat) => TSRTexture; SCRTCreatePalette: (colors: IntVector) => SCRTPalette; SCRTCredentials: { ApplyLicenseResponse: (response: string) => number; ApplySimpleResponse: (token: string) => number; Dump: () => string; GenerateClientNonce: () => string; GetAllowDebugging: () => boolean; GetBuildStamp: () => string; GetDeveloperCount: () => number; GetEncrypted: (stringToEncrypt: string) => string; GetEncryptedOrderId: () => string; GetExpiryDate: () => string; GetLicenseChallenge: () => string; GetLicenseDaysRemaining: () => number; GetLicenseErrors: () => string; GetLicenseType: () => SCRTLicenseType; GetOrderId: () => string; GetProductCode: () => string; HasFeature: (feature: string) => SCRTLicenseType; Hash256Encode64: (stringToHash: string) => string; IsRoundTripValidation: () => boolean; IsSimpleValidation: () => boolean; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => boolean }; SCRTDataManagerGetRefCount: (dataSeries: SCRTDataSeries2D) => number; SCRTDataManagerGetSeriesCount: () => number; SCRTDataManagerRegister: (dataSeries: SCRTDataSeries2D) => void; SCRTDataManagerRemove: (dataSeries: SCRTDataSeries2D) => void; SCRTDictTextParams: {}; SCRTDoLeakCheck: () => void; SCRTDoubleArraysXyResampleOutput: {}; SCRTDoubleRange: {} & {}; SCRTDoubleResampler: {}; SCRTDoubleResamplerMergeIndicesParams: {}; SCRTDoubleVector: {} & {}; SCRTDrawArcsParams: {}; SCRTDrawLinesParams: {}; SCRTDrawPrimitivesParams: {}; SCRTDrawRectsParams: {}; SCRTDrawStringFromDict: (font: SCRTFont, dict: SCRTStringDictionary, params: SCRTDictTextParams) => void; SCRTDrawingParams: {}; SCRTDynamicDataSeries2D: {}; SCRTFifoVector: {}; SCRTFileLoadCallbackInterface: { implement: (wrapper: SCRTFileLoadCallbackInterfaceWrapper) => SCRTFileLoadCallbackInterface }; SCRTFillTextureAbgr: (texture: TSRTexture, width: number, height: number, pixels: IntVector) => void; SCRTFillTextureFloat32: (texture: TSRTexture, width: number, height: number, pixels: SCRTFloatVector) => TSRVector4; SCRTFillVectorSequential: (input: SCRTDoubleVector, count: number) => void; SCRTFilterMaskAnd: (mask: IntVector, acc: IntVector) => void; SCRTFilterOneOfDouble: (keys: SCRTDoubleVector, values: SCRTDoubleVector, mask: IntVector, missingPasses: boolean) => void; SCRTFilterOneOfInt: (keys: IntVector, values: IntVector, mask: IntVector, missingPasses: boolean) => void; SCRTFilterRangeDouble: (keys: SCRTDoubleVector, mask: IntVector, min: number, max: number, missingPasses: boolean) => void; SCRTFilterSet: {}; SCRTFindIndexSearchMode: { Exact: SCRTFindIndexSearchMode; Nearest: SCRTFindIndexSearchMode; RoundDown: SCRTFindIndexSearchMode; RoundUp: SCRTFindIndexSearchMode }; SCRTFloatVector: {}; SCRTFontKey: {}; SCRTFrameRenderer2D: {}; SCRTFrameRenderer3D: {}; SCRTGetCommandBuffer: () => TSRCommandBuffer; SCRTGetGlobalRenderLoopManager: () => SCRTRenderLoopManager; SCRTGetIsSelectionBufferEnabled: () => boolean; SCRTGetMainRenderContext2D: () => SCRTRenderContext; SCRTGetScreenHeight: () => number; SCRTGetScreenWidth: () => number; SCRTGetSelectionInfo: (xCoord: number, yCoord: number) => SCRTSelectionInfo; SCRTGetTemplateMesh: (meshId: eSCRTMesh) => TSRIndexedMesh; SCRTGetTemplateTexture: (textureId: eSCRTTexture) => TSRTexture; SCRTGlowEffect: {}; SCRTGridDrawingProperties: {}; SCRTGridMeshEntity: {} & { implement: (wrapper: SCRTGridMeshEntityWrapper) => SCRTGridMeshEntity }; SCRTHeatmapDrawingParams: {}; SCRTHeatmapSeriesDrawingProvider: {}; SCRTHeightColorSettings: {}; SCRTHeightSeriesDrawingProvider: {}; SCRTHeightSeriesParams: {}; SCRTHitTestHelper: { GetNearestPolarXyPoint: (xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xHitCoord: number, yHitCoord: number, xDirectionOnly: boolean, isSorted: boolean) => SCRTDoubleRange; GetNearestTriangle: (isPolygon: boolean, polygonVertices: number, xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xHitCoord: number, yHitCoord: number) => SCRTDoubleRange; GetNearestXyPoint: (xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, isSorted: boolean, xHitCoord: number, yHitCoord: number, hitTestRadius: number) => SCRTDoubleRange }; SCRTImmediateLitMeshDrawingParams: {}; SCRTImmediateLitMeshDrawingProvider: {}; SCRTInitEngine2D: () => void; SCRTIntFifoVector: {}; SCRTIntVector: {} & {}; SCRTInterpolatePolarBand: (inParams: SCRTPolarInterpolationParams, outParams: SCRTPolarInterpolationParams, radialCoordinateCalculator: CoordinateCalculator, angularRange: number, totalPoints: number, closeNaNGaps: boolean) => void; SCRTInterpolatePolarLine: (inParams: SCRTPolarInterpolationParams, outParams: SCRTPolarInterpolationParams, radialCoordinateCalculator: CoordinateCalculator, angularRange: number, totalPoints: number, closeNaNGaps: boolean) => void; SCRTLicenseType: { LICENSE_TYPE_COMMUNITY: SCRTLicenseType; LICENSE_TYPE_FULL: SCRTLicenseType; LICENSE_TYPE_FULL_EXPIRED: SCRTLicenseType; LICENSE_TYPE_INVALID_DEVELOPER_LICENSE: SCRTLicenseType; LICENSE_TYPE_INVALID_LICENSE: SCRTLicenseType; LICENSE_TYPE_NO_LICENSE: SCRTLicenseType; LICENSE_TYPE_REQUIRES_VALIDATION: SCRTLicenseType; LICENSE_TYPE_SUBSCRIPTION_EXPIRED: SCRTLicenseType; LICENSE_TYPE_TRIAL: SCRTLicenseType; LICENSE_TYPE_TRIAL_EXPIRED: SCRTLicenseType }; SCRTLineDrawingParams: {}; SCRTLineGapMode: { CloseGaps: SCRTLineGapMode; Default: SCRTLineGapMode; DrawGaps: SCRTLineGapMode }; SCRTLineSegmentDrawingProvider: {}; SCRTLineSeriesDrawingProvider: {}; SCRTLineType: { Digital: SCRTLineType; List: SCRTLineType; Nan: SCRTLineType; Strip: SCRTLineType }; SCRTLinesMesh: {}; SCRTListModuleRegistry: () => string; SCRTLitMeshVertex: {}; SCRTMarkOneOfInt: (keys: IntVector, values: IntVector, acc: IntVector) => void; SCRTMeasureStringFromDict: (font: SCRTFont, dict: SCRTStringDictionary, code: number, bounds: TSRTextBounds, lineSpacing: number) => void; SCRTMemCopy: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMemMove: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMesh: {}; SCRTMountainDrawingParams: {}; SCRTMountainSeriesDrawingProvider: {}; SCRTMultiplyColorVectorOpacity: (originalVector: IntVector, resultVector: IntVector, factor: number) => void; SCRTNodeOverrideParams: {}; SCRTOhlcDataSeries2D: {}; SCRTOhlcDrawingParams: {}; SCRTPalette: {}; SCRTPen: {}; SCRTPenDescriptor: {}; SCRTPoint3DSceneEntity: {} & { implement: (wrapper: SCRTPoint3DSceneEntityWrapper) => SCRTPoint3DSceneEntity }; SCRTPoint3DSceneEntityParams: {}; SCRTPointDrawingParams: {}; SCRTPointLine3DSceneEntity: {} & { implement: (wrapper: SCRTPointLine3DSceneEntityWrapper) => SCRTPointLine3DSceneEntity }; SCRTPointLines3DSceneEntityParams: {}; SCRTPolarBandDrawingParams: {}; SCRTPolarBandSeriesDrawingProvider: {}; SCRTPolarColumnDrawingParams: {}; SCRTPolarColumnSeriesDrawingProvider: {}; SCRTPolarCoordinateTransform: {}; SCRTPolarInterpolationParams: {}; SCRTPolarLineDrawingParams: {}; SCRTPolarLineSeriesDrawingProvider: {}; SCRTPreloadSlugFont: (faceName: string) => void; SCRTPrimitivesEffect: { BlurredTriangles: SCRTPrimitivesEffect; Contours: SCRTPrimitivesEffect; Heatmap: SCRTPrimitivesEffect; Triangles: SCRTPrimitivesEffect }; SCRTRectVertex: {} & {}; SCRTRectangleDrawingParams: {}; SCRTRectangleSeriesDrawingProvider: {}; SCRTRegisterFile: (fileName: string, url: string, callback: SCRTFileLoadCallbackInterface) => void; SCRTRenderLoopManager: { implement: (wrapper: SCRTRenderLoopManagerWrapper) => SCRTRenderLoopManager }; SCRTScatterSeriesDrawingProvider: {}; SCRTSceneEntity: { implement: (wrapper: SCRTSceneEntityWrapper) => SCRTSceneEntity }; SCRTSceneHost3D: {}; SCRTSceneHostCount: () => number; SCRTSceneHostOnEngineRestartAll: () => void; SCRTSceneHostRegister: (host: SCRTSceneHost3D) => void; SCRTSceneHostUnregister: (host: SCRTSceneHost3D) => void; SCRTSceneWorld: {}; SCRTSelectionInfo: {}; SCRTSeriesEffectType: { Glow: SCRTSeriesEffectType }; SCRTSetActiveTexture: (texture: TSRTexture) => void; SCRTSetActiveWorld: (scrtSceneWorld: SCRTSceneWorld) => void; SCRTSetClearAlphaParams: (enabled: boolean, alpha: number) => void; SCRTSetGlobalCopyToDestinationInterface: (_pCopyToDestinationInterface: SCRTCopyToDestinationInterface) => void; SCRTSetGlobalRenderLoopManager: (_pRenderLoopManager: SCRTRenderLoopManager) => void; SCRTSetIsSelectionBufferEnabled: (isEnabled: boolean) => void; SCRTSetMainWindowSize: (width: number, height: number) => void; SCRTSetTextureLinearSamplerEnabled: (texture: TSRTexture, enabled: boolean) => void; SCRTSetWaterMarkProperties: (properties: SCRTWaterMarkProperties) => void; SCRTShadowEffect: {}; SCRTShutdownEngine2D: () => void; SCRTSmearSeriesDrawingProvider: {}; SCRTSmearSeriesParams: {}; SCRTSolidBrush: {}; SCRTSplineHelperCubicSpline: (xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xsValues: SCRTDoubleVector, ysValues: SCRTDoubleVector, initialSize: number, interpolationPoints: number, containsNAN: boolean) => void; SCRTSplineHelperCubicSplineWithGaps: (xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xsValues: SCRTDoubleVector, ysValues: SCRTDoubleVector, initialSize: number, interpolationPoints: number) => void; SCRTSpriteType: { FixedSize: SCRTSpriteType; Normal: SCRTSpriteType }; SCRTStackedColumnDrawingParams: {}; SCRTStackedColumnSeriesDrawingProvider: {}; SCRTStringDictionary: {}; SCRTSurfaceDestination: { implement: (wrapper: SCRTSurfaceDestinationWrapper) => SCRTSurfaceDestination }; SCRTTextStyle: {}; SCRTTextureBrush: {}; SCRTTextureBrushSamplerMode: { Linear: SCRTTextureBrushSamplerMode; Point: SCRTTextureBrushSamplerMode; Wrap: SCRTTextureBrushSamplerMode }; SCRTTickStyle: {}; SCRTTriangleDrawMode: { List: SCRTTriangleDrawMode; Polygon: SCRTTriangleDrawMode; Strip: SCRTTriangleDrawMode }; SCRTTriangleDrawingParams: {}; SCRTTriangleSeriesDrawingProvider: {}; SCRTUintVector: {}; SCRTWaterMarkProperties: {}; SCRTXvaluesProvider: {}; SCRTXyDataSeries2D: {}; SCRTXyyDataSeries2D: {}; SCRTXyzDataSeries2D: {}; SCRTXyzGizmoEntity: { implement: (wrapper: SCRTXyzGizmoEntityWrapper) => SCRTXyzGizmoEntity }; StringVector: {}; TSRCamera: {}; TSRRequestCanvasDraw: (canvasID: string) => void; TSRRequestDraw: () => void; TSRRequestExit: () => void; TSRSetDrawRequestsEnabled: (enabled: boolean) => void; TSRTextBounds: {}; TSRTextLineBounds: {}; TSRVector2: {} & {}; TSRVector3: {} & {}; TSRVector4: {} & {}; UIntVector: {}; VectorArcVertex: {}; VectorColorTextureVertex: {}; VectorColorVertex: {}; VectorLitMeshVertex: {}; VectorRectVertex: {}; WStringVector: {}; canvas: HTMLCanvasElement; canvas2D: HTMLCanvasElement; eAxisPlaneDrawLabelsMode: { AxisPlaneDrawLabelsBoth: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsHidden: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsLocalX: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsLocalY: eAxisPlaneDrawLabelsMode }; eAxisPlaneDrawTitlesMode: { AxisPlaneDrawTitlesBoth: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesHidden: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesLocalX: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesLocalY: eAxisPlaneDrawTitlesMode }; eSCRTAxisTitleRotationMode: { AxisTitleRotationAuto: eSCRTAxisTitleRotationMode; AxisTitleRotationHorizontal: eSCRTAxisTitleRotationMode; AxisTitleRotationVertical: eSCRTAxisTitleRotationMode }; eSCRTBrushMappingMode: { PerPrimitive: eSCRTBrushMappingMode; PerScreen: eSCRTBrushMappingMode }; eSCRTGridDrawingFeatures: { SCRT_GRID_DRAWING_FEATURES_CONTOURS: eSCRTGridDrawingFeatures; SCRT_GRID_DRAWING_FEATURES_SKIRT: eSCRTGridDrawingFeatures; SCRT_GRID_DRAWING_FEATURES_SOLID: eSCRTGridDrawingFeatures; SCRT_GRID_DRAWING_FEATURES_WIREFRAME: eSCRTGridDrawingFeatures }; eSCRTGridMeshResolution: { SCRT_GRID_MESH_RES_X1: eSCRTGridMeshResolution; SCRT_GRID_MESH_RES_X2: eSCRTGridMeshResolution; SCRT_GRID_MESH_RES_X4: eSCRTGridMeshResolution }; eSCRTMesh: { SCRT_MESH_CUBE: eSCRTMesh; SCRT_MESH_CYLINDER: eSCRTMesh; SCRT_MESH_PYRAMID: eSCRTMesh; SCRT_MESH_SPHERE: eSCRTMesh }; eSCRTTexture: { SCRT_TEXTURE_CIRCLE: eSCRTTexture; SCRT_TEXTURE_SOLIDWHITE: eSCRTTexture; SCRT_TEXTURE_SQUARE: eSCRTTexture; SCRT_TEXTURE_TRIANGLE: eSCRTTexture }; eSCRTTickLabelOrientationMode: { TickLabelOrientationAuto: eSCRTTickLabelOrientationMode; TickLabelOrientationHorizontal: eSCRTTickLabelOrientationMode }; eSCRT_POINT_MARKER_TYPE: { SCRT_POINT_MARKER_TYPE_INSTANCED_MESH: eSCRT_POINT_MARKER_TYPE; SCRT_POINT_MARKER_TYPE_PIXEL: eSCRT_POINT_MARKER_TYPE; SCRT_POINT_MARKER_TYPE_TEXTURED_QUAD: eSCRT_POINT_MARKER_TYPE }; eTSRCameraProjectionMode: { CAMERA_PROJECTIONMODE_ORTHOGONAL: eTSRCameraProjectionMode; CAMERA_PROJECTIONMODE_PERSPECTIVE: eTSRCameraProjectionMode }; eTSRRenderMode: { TSR_RENDERMODE_LINELIST: eTSRRenderMode; TSR_RENDERMODE_LINESTRIP: eTSRRenderMode; TSR_RENDERMODE_POINTS: eTSRRenderMode; TSR_RENDERMODE_TRIANGLEFAN: eTSRRenderMode; TSR_RENDERMODE_TRIANGLES: eTSRRenderMode; TSR_RENDERMODE_TRIANGLESTRIP: eTSRRenderMode }; eTSRTextAlignMode: { Center: eTSRTextAlignMode; Left: eTSRTextAlignMode; Right: eTSRTextAlignMode }; eTSRTextureFormat: { TSR_TEXTUREFORMAT_A8B8G8R8: eTSRTextureFormat; TSR_TEXTUREFORMAT_A8R8G8B8: eTSRTextureFormat; TSR_TEXTUREFORMAT_R32F: eTSRTextureFormat } }>
  • Returns Promise<{ AxisPlaneVisibilityMode: { AxisPlaneVisibilityAuto: AxisPlaneVisibilityMode; AxisPlaneVisibilityNegativeSide: AxisPlaneVisibilityMode; AxisPlaneVisibilityPositiveSide: AxisPlaneVisibilityMode }; CategoryCoordinateCalculatorDouble: {}; DoubleVector: {}; FlippedCategoryCoordinateCalculatorDouble: {}; FlippedIndexCoordinateCalculator: {}; FlippedLinearCoordinateCalculatorDouble: {}; FlippedLinearCoordinateCalculatorSingle: {}; FlippedLogarithmicCoordinateCalculator: {}; FloatVector: {}; GetMallinfoStats: () => MallinfoStats; IndexCalculator: {}; IndexCalculatorParams: {}; IndexCoordinateCalculator: {}; IntVector: {}; LinearCoordinateCalculatorDouble: {}; LinearCoordinateCalculatorSingle: {}; LogarithmicCoordinateCalculator: {}; Math3D: { CenterOfVectors: (a: TSRVector3, b: TSRVector3) => TSRVector3; DegToRad: (degrees: number) => number; DirectionToPitchAndYaw: (direction: TSRVector3) => PitchYaw; IsZero: (value: number) => boolean; PitchAndYawToDirection: (pitch: number, yaw: number) => TSRVector3; RadToDeg: (radians: number) => number; RotateAroundPoint: (originPoint: TSRVector3, pointToRotate: TSRVector3, rotationAngleDegrees: number, rotationAxis: TSRVector3) => TSRVector3 }; NiceDoubleScale: { CalculateTickSpacing: (min: number, max: number, minorsPerMajor: number, maxTicks: number) => SCRTDoubleRange; NiceNum: (range: number, round: boolean) => number }; NiceLogScale: { CalculateLowPrecisionTickSpacing: (min: number, max: number, logBase: number, minorsPerMajor: number, maxTicks: number) => SCRTDoubleRange; CalculateTickSpacing: (min: number, max: number, logBase: number, minorsPerMajor: number, maxTicks: number) => SCRTDoubleRange }; NumberUtil: { Constrain: (value: number, lowerBound: number, upperBound: number) => number; FindIndex: (inputValues: SCRTDoubleVector, value: number, searchMode: SCRTFindIndexSearchMode, dataIsSortedAscending: boolean) => number; IsDivisibleBy: (value: number, divisor: number) => boolean; IsPowerOf: (value: number, power: number, logBase: number) => boolean; LinearInterpolateI: (from: number, to: number, ratio: number) => number; Log: (value: number, logBase: number) => number; MinMax: (inputValues: SCRTDoubleVector, containsNaN: boolean) => SCRTDoubleRange; MinMaxPair: (inputValues1: SCRTDoubleVector, inputValues2: SCRTDoubleVector, mult: number, multInv: number, containsNaN: boolean) => SCRTDoubleRange; MinMaxPairWithIndex: (inputValues1: SCRTDoubleVector, inputValues2: SCRTDoubleVector, mult: number, multInv: number, startIndex: number, count: number, containsNaN: boolean) => SCRTDoubleRange; MinMaxWithIndex: (inputValues: SCRTDoubleVector, startIndex: number, count: number, containsNaN: boolean) => SCRTDoubleRange; RoundDown: (value: number, nearest: number) => number; RoundDownPower: (value: number, power: number, logBase: number) => number; RoundToDigits: (value: number, decimals: number) => number; RoundUp: (value: number, nearest: number) => number; RoundUpPower: (value: number, power: number, logBase: number) => number }; ResamplingArgs: {}; ResamplingData: { CategoryData: ResamplingData; LinearData: ResamplingData; UnevenlySpacedData: ResamplingData; UnsortedData: ResamplingData }; ResamplingMode: { Auto: ResamplingMode; Max: ResamplingMode; Mid: ResamplingMode; Min: ResamplingMode; MinMax: ResamplingMode; MinOrMax: ResamplingMode; None: ResamplingMode }; SCRT3DGetScreenHeight: () => number; SCRT3DGetScreenWidth: () => number; SCRT3DSetClearColor: (reg: number, green: number, blue: number, alpha: number) => void; SCRT3DSetWaterMarkProperties: (properties: SCRTWaterMarkProperties) => void; SCRTAnimationHelperFade: (yValues: SCRTDoubleVector, progress: number, ysValues: SCRTDoubleVector) => number; SCRTAnimationHelperScale: (yValues: SCRTDoubleVector, zeroLine: number, progress: number, ysValues: SCRTDoubleVector) => number; SCRTAnimationHelperSweep: (yValues: SCRTDoubleVector, progress: number, ysValues: SCRTDoubleVector) => number; SCRTAnimationHelperWave: (yValues: SCRTDoubleVector, durationFraction: number, zeroLine: number, progress: number, ysValues: SCRTDoubleVector) => number; SCRTArcParams: {}; SCRTArcVertex: {}; SCRTArgsortDouble: (keys: SCRTDoubleVector, order: IntVector, descending: boolean) => void; SCRTArgsortDoubleByOrder: (keys: SCRTDoubleVector, order: IntVector, descending: boolean) => void; SCRTArgsortIntByOrder: (keys: IntVector, order: IntVector, descending: boolean) => void; SCRTAxisCubeDescriptor: {}; SCRTAxisCubeEntity: {} & { implement: (wrapper: SCRTAxisCubeEntityWrapper) => SCRTAxisCubeEntity }; SCRTAxisDescriptor: {}; SCRTAxisRange: {}; SCRTBandDrawingParams: {}; SCRTBandSeriesDrawingProvider: {}; SCRTBoxPlotDataSeries2D: {}; SCRTBrush: {}; SCRTBubbleSeriesDrawingProvider: {}; SCRTCADModelSceneEntity: {}; SCRTCandleType: { CandleStick: SCRTCandleType; OHLC: SCRTCandleType }; SCRTCandlestickSeriesDrawingProvider: {}; SCRTColorTextureVertex: {} & {}; SCRTColorVertex: {} & {}; SCRTColumnDrawingParams: {}; SCRTColumnSeriesDrawingProvider: {}; SCRTColumnXMode: { ColumnXMode_Mid: SCRTColumnXMode; ColumnXMode_MidX2Width: SCRTColumnXMode; ColumnXMode_Start: SCRTColumnXMode; ColumnXMode_StartX2End: SCRTColumnXMode; ColumnXMode_StartX2Width: SCRTColumnXMode; ColumnXMode_Width: SCRTColumnXMode }; SCRTColumnYMode: { ColumnYMode_CenterHeight: SCRTColumnYMode; ColumnYMode_TopBottom: SCRTColumnYMode; ColumnYMode_TopHeight: SCRTColumnYMode }; SCRTColumnsSceneEntity: {} & { implement: (wrapper: SCRTColumnsSceneEntityWrapper) => SCRTColumnsSceneEntity }; SCRTColumnsSceneEntityParams: {}; SCRTCompactOrderByMask: (order: IntVector, mask: IntVector, result: IntVector) => void; SCRTContourParams: {}; SCRTCopyToDestinationInterface: { implement: (wrapper: SCRTCopyToDestinationInterfaceWrapper) => SCRTCopyToDestinationInterface }; SCRTCreateBitmapTexture: (width: number, height: number, textureFormat: eTSRTextureFormat) => TSRTexture; SCRTCreatePalette: (colors: IntVector) => SCRTPalette; SCRTCredentials: { ApplyLicenseResponse: (response: string) => number; ApplySimpleResponse: (token: string) => number; Dump: () => string; GenerateClientNonce: () => string; GetAllowDebugging: () => boolean; GetBuildStamp: () => string; GetDeveloperCount: () => number; GetEncrypted: (stringToEncrypt: string) => string; GetEncryptedOrderId: () => string; GetExpiryDate: () => string; GetLicenseChallenge: () => string; GetLicenseDaysRemaining: () => number; GetLicenseErrors: () => string; GetLicenseType: () => SCRTLicenseType; GetOrderId: () => string; GetProductCode: () => string; HasFeature: (feature: string) => SCRTLicenseType; Hash256Encode64: (stringToHash: string) => string; IsRoundTripValidation: () => boolean; IsSimpleValidation: () => boolean; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => boolean }; SCRTDataManagerGetRefCount: (dataSeries: SCRTDataSeries2D) => number; SCRTDataManagerGetSeriesCount: () => number; SCRTDataManagerRegister: (dataSeries: SCRTDataSeries2D) => void; SCRTDataManagerRemove: (dataSeries: SCRTDataSeries2D) => void; SCRTDictTextParams: {}; SCRTDoLeakCheck: () => void; SCRTDoubleArraysXyResampleOutput: {}; SCRTDoubleRange: {} & {}; SCRTDoubleResampler: {}; SCRTDoubleResamplerMergeIndicesParams: {}; SCRTDoubleVector: {} & {}; SCRTDrawArcsParams: {}; SCRTDrawLinesParams: {}; SCRTDrawPrimitivesParams: {}; SCRTDrawRectsParams: {}; SCRTDrawStringFromDict: (font: SCRTFont, dict: SCRTStringDictionary, params: SCRTDictTextParams) => void; SCRTDrawingParams: {}; SCRTDynamicDataSeries2D: {}; SCRTFifoVector: {}; SCRTFileLoadCallbackInterface: { implement: (wrapper: SCRTFileLoadCallbackInterfaceWrapper) => SCRTFileLoadCallbackInterface }; SCRTFillTextureAbgr: (texture: TSRTexture, width: number, height: number, pixels: IntVector) => void; SCRTFillTextureFloat32: (texture: TSRTexture, width: number, height: number, pixels: SCRTFloatVector) => TSRVector4; SCRTFillVectorSequential: (input: SCRTDoubleVector, count: number) => void; SCRTFilterMaskAnd: (mask: IntVector, acc: IntVector) => void; SCRTFilterOneOfDouble: (keys: SCRTDoubleVector, values: SCRTDoubleVector, mask: IntVector, missingPasses: boolean) => void; SCRTFilterOneOfInt: (keys: IntVector, values: IntVector, mask: IntVector, missingPasses: boolean) => void; SCRTFilterRangeDouble: (keys: SCRTDoubleVector, mask: IntVector, min: number, max: number, missingPasses: boolean) => void; SCRTFilterSet: {}; SCRTFindIndexSearchMode: { Exact: SCRTFindIndexSearchMode; Nearest: SCRTFindIndexSearchMode; RoundDown: SCRTFindIndexSearchMode; RoundUp: SCRTFindIndexSearchMode }; SCRTFloatVector: {}; SCRTFontKey: {}; SCRTFrameRenderer2D: {}; SCRTFrameRenderer3D: {}; SCRTGetCommandBuffer: () => TSRCommandBuffer; SCRTGetGlobalRenderLoopManager: () => SCRTRenderLoopManager; SCRTGetIsSelectionBufferEnabled: () => boolean; SCRTGetMainRenderContext2D: () => SCRTRenderContext; SCRTGetScreenHeight: () => number; SCRTGetScreenWidth: () => number; SCRTGetSelectionInfo: (xCoord: number, yCoord: number) => SCRTSelectionInfo; SCRTGetTemplateMesh: (meshId: eSCRTMesh) => TSRIndexedMesh; SCRTGetTemplateTexture: (textureId: eSCRTTexture) => TSRTexture; SCRTGlowEffect: {}; SCRTGridDrawingProperties: {}; SCRTGridMeshEntity: {} & { implement: (wrapper: SCRTGridMeshEntityWrapper) => SCRTGridMeshEntity }; SCRTHeatmapDrawingParams: {}; SCRTHeatmapSeriesDrawingProvider: {}; SCRTHeightColorSettings: {}; SCRTHeightSeriesDrawingProvider: {}; SCRTHeightSeriesParams: {}; SCRTHitTestHelper: { GetNearestPolarXyPoint: (xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xHitCoord: number, yHitCoord: number, xDirectionOnly: boolean, isSorted: boolean) => SCRTDoubleRange; GetNearestTriangle: (isPolygon: boolean, polygonVertices: number, xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xHitCoord: number, yHitCoord: number) => SCRTDoubleRange; GetNearestXyPoint: (xCoordinateCalculator: CoordinateCalculator, yCoordinateCalculator: CoordinateCalculator, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, isSorted: boolean, xHitCoord: number, yHitCoord: number, hitTestRadius: number) => SCRTDoubleRange }; SCRTImmediateLitMeshDrawingParams: {}; SCRTImmediateLitMeshDrawingProvider: {}; SCRTInitEngine2D: () => void; SCRTIntFifoVector: {}; SCRTIntVector: {} & {}; SCRTInterpolatePolarBand: (inParams: SCRTPolarInterpolationParams, outParams: SCRTPolarInterpolationParams, radialCoordinateCalculator: CoordinateCalculator, angularRange: number, totalPoints: number, closeNaNGaps: boolean) => void; SCRTInterpolatePolarLine: (inParams: SCRTPolarInterpolationParams, outParams: SCRTPolarInterpolationParams, radialCoordinateCalculator: CoordinateCalculator, angularRange: number, totalPoints: number, closeNaNGaps: boolean) => void; SCRTLicenseType: { LICENSE_TYPE_COMMUNITY: SCRTLicenseType; LICENSE_TYPE_FULL: SCRTLicenseType; LICENSE_TYPE_FULL_EXPIRED: SCRTLicenseType; LICENSE_TYPE_INVALID_DEVELOPER_LICENSE: SCRTLicenseType; LICENSE_TYPE_INVALID_LICENSE: SCRTLicenseType; LICENSE_TYPE_NO_LICENSE: SCRTLicenseType; LICENSE_TYPE_REQUIRES_VALIDATION: SCRTLicenseType; LICENSE_TYPE_SUBSCRIPTION_EXPIRED: SCRTLicenseType; LICENSE_TYPE_TRIAL: SCRTLicenseType; LICENSE_TYPE_TRIAL_EXPIRED: SCRTLicenseType }; SCRTLineDrawingParams: {}; SCRTLineGapMode: { CloseGaps: SCRTLineGapMode; Default: SCRTLineGapMode; DrawGaps: SCRTLineGapMode }; SCRTLineSegmentDrawingProvider: {}; SCRTLineSeriesDrawingProvider: {}; SCRTLineType: { Digital: SCRTLineType; List: SCRTLineType; Nan: SCRTLineType; Strip: SCRTLineType }; SCRTLinesMesh: {}; SCRTListModuleRegistry: () => string; SCRTLitMeshVertex: {}; SCRTMarkOneOfInt: (keys: IntVector, values: IntVector, acc: IntVector) => void; SCRTMeasureStringFromDict: (font: SCRTFont, dict: SCRTStringDictionary, code: number, bounds: TSRTextBounds, lineSpacing: number) => void; SCRTMemCopy: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMemMove: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMesh: {}; SCRTMountainDrawingParams: {}; SCRTMountainSeriesDrawingProvider: {}; SCRTMultiplyColorVectorOpacity: (originalVector: IntVector, resultVector: IntVector, factor: number) => void; SCRTNodeOverrideParams: {}; SCRTOhlcDataSeries2D: {}; SCRTOhlcDrawingParams: {}; SCRTPalette: {}; SCRTPen: {}; SCRTPenDescriptor: {}; SCRTPoint3DSceneEntity: {} & { implement: (wrapper: SCRTPoint3DSceneEntityWrapper) => SCRTPoint3DSceneEntity }; SCRTPoint3DSceneEntityParams: {}; SCRTPointDrawingParams: {}; SCRTPointLine3DSceneEntity: {} & { implement: (wrapper: SCRTPointLine3DSceneEntityWrapper) => SCRTPointLine3DSceneEntity }; SCRTPointLines3DSceneEntityParams: {}; SCRTPolarBandDrawingParams: {}; SCRTPolarBandSeriesDrawingProvider: {}; SCRTPolarColumnDrawingParams: {}; SCRTPolarColumnSeriesDrawingProvider: {}; SCRTPolarCoordinateTransform: {}; SCRTPolarInterpolationParams: {}; SCRTPolarLineDrawingParams: {}; SCRTPolarLineSeriesDrawingProvider: {}; SCRTPreloadSlugFont: (faceName: string) => void; SCRTPrimitivesEffect: { BlurredTriangles: SCRTPrimitivesEffect; Contours: SCRTPrimitivesEffect; Heatmap: SCRTPrimitivesEffect; Triangles: SCRTPrimitivesEffect }; SCRTRectVertex: {} & {}; SCRTRectangleDrawingParams: {}; SCRTRectangleSeriesDrawingProvider: {}; SCRTRegisterFile: (fileName: string, url: string, callback: SCRTFileLoadCallbackInterface) => void; SCRTRenderLoopManager: { implement: (wrapper: SCRTRenderLoopManagerWrapper) => SCRTRenderLoopManager }; SCRTScatterSeriesDrawingProvider: {}; SCRTSceneEntity: { implement: (wrapper: SCRTSceneEntityWrapper) => SCRTSceneEntity }; SCRTSceneHost3D: {}; SCRTSceneHostCount: () => number; SCRTSceneHostOnEngineRestartAll: () => void; SCRTSceneHostRegister: (host: SCRTSceneHost3D) => void; SCRTSceneHostUnregister: (host: SCRTSceneHost3D) => void; SCRTSceneWorld: {}; SCRTSelectionInfo: {}; SCRTSeriesEffectType: { Glow: SCRTSeriesEffectType }; SCRTSetActiveTexture: (texture: TSRTexture) => void; SCRTSetActiveWorld: (scrtSceneWorld: SCRTSceneWorld) => void; SCRTSetClearAlphaParams: (enabled: boolean, alpha: number) => void; SCRTSetGlobalCopyToDestinationInterface: (_pCopyToDestinationInterface: SCRTCopyToDestinationInterface) => void; SCRTSetGlobalRenderLoopManager: (_pRenderLoopManager: SCRTRenderLoopManager) => void; SCRTSetIsSelectionBufferEnabled: (isEnabled: boolean) => void; SCRTSetMainWindowSize: (width: number, height: number) => void; SCRTSetTextureLinearSamplerEnabled: (texture: TSRTexture, enabled: boolean) => void; SCRTSetWaterMarkProperties: (properties: SCRTWaterMarkProperties) => void; SCRTShadowEffect: {}; SCRTShutdownEngine2D: () => void; SCRTSmearSeriesDrawingProvider: {}; SCRTSmearSeriesParams: {}; SCRTSolidBrush: {}; SCRTSplineHelperCubicSpline: (xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xsValues: SCRTDoubleVector, ysValues: SCRTDoubleVector, initialSize: number, interpolationPoints: number, containsNAN: boolean) => void; SCRTSplineHelperCubicSplineWithGaps: (xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xsValues: SCRTDoubleVector, ysValues: SCRTDoubleVector, initialSize: number, interpolationPoints: number) => void; SCRTSpriteType: { FixedSize: SCRTSpriteType; Normal: SCRTSpriteType }; SCRTStackedColumnDrawingParams: {}; SCRTStackedColumnSeriesDrawingProvider: {}; SCRTStringDictionary: {}; SCRTSurfaceDestination: { implement: (wrapper: SCRTSurfaceDestinationWrapper) => SCRTSurfaceDestination }; SCRTTextStyle: {}; SCRTTextureBrush: {}; SCRTTextureBrushSamplerMode: { Linear: SCRTTextureBrushSamplerMode; Point: SCRTTextureBrushSamplerMode; Wrap: SCRTTextureBrushSamplerMode }; SCRTTickStyle: {}; SCRTTriangleDrawMode: { List: SCRTTriangleDrawMode; Polygon: SCRTTriangleDrawMode; Strip: SCRTTriangleDrawMode }; SCRTTriangleDrawingParams: {}; SCRTTriangleSeriesDrawingProvider: {}; SCRTUintVector: {}; SCRTWaterMarkProperties: {}; SCRTXvaluesProvider: {}; SCRTXyDataSeries2D: {}; SCRTXyyDataSeries2D: {}; SCRTXyzDataSeries2D: {}; SCRTXyzGizmoEntity: { implement: (wrapper: SCRTXyzGizmoEntityWrapper) => SCRTXyzGizmoEntity }; StringVector: {}; TSRCamera: {}; TSRRequestCanvasDraw: (canvasID: string) => void; TSRRequestDraw: () => void; TSRRequestExit: () => void; TSRSetDrawRequestsEnabled: (enabled: boolean) => void; TSRTextBounds: {}; TSRTextLineBounds: {}; TSRVector2: {} & {}; TSRVector3: {} & {}; TSRVector4: {} & {}; UIntVector: {}; VectorArcVertex: {}; VectorColorTextureVertex: {}; VectorColorVertex: {}; VectorLitMeshVertex: {}; VectorRectVertex: {}; WStringVector: {}; canvas: HTMLCanvasElement; canvas2D: HTMLCanvasElement; eAxisPlaneDrawLabelsMode: { AxisPlaneDrawLabelsBoth: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsHidden: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsLocalX: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsLocalY: eAxisPlaneDrawLabelsMode }; eAxisPlaneDrawTitlesMode: { AxisPlaneDrawTitlesBoth: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesHidden: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesLocalX: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesLocalY: eAxisPlaneDrawTitlesMode }; eSCRTAxisTitleRotationMode: { AxisTitleRotationAuto: eSCRTAxisTitleRotationMode; AxisTitleRotationHorizontal: eSCRTAxisTitleRotationMode; AxisTitleRotationVertical: eSCRTAxisTitleRotationMode }; eSCRTBrushMappingMode: { PerPrimitive: eSCRTBrushMappingMode; PerScreen: eSCRTBrushMappingMode }; eSCRTGridDrawingFeatures: { SCRT_GRID_DRAWING_FEATURES_CONTOURS: eSCRTGridDrawingFeatures; SCRT_GRID_DRAWING_FEATURES_SKIRT: eSCRTGridDrawingFeatures; SCRT_GRID_DRAWING_FEATURES_SOLID: eSCRTGridDrawingFeatures; SCRT_GRID_DRAWING_FEATURES_WIREFRAME: eSCRTGridDrawingFeatures }; eSCRTGridMeshResolution: { SCRT_GRID_MESH_RES_X1: eSCRTGridMeshResolution; SCRT_GRID_MESH_RES_X2: eSCRTGridMeshResolution; SCRT_GRID_MESH_RES_X4: eSCRTGridMeshResolution }; eSCRTMesh: { SCRT_MESH_CUBE: eSCRTMesh; SCRT_MESH_CYLINDER: eSCRTMesh; SCRT_MESH_PYRAMID: eSCRTMesh; SCRT_MESH_SPHERE: eSCRTMesh }; eSCRTTexture: { SCRT_TEXTURE_CIRCLE: eSCRTTexture; SCRT_TEXTURE_SOLIDWHITE: eSCRTTexture; SCRT_TEXTURE_SQUARE: eSCRTTexture; SCRT_TEXTURE_TRIANGLE: eSCRTTexture }; eSCRTTickLabelOrientationMode: { TickLabelOrientationAuto: eSCRTTickLabelOrientationMode; TickLabelOrientationHorizontal: eSCRTTickLabelOrientationMode }; eSCRT_POINT_MARKER_TYPE: { SCRT_POINT_MARKER_TYPE_INSTANCED_MESH: eSCRT_POINT_MARKER_TYPE; SCRT_POINT_MARKER_TYPE_PIXEL: eSCRT_POINT_MARKER_TYPE; SCRT_POINT_MARKER_TYPE_TEXTURED_QUAD: eSCRT_POINT_MARKER_TYPE }; eTSRCameraProjectionMode: { CAMERA_PROJECTIONMODE_ORTHOGONAL: eTSRCameraProjectionMode; CAMERA_PROJECTIONMODE_PERSPECTIVE: eTSRCameraProjectionMode }; eTSRRenderMode: { TSR_RENDERMODE_LINELIST: eTSRRenderMode; TSR_RENDERMODE_LINESTRIP: eTSRRenderMode; TSR_RENDERMODE_POINTS: eTSRRenderMode; TSR_RENDERMODE_TRIANGLEFAN: eTSRRenderMode; TSR_RENDERMODE_TRIANGLES: eTSRRenderMode; TSR_RENDERMODE_TRIANGLESTRIP: eTSRRenderMode }; eTSRTextAlignMode: { Center: eTSRTextAlignMode; Left: eTSRTextAlignMode; Right: eTSRTextAlignMode }; eTSRTextureFormat: { TSR_TEXTUREFORMAT_A8B8G8R8: eTSRTextureFormat; TSR_TEXTUREFORMAT_A8R8G8B8: eTSRTextureFormat; TSR_TEXTUREFORMAT_R32F: eTSRTextureFormat } }>

Const getSize

  • getSize(): number
  • Returns number

Const getSlugFontKey

  • Get a font key configured for Slug (GPU Bezier) text rendering.

    deprecated

    Slug is the only native text renderer - use getFontKey, which returns a Slug font key.

    Parameters

    Returns SCRTFontKey

Const getState

Const getStocksDataFactory

  • getStocksDataFactory(STEP: number, RANDOM_MIN: number, RANDOM_MAX: number): (Anonymous function)
  • Creates function to generate stock data

    Parameters

    • STEP: number
    • RANDOM_MIN: number
    • RANDOM_MAX: number

    Returns (Anonymous function)

Const getStyleId

  • Parameters

    Returns string

getSubChartRect

Const getSubTypes

  • Parameters

    Returns string[]

getTArgbEqual

  • getTArgbEqual(a: TArgb | undefined, b: TArgb | undefined): boolean
  • Parameters

    Returns boolean

Const getTextBounds

  • Parameters

    Returns TSRTextBounds

Const getTextHeightToBaseline

  • getTextHeightToBaseline(textBounds: TSRTextBounds): number
  • For single line text return height to baseline. For multiline text returns total height

    Parameters

    • textBounds: TSRTextBounds

    Returns number

getTextStylesEqual

  • Parameters

    Returns boolean

Const getTextureVertex

  • getTextureVertex(wasmContext: TSciChart, x: number, y: number, colour?: number, xTexCoord?: number, yTexCoord?: number): SCRTColorTextureVertex
  • Parameters

    • wasmContext: TSciChart
    • x: number
    • y: number
    • Optional colour: number
    • Optional xTexCoord: number
    • Optional yTexCoord: number

    Returns SCRTColorTextureVertex

getUniqueValues

  • getUniqueValues(array: string[]): string[]
  • Parameters

    • array: string[]

    Returns string[]

Const getUserCookie

  • getUserCookie(): { sessionId: string; sessionStart: number; userId: string }
  • Returns { sessionId: string; sessionStart: number; userId: string }

    • sessionId: string
    • sessionStart: number
    • userId: string

Const getValueWithCoordinateMode

Const getVector2

  • Parameters

    Returns TSRVector2

Const getVector3

  • Parameters

    Returns TSRVector3

Const getVector4

  • getVector4(wasmContext: TSciChart | TSciChart3D, x: number, y: number, z: number, w: number): TSRVector4
  • Parameters

    Returns TSRVector4

Const getVectorArcVertex

  • getVectorArcVertex(wasmContext: TSciChart, maxSize?: number): VectorArcVertex
  • Parameters

    • wasmContext: TSciChart
    • Default value maxSize: number = 100

    Returns VectorArcVertex

Const getVectorColorTextureVertex

  • getVectorColorTextureVertex(wasmContext: TSciChart, maxSize?: number): VectorColorTextureVertex
  • Parameters

    • wasmContext: TSciChart
    • Default value maxSize: number = 100

    Returns VectorColorTextureVertex

Const getVectorColorVertex

  • getVectorColorVertex(wasmContext: TSciChart, maxSize?: number): VectorColorVertex
  • Parameters

    • wasmContext: TSciChart
    • Default value maxSize: number = 100

    Returns VectorColorVertex

Const getVectorRectVertex

  • getVectorRectVertex(wasmContext: TSciChart, maxSize?: number): VectorRectVertex
  • Returns an empty vector of Rectangles

    Parameters

    • wasmContext: TSciChart
    • Default value maxSize: number = 100

    Returns VectorRectVertex

Const getVertex

  • getVertex(wasmContext: TSciChart, x: number, y: number, colour?: number): SCRTColorVertex
  • Parameters

    • wasmContext: TSciChart
    • x: number
    • y: number
    • Optional colour: number

    Returns SCRTColorVertex

getVerticalAnchorPoint

getVerticalAxisRequiredSize

  • Parameters

    Returns number

Const getWebGlBrushFromCache

  • getWebGlBrushFromCache(cache: BrushCache): WebGlBrush
  • Retrieves a native WebGlBrush Brush from the provided {@link BrushCache} cache object

    Parameters

    • cache: BrushCache

    Returns WebGlBrush

    new or existing instance of WebGlPen}

Const getWebGlPenFromCache

  • getWebGlPenFromCache(penCache: Pen2DCache): WebGlPen
  • Retrieves a native WebGlPen Pen from the provided {@link Pen2DCache} cache object. The retrieved entity is a wrapper around {@link SCRTPen}

    Parameters

    • penCache: Pen2DCache

      The object that stores a pen

    Returns WebGlPen

    the new or existing instance of WebGlPen}

Const getWebGpuSupported

  • getWebGpuSupported(): boolean
  • Returns boolean

Const getWindowedYRange

  • getWindowedYRange(webAssemblyContext: TSciChart, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, xRange: NumberRange, getPositiveRange: boolean, isXCategoryAxis: boolean, isSorted: boolean, containsNaN: boolean, minSearchMode?: ESearchMode, maxSearchMode?: ESearchMode): NumberRange
  • Parameters

    • webAssemblyContext: TSciChart
    • xValues: SCRTDoubleVector
    • yValues: SCRTDoubleVector
    • xRange: NumberRange
    • getPositiveRange: boolean
    • isXCategoryAxis: boolean
    • isSorted: boolean
    • containsNaN: boolean
    • Default value minSearchMode: ESearchMode = ESearchMode.RoundUp
    • Default value maxSearchMode: ESearchMode = ESearchMode.RoundDown

    Returns NumberRange

Const getXRange

  • Parameters

    • range: NumberRange
    • count: number
    • widthFraction: number

    Returns NumberRange

Const getYRangeClipRect

  • Returns the clip rect (in surface coordinates) covering the series' x/y axis viewport — the same rect that BaseRenderableSeries.clipToYRange clips series geometry to. Pass this to BaseDataLabelProvider.getClipRect to clip data labels to the series' y-axis range, e.g. one column of a stacked-axis grid layout.

    Parameters

    • renderPassData: RenderPassData

      The current render pass data (supplies the coordinate calculators)

    • seriesViewRect: Rect

      The parent surface's seriesViewRect

    Returns Rect

getYyYRange

  • getYyYRange(webAssemblyContext: TSciChart, indicesRange: NumberRange, yValues: SCRTDoubleVector, y1Values: SCRTDoubleVector, containsNaN: boolean): NumberRange
  • Parameters

    • webAssemblyContext: TSciChart
    • indicesRange: NumberRange
    • yValues: SCRTDoubleVector
    • y1Values: SCRTDoubleVector
    • containsNaN: boolean

    Returns NumberRange

Const guardSameLengthYValuesAndMetadata

  • guardSameLengthYValuesAndMetadata(yValues: NumberArray[], metadata: any[][]): void
  • Parameters

    Returns void

Const guardSameLengthZValuesAndMetadata

  • Parameters

    Returns void

Const handleInvalidAxisAlignment

  • handleInvalidAxisAlignment(alignment: never): never
  • Parameters

    • alignment: never

    Returns never

Const hasAllProperties

  • hasAllProperties(obj: any, props: string[]): boolean
  • Parameters

    • obj: any
    • props: string[]

    Returns boolean

Const hideTick

  • hideTick(threshold: number, spacing: number): boolean
  • Parameters

    • threshold: number
    • spacing: number

    Returns boolean

hitTestForBox

  • Hit-tests BoxSeries and Polar Column Series

    Parameters

    • wasmContext: TSciChart
    • xCoordinateCalculator: CoordinateCalculatorBase
    • yCoordinateCalculator: CoordinateCalculatorBase
    • xValues: SCRTDoubleVector
    • x1Values: SCRTDoubleVector | undefined
    • yValues: SCRTDoubleVector
    • y1Values: SCRTDoubleVector | undefined
    • xHitCoord: number
    • yHitCoord: number
    • defaultY1: number
    • columnCoordWidth: number
    • columnXMode: EColumnMode
    • columnYMode: EColumnYMode
    • isVertical: boolean
    • isSorted: boolean
    • isPolar: boolean

    Returns TRectangleSeriesHitTestResult

hitTestForBoxSorted

  • Hit-test function for BoxSeries or PolarColumnSeries Only for sorted data without overlapping columns only for columnXMode = EColumnMode.Mid or EColumnMode.Start Using binary search, time complexity O(log(N))

    Parameters

    Returns TRectangleSeriesHitTestResult

hitTestForBoxUnsorted

  • Hit-test function for BoxSeries or PolarColumnSeries Iterates over all data points, time complexity O(N)

    Parameters

    • wasmContext: TSciChart
    • xCoordinateCalculator: CoordinateCalculatorBase
    • yCoordinateCalculator: CoordinateCalculatorBase
    • xValues: SCRTDoubleVector
    • x1Values: SCRTDoubleVector | undefined
    • yValues: SCRTDoubleVector
    • y1Values: SCRTDoubleVector | undefined
    • xHitCoord: number
    • yHitCoord: number
    • defaultY1: number
    • columnCoordWidth: number
    • columnXMode: EColumnMode
    • columnYMode: EColumnYMode
    • isVertical: boolean
    • isPolar: boolean

    Returns TRectangleSeriesHitTestResult

htmlToElement

  • htmlToElement(html: string): ChildNode
  • Parameters

    • html: string

    Returns ChildNode

Const initializeChartEngine

  • initializeChartEngine(options?: { destinationCanvas: HTMLCanvasElement }): Promise<{ createChildSurface: <T>(divElementId: string, canvases: TSciChartSurfaceCanvases, theme: IThemeProvider, family: TMultiChartFamily<T>) => T; getChildSurfaces: () => SciChartSurface[]; id: string; registerExternalDestination: (canvasElementId: string, sciChartSurface: ISciChartSurfaceBase, onDraw: () => void) => TExternalDestinationHandle | undefined; resyncDestinations: () => void; wasmContext: TSciChart }>
  • Parameters

    • Optional options: { destinationCanvas: HTMLCanvasElement }
      • destinationCanvas: HTMLCanvasElement

    Returns Promise<{ createChildSurface: <T>(divElementId: string, canvases: TSciChartSurfaceCanvases, theme: IThemeProvider, family: TMultiChartFamily<T>) => T; getChildSurfaces: () => SciChartSurface[]; id: string; registerExternalDestination: (canvasElementId: string, sciChartSurface: ISciChartSurfaceBase, onDraw: () => void) => TExternalDestinationHandle | undefined; resyncDestinations: () => void; wasmContext: TSciChart }>

Const initializeWebGPUDevice

  • Returns Promise<TWebGPUDevice | undefined>

Const interpolateColor

  • interpolateColor(from: number, to: number, progress: number): number
  • interpolateColor(startColor: number, endColor: number, factor: number): number
  • Interpolates colors

    Parameters

    • from: number
    • to: number
    • progress: number

    Returns number

  • Interpolates colors

    Parameters

    • startColor: number
    • endColor: number
    • factor: number

    Returns number

Const interpolateLinear

  • interpolateLinear(x: number, x1: number, y1: number, x2: number, y2: number): number
  • Parameters

    • x: number
    • x1: number
    • y1: number
    • x2: number
    • y2: number

    Returns number

Const interpolateNumber

  • interpolateNumber(from: number, to: number, progress: number): number
  • Interpolates numbers

    Parameters

    • from: number
    • to: number
    • progress: number

    Returns number

Const isAppleGpuAdapter

  • isAppleGpuAdapter(info: GPUAdapterInfo | undefined): boolean
  • Whether an adapter is an Apple GPU, the gate for auto renderer mode.

    Chrome reports vendor "apple" / architecture "metal-3" on Apple Silicon and leaves device and description empty, so vendor is the only reliable field; architecture is a secondary signal for browsers that mask vendor for privacy. Unknown reads as not-Apple, i.e. WebGL.

    Parameters

    • info: GPUAdapterInfo | undefined

    Returns boolean

isArraySorted

  • isArraySorted(arr: NumberArray, ascending?: boolean): boolean
  • returns true if the array is sorted

    Parameters

    • arr: NumberArray

      The array

    • Default value ascending: boolean = true

      If True checks for sorted ascending, if False for descending

    Returns boolean

Const isBetween

  • isBetween(value: number, start: number, end: number): boolean
  • Returns whether a number is in the range of 2 other numbers, regardless if ascending or descending

    Parameters

    • value: number
    • start: number
    • end: number

    Returns boolean

Const isConstructor

  • isConstructor(someObj: any): boolean
  • Parameters

    • someObj: any

    Returns boolean

Const isModularBuild

  • isModularBuild(): boolean
  • deprecated

    The modular shape is the v6 default and SCICHART_MODULAR is no longer read. Kept as an inverted alias of isStaticBuild for any internal caller not yet migrated.

    Returns boolean

Const isNeverRewrittenWasm

  • isNeverRewrittenWasm(path: string): boolean
  • Parameters

    • path: string

    Returns boolean

isNumberArray

  • isNumberArray(a: any): boolean
  • Parameters

    • a: any

    Returns boolean

isRealNumber

  • isRealNumber(number: number): boolean
  • returns true if the number is a real number (not NAN, not Infinite)

    Parameters

    • number: number

    Returns boolean

Const isRegistered

  • isRegistered(baseType: EBaseType, type: string): boolean
  • Returns true if a constructor or function is registered for the given baseType and type. Useful to guard a conditional registerType call without triggering the "already registered" error, or to check availability before calling createType.

    Parameters

    Returns boolean

Const isStaticBuild

  • isStaticBuild(): boolean
  • Is this bundle the INTERNAL static (monolithic) build shape? The modular shape is the v6 default: a consumer bundle that defines nothing gets the modular path, and this returns false.

    Reads the build-time flag process.env.SCICHART_STATIC, which only INTERNAL harnesses ever define - the static/equivalence visual-test client via a webpack DefinePlugin textual substitution, and the static unit suite as a real env var under Node. The static build is not shipped to consumers; there is no runtime switch.

    THE TRY/CATCH IS LOAD-BEARING AND MUST NOT BE "SIMPLIFIED" TO A typeof process GUARD. There are exactly two situations, and the two obvious spellings each break one of them:

    1. Internal static app - DefinePlugin replaces the expression process.env.SCICHART_STATIC with the literal true before this code ever runs, so no process reference survives and the catch is unreachable. A typeof process !== "undefined" && guard would break THIS case: webpack does not define process itself, so typeof process is "undefined" on a real browser page and the guard would evaluate to false regardless of the substituted literal - silently sending the static client down the modular path. The same guard shipped once (on this flag's predecessor, SCICHART_MODULAR) and silently disabled module loading; do not reintroduce it.
    2. Consumer (modular, default) app - nothing defines the key, so the expression survives into the bundle as a live read of a global that webpack 5 does not polyfill. Reading it throws ReferenceError: process is not defined, which the catch turns into "not static" - the right answer, and the answer EVERY consumer bundle must get. Leaving the read unguarded would throw inside createMaster/createSingleInternal for every chart of either dimension (it did exactly that in SciChartDemo on the predecessor flag). process.env.NODE_ENV (used ~15 times elsewhere in this library) does not have the problem, because webpack's optimization.nodeEnv defines that ONE key automatically.

    constants/app.ts protects its own process.env?.TEST_ENV read with a typeof process guard, which is correct THERE - that flag is only ever a real environment variable read in Node, never a substituted literal - and is exactly why the guard looks safe here and is not.

    Not memoised at module scope on purpose: with the substitution in place this is a constant-folded return !!true, and evaluating it lazily keeps the tests able to set the env var per-case in Node.

    Returns boolean

Const isStringValues

  • isStringValues(values: NumberArray | string[]): values is string[]
  • Parameters

    Returns values is string[]

isTypedArray

  • isTypedArray(a: any): boolean
  • Parameters

    • a: any

    Returns boolean

layoutAxisParts

layoutAxisPartsBottomStrategy

  • layoutAxisPartsBottomStrategy(axisRendererWidth: number, axisRendererHeight: number, axisTitleRendererWidth: number, axisTitleRendererHeight: number, containerBounds: Rect): TAxisViewRects
  • Parameters

    • axisRendererWidth: number
    • axisRendererHeight: number
    • axisTitleRendererWidth: number
    • axisTitleRendererHeight: number
    • containerBounds: Rect

    Returns TAxisViewRects

layoutAxisPartsLeftStrategy

  • layoutAxisPartsLeftStrategy(axisRendererWidth: number, axisRendererHeight: number, axisTitleRendererWidth: number, axisTitleRendererHeight: number, containerBounds: Rect): TAxisViewRects
  • Parameters

    • axisRendererWidth: number
    • axisRendererHeight: number
    • axisTitleRendererWidth: number
    • axisTitleRendererHeight: number
    • containerBounds: Rect

    Returns TAxisViewRects

layoutAxisPartsRightStrategy

  • layoutAxisPartsRightStrategy(axisRendererWidth: number, axisRendererHeight: number, axisTitleRendererWidth: number, axisTitleRendererHeight: number, containerBounds: Rect): TAxisViewRects
  • Parameters

    • axisRendererWidth: number
    • axisRendererHeight: number
    • axisTitleRendererWidth: number
    • axisTitleRendererHeight: number
    • containerBounds: Rect

    Returns TAxisViewRects

layoutAxisPartsTopStrategy

  • layoutAxisPartsTopStrategy(axisRendererWidth: number, axisRendererHeight: number, axisTitleRendererWidth: number, axisTitleRendererHeight: number, containerBounds: Rect): TAxisViewRects
  • Parameters

    • axisRendererWidth: number
    • axisRendererHeight: number
    • axisTitleRendererWidth: number
    • axisTitleRendererHeight: number
    • containerBounds: Rect

    Returns TAxisViewRects

linearColorMapLerp

  • Linearly interpolates a data-value in a TLinearColorMap, which specifies Gradient Stops, Data Minimum and Maximum and color stepping mode

    Parameters

    Returns number

Const logDoubleVector

  • logDoubleVector(vector: SCRTDoubleVector, name?: string, precision?: number, length?: number): void
  • Parameters

    • vector: SCRTDoubleVector
    • Optional name: string
    • Default value precision: number = 2
    • Optional length: number

    Returns void

Const logToBase

  • logToBase(n: number, base: number): number
  • Parameters

    • n: number
    • base: number

    Returns number

Const makeCacheKey

  • makeCacheKey(text: string, styleId: string): string
  • Parameters

    • text: string
    • styleId: string

    Returns string

makeIncArray

  • makeIncArray(length: number, multiplier?: number, map?: (n: number, index?: number) => number): number[]
  • Helper method for generating an array of a given length, where the values are the indicies An optional multiplier and map function can be applied.

    Parameters

    • length: number
    • Optional multiplier: number
    • Optional map: (n: number, index?: number) => number
        • (n: number, index?: number): number
        • Parameters

          • n: number
          • Optional index: number

          Returns number

    Returns number[]

Const measureTextHeight

  • measureTextHeight(fontSizePx: number): number
  • Parameters

    • fontSizePx: number

    Returns number

Const measureTextWidth

  • measureTextWidth(ctx: CanvasRenderingContext2D, text: string): number
  • Parameters

    • ctx: CanvasRenderingContext2D
    • text: string

    Returns number

memoize

  • memoize<ResultType, ParamsListType>(heavyCalculationFunction: (...params: ParamsListType) => ResultType, equalityComparisonFunction?: (params: ParamsListType, prevParams: ParamsListType) => boolean): (Anonymous function)
  • Type parameters

    • ResultType

    • ParamsListType: any[]

    Parameters

    • heavyCalculationFunction: (...params: ParamsListType) => ResultType
        • (...params: ParamsListType): ResultType
        • Parameters

          • Rest ...params: ParamsListType

          Returns ResultType

    • Optional equalityComparisonFunction: (params: ParamsListType, prevParams: ParamsListType) => boolean
        • (params: ParamsListType, prevParams: ParamsListType): boolean
        • Parameters

          • params: ParamsListType
          • prevParams: ParamsListType

          Returns boolean

    Returns (Anonymous function)

Const moduleFileName

  • The one place a module artifact's filename is constructed - URL resolution AND error text.

    Parameters

    Returns string

normalizeAngle

  • normalizeAngle(a: number): number
  • Parameters

    • a: number

    Returns number

Const notRegisteredError

  • notRegisteredError(baseType: EBaseType, type: string): Error
  • Parameters

    Returns Error

Const numericHashCode

  • numericHashCode(hash: number, value: number): number
  • Parameters

    • hash: number
    • value: number

    Returns number

Const pad

  • pad(num: number, size: number): string
  • Zero-pad helper (e.g. 5 -> "005")

    Parameters

    • num: number
    • size: number

    Returns string

Const parseArgbToHtmlColor

  • parseArgbToHtmlColor(argbColor: number): string
  • Converts color from ARGB number format into HTML string format #FFFFFFFF

    Parameters

    • argbColor: number

      color in ARGB format

    Returns string

Const parseCacheKey

  • parseCacheKey(key: string): { styleId: string; text: string }
  • Parameters

    • key: string

    Returns { styleId: string; text: string }

    • styleId: string
    • text: string

parseColorToHexStringAbgr

  • parseColorToHexStringAbgr(input: string, opacityOverride?: number): string
  • Parse colors and convert them to hex string in ABGR format to use in c++.

    Examples: #ff0, #ff08, #ffff00, #ffff0088, rgba(255,255,0,0.5)

    Parameters

    • input: string
    • Optional opacityOverride: number

      Optional opacity override from 0 to 255.

    Returns string

parseColorToHexStringArgb

  • parseColorToHexStringArgb(input: string, opacityOverride?: number): string
  • Parse colors and convert them to hex string to use in c++ Examples: "#fff", "#ff0000", "rgba(255,255,0,1)", "#11333333"

    Parameters

    • input: string
    • Optional opacityOverride: number

    Returns string

parseColorToTArgb

  • parseColorToTArgb(input: string): TArgb
  • Converts an HTML color code to TArgb

    Parameters

    • input: string

    Returns TArgb

parseColorToUIntAbgr

  • parseColorToUIntAbgr(input: string, opacity?: number): number
  • Parameters

    • input: string
    • Optional opacity: number

    Returns number

parseColorToUIntArgb

  • parseColorToUIntArgb(input: string, opacity?: number): number
  • Converts HTML color to ARGB color

    Parameters

    • input: string

      HTML color string

    • Optional opacity: number

      Opacity 0 to 255, where 0 fully transparent and 255 fully opaque

    Returns number

parseCoordinateMode

Const parsePc

  • parsePc(value: string, containerSize: number): number
  • Parameters

    • value: string
    • containerSize: number

    Returns number

Const parseSize

  • parseSize(value: number | string, containerSize: number): number
  • Parameters

    • value: number | string
    • containerSize: number

    Returns number

Const parseTArgbToHtmlColor

  • parseTArgbToHtmlColor(targb: TArgb): string
  • Useful for debugging purposes. Converts TArgb to HTML Color code e.g. '#FF112233'=RGBA

    Parameters

    Returns string

Const patchWebGPUContextConfigure

  • patchWebGPUContextConfigure(): void
  • Returns void

Const preloadWasm

  • preloadWasm(useWasm64?: boolean): Promise<Module>
  • Pre-fetch AND pre-compile the SciChart WebAssembly module into an in-memory cache.

    Calling this at app startup means that by the time the first SciChartSurface.create or SciChartSurface.createSingle runs, the binary is already downloaded and compiled — both costs disappear from the chart-creation critical path. Subsequent surfaces (especially those created with createSingle) only pay the cheap per-instance instantiation cost (typically <10ms) instead of re-downloading and re-compiling.

    Safe to call multiple times — subsequent calls return the same cached Promise. Respects the current sciChartConfig (call after SciChartSurface.configure / SciChartSurface.loadWasmFromCDN).

    This is the union (one-wasm) build, so the single binary this preloads serves both the 2D and the 3D engine — there is no separate 3D module to preload.

    The cache is keyed by the resolved URL, so each engine variant the runtime might load gets its own entry: SIMD (scichart.wasm), no-SIMD (scichart-nosimd.wasm) and wasm64 (scichart-64.wasm). By default the variant is auto-detected via {@link shouldUseWasm64} and the SIMD rewrite inside {@link getLocateFile}, matching what SciChartSurface.create* will load. Pass useWasm64 explicitly only to preload a specific variant.

    example
    import { preloadWasm, SciChartSurface } from "scichart";
    
    await preloadWasm();
    const { sciChartSurface } = await SciChartSurface.createSingle("chart1");

    Parameters

    • Default value useWasm64: boolean = shouldUseWasm64()

      Which binary to precompile. Defaults to the auto-detected engine selection.

    Returns Promise<Module>

    A Promise resolving to the compiled WebAssembly.Module when caching is complete.

Const pruneCache

  • pruneCache(): void
  • Returns void

Const queryCoreCategoryVersion

  • queryCoreCategoryVersion(wasmContext: TSciChart, category: string): number | undefined
  • Returns the categoryVersion THIS running core knows for category - SCRTModuleRegistry.h's KnownCategoryVersion, compiled into the core independently of anything that has ever registered into it - or -1 if the core has never heard of the category. scrt_query_category is an extern "C" EMSCRIPTEN_KEEPALIVE export with no embind binding, so it does not appear on TSciChart and is reached with ccall instead (proven working this way from JS in scratch/phase1/check-data-module.js).

    Returns undefined if this context exposes no ccall at all, which should not happen on a modular build - ccall is unconditionally in SCRTCORE_EXPORTS, the same as it always was in SCRT2D_EXPORTS/SCRTJS_EXPORTS - so the caller treats that as a build defect, not a skippable check.

    Parameters

    Returns number | undefined

radiansToDegrees

  • radiansToDegrees(r: number): number
  • Parameters

    • r: number

    Returns number

receiveNextEvent

  • Allows to promisify the handling of a single event raised by an EventHandler

    Type parameters

    • T

    Parameters

    Returns Promise<T>

    a Promise returned when the event is raised

registerAllAnimations

  • registerAllAnimations(overWrite?: boolean): void
  • Registers all built-in series animation types with the class factory, so they can be created from a { type, options } definition — both via the Builder API and via the declarative animation: { type: ... } series option.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllAnnotations

  • registerAllAnnotations(overWrite?: boolean): void
  • Registers every built-in annotation type with the class factory, so they can be created from a { type, options } definition via the Builder API.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllAxes

  • registerAllAxes(overWrite?: boolean): void
  • Registers every built-in 2D/polar axis type with the class factory, so they can be created from a { type, options } definition via the Builder API.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllAxes3D

  • registerAllAxes3D(overWrite?: boolean): void
  • Registers every built-in 3D axis type with the class factory, so they can be created from a { type, options } definition via the Builder API.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllDataFilters

  • registerAllDataFilters(overWrite?: boolean): void
  • Registers every built-in data-filter type with the class factory, so they can be created from a filter: { type, options } entry in a data-series definition via the Builder API.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllDataLabelProviders

  • registerAllDataLabelProviders(overWrite?: boolean): void
  • Registers all built-in data label provider types with the class factory, so they can be created from a { type, options } definition — both via the Builder API and via the declarative dataLabelProvider: { type: ... } series option.

    Note the three Polar providers never replace an existing registration, preserving the original behaviour of these registrations.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllDataSeries

  • registerAllDataSeries(overWrite?: boolean): void
  • Registers every built-in 2D data-series type with the class factory, so they can be created from a { type, options } definition via the Builder API.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllDataSeries3D

  • registerAllDataSeries3D(overWrite?: boolean): void
  • Registers every built-in 3D data-series type with the class factory, so they can be created from a { type, options } definition via the Builder API. EDataSeriesType3D.NonUniformGrid3D is deliberately not registered — it is not constructible yet; buildDataSeries3D throws its explicit "not supported" error before consulting the registry.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllLabelProviders

  • registerAllLabelProviders(overWrite?: boolean): void
  • Registers all built-in label provider types with the class factory, so they can be created from a { type, options } definition — both via the Builder API and via the declarative labelProvider: { type: ... } option on axes, pie surfaces and heatmap/contour series.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllLayoutManagers

  • registerAllLayoutManagers(overWrite?: boolean): void
  • Registers all built-in layout manager types with the class factory, so they can be created from a { type, options } definition — both via the Builder API and via the declarative layoutManager: { type: ... } surface option.

    Note the Synchronised layout manager is deliberately not registered, matching the original registrations in buildSurface.ts (builder API support for it is still outstanding).

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllLayoutStrategies

  • registerAllLayoutStrategies(overWrite?: boolean): void
  • Registers all built-in axis layout strategy types with the class factory, so they can be created from a { type, options } definition — both via the Builder API and via the declarative layout strategy options resolved by LayoutManager.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllLoaders

  • registerAllLoaders(overWrite?: boolean): void
  • Registers the built-in loader types with the class factory, so they can be created from a { type } definition — both via the Builder API and via the declarative loader: { type: ... } surface option, which every surface creation path can hit.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllMetadataGenerators

  • registerAllMetadataGenerators(overWrite?: boolean): void
  • Registers the built-in metadata generator types with the class factory, so they can be created from a { type, ... } definition — both via the Builder API and via the declarative metadata: { type: ... } data series option.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllModifiers

  • registerAllModifiers(overWrite?: boolean): void
  • Registers every built-in 2D/polar chart modifier type with the class factory, so they can be created from a { type, options } definition via the Builder API.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllModifiers3D

  • registerAllModifiers3D(overWrite?: boolean): void
  • Registers every built-in 3D chart modifier type with the class factory, so they can be created from a { type, options } definition via the Builder API.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllPaletteProviders

  • registerAllPaletteProviders(overWrite?: boolean): void
  • Registers the built-in 2D palette provider types with the class factory, so they can be created from a { type, options } definition — both via the Builder API and via the declarative paletteProvider: { type: ... } series option.

    The default palette provider is not registered, as it is created automatically when none is given.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllPaletteProviders3D

  • registerAllPaletteProviders3D(overWrite?: boolean): void
  • Registers the built-in 3D mesh palette types with the class factory, so they can be created from a { type, options } definition — both via the Builder API and via the declarative meshColorPalette: { type: ... } option on a 3D surface mesh series.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllPointMarkers

  • registerAllPointMarkers(overWrite?: boolean): void
  • Registers all built-in 2D point marker types with the class factory, so they can be created from a { type, options } definition — both via the Builder API and via the declarative pointMarker: { type: ... } series option.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllPointMarkers3D

  • registerAllPointMarkers3D(overWrite?: boolean): void
  • Registers all built-in 3D point marker types with the class factory, so they can be created from a { type, options } definition — both via the Builder API and via the declarative pointMarker: { type: ... } option on a 3D series.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllSeries

  • registerAllSeries(overWrite?: boolean): void
  • Registers every built-in 2D/polar renderable series type with the class factory, so they can be created from a { type, options } definition via the Builder API.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllSeries3D

  • registerAllSeries3D(overWrite?: boolean): void
  • Registers every built-in 3D renderable series type with the class factory, so they can be created from a { type, options } definition via the Builder API.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllShaderEffects

  • registerAllShaderEffects(overWrite?: boolean): void
  • Registers all built-in shader effect types with the class factory, so they can be created from a { type, options } definition — both via the Builder API and via the declarative effect: { type: ... } series option.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllSubSurfaces

  • registerAllSubSurfaces(overWrite?: boolean): void
  • Registers both built-in sub-surface types with the class factory, so buildSubCharts can create them from subCharts definitions.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllThemeProviders

  • registerAllThemeProviders(overWrite?: boolean): void
  • Registers all built-in theme types with the class factory, so they can be created from a { type } definition — both via the Builder API and via the declarative theme: { type: ... } surface option, which every surface creation path can hit.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAllTypes

  • registerAllTypes(overWrite?: boolean): void
  • Registers every built-in type with the class factory, so any { type, options } definition can be built — including types whose classes your code never imports.

    You usually do not need this. Every built-in class registers itself when its module is in your bundle, so a definition or a toJSON() round-trip referencing a type you construct anywhere in your app resolves with no registration call:

    import { FastLineRenderableSeries, build2DChart } from "scichart";
    
    const series = new FastLineRenderableSeries(wasmContext); // the class is in the bundle...
    await build2DChart(rootId, surface.toJSON()); // ...so its type resolves here

    What it is still for: definitions that name a type only as a string, where nothing imports the class. A type string cannot pull code into a bundle, so those types have to be registered explicitly — either with this function, or with the narrower per-type and per-family functions exported from scichart and importable from scichart/Builder/register/*:

    import { registerAllTypes, build2DChart } from "scichart";
    
    registerAllTypes(); // nothing above imports FastLineRenderableSeries
    await build2DChart(rootId, { series: { type: ESeriesType.LineSeries } });

    Prefer the per-type functions where you can: this one pulls the complete type universe into your bundle, roughly doubling its size.

    Parameters

    • Default value overWrite: boolean = true

      Whether to replace an existing registration for the same type. Default true.

    Returns void

registerAnnotationHoverModifier

  • registerAnnotationHoverModifier(overWrite?: boolean): void
  • Registers AnnotationHoverModifier for EChart2DModifierType.AnnotationHover definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerArcAnnotation

  • registerArcAnnotation(overWrite?: boolean): void
  • Registers ArcAnnotation for EAnnotationType.RenderContextArcAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerAxisMarkerAnnotation

  • registerAxisMarkerAnnotation(overWrite?: boolean): void
  • Registers AxisMarkerAnnotation for EAnnotationType.RenderContextAxisMarkerAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerBandDataLabelProvider

  • registerBandDataLabelProvider(overWrite?: boolean): void
  • Registers BandSeriesDataLabelProvider for EDataLabelProviderType.Band definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerBandSeries

  • registerBandSeries(overWrite?: boolean): void
  • Registers FastBandRenderableSeries for ESeriesType.BandSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerBaseValueAxis

  • registerBaseValueAxis(overWrite?: boolean): void
  • Registers BaseValueAxis for EAxisType.BaseValueAxis definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerBottomInnerLayoutStrategy

  • registerBottomInnerLayoutStrategy(overWrite?: boolean): void
  • Registers BottomAlignedInnerAxisLayoutStrategy for ELayoutStrategyType.BottomInner definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerBottomOuterLayoutStrategy

  • registerBottomOuterLayoutStrategy(overWrite?: boolean): void
  • Registers BottomAlignedOuterAxisLayoutStrategy for ELayoutStrategyType.BottomOuter definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerBottomStackedLayoutStrategy

  • registerBottomStackedLayoutStrategy(overWrite?: boolean): void
  • Registers BottomAlignedOuterHorizontallyStackedAxisLayoutStrategy for ELayoutStrategyType.BottomStacked definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerBoxAnnotation

  • registerBoxAnnotation(overWrite?: boolean): void
  • Registers BoxAnnotation for EAnnotationType.RenderContextBoxAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerBoxPlotDataSeries

  • registerBoxPlotDataSeries(overWrite?: boolean): void
  • Registers BoxPlotDataSeries for EDataSeriesType.BoxPlot definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerBoxPlotSeries

  • registerBoxPlotSeries(overWrite?: boolean): void
  • Registers FastBoxPlotRenderableSeries for ESeriesType.BoxPlotSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerBubbleDataLabelProvider

  • registerBubbleDataLabelProvider(overWrite?: boolean): void
  • Registers BubbleSeriesDataLabelProvider for EDataLabelProviderType.Bubble definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerBubbleSeries

  • registerBubbleSeries(overWrite?: boolean): void
  • Registers FastBubbleRenderableSeries for ESeriesType.BubbleSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerCandlestickSeries

  • registerCandlestickSeries(overWrite?: boolean): void
  • Registers FastCandlestickRenderableSeries for ESeriesType.CandlestickSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerCategoryAxis

  • registerCategoryAxis(overWrite?: boolean): void
  • Registers CategoryAxis for EAxisType.CategoryAxis definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerCentralAxesLayoutManager

  • registerCentralAxesLayoutManager(overWrite?: boolean): void
  • Registers CentralAxesLayoutManager for ELayoutManagerType.CentralAxes definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerColumnDataLabelProvider

  • registerColumnDataLabelProvider(overWrite?: boolean): void
  • Registers ColumnSeriesDataLabelProvider for EDataLabelProviderType.Column definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerColumnRenderableSeries3D

  • registerColumnRenderableSeries3D(overWrite?: boolean): void
  • Registers ColumnRenderableSeries3D for ESeriesType3D.ColumnRenderableSeries3D definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerColumnSeries

  • registerColumnSeries(overWrite?: boolean): void
  • Registers FastColumnRenderableSeries for ESeriesType.ColumnSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerCompositeAnnotation

  • registerCompositeAnnotation(overWrite?: boolean): void
  • Registers CompositeAnnotation for EAnnotationType.CompositeAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerContoursDataLabelProvider

  • registerContoursDataLabelProvider(overWrite?: boolean): void
  • Registers ContoursDataLabelProvider for EDataLabelProviderType.Contours definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerCrossPointMarker

  • registerCrossPointMarker(overWrite?: boolean): void
  • Registers CrossPointMarker for EPointMarkerType.Cross definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerCubePointMarker3D

  • registerCubePointMarker3D(overWrite?: boolean): void
  • Registers CubePointMarker3D for EPointMarker3DType.Cube definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerCursorModifier

  • registerCursorModifier(overWrite?: boolean): void
  • Registers CursorModifier for EChart2DModifierType.Cursor definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerCustomAnnotation

  • registerCustomAnnotation(overWrite?: boolean): void
  • Registers CustomAnnotation for EAnnotationType.SVGCustomAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerCylinderPointMarker3D

  • registerCylinderPointMarker3D(overWrite?: boolean): void
  • Registers CylinderPointMarker3D for EPointMarker3DType.Cylinder definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerDarkTheme

  • registerDarkTheme(overWrite?: boolean): void
  • Registers SciChartJSDarkTheme for EThemeProviderType.Dark definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerDarkV2Theme

  • registerDarkV2Theme(overWrite?: boolean): void
  • Registers SciChartJSDarkv2Theme for EThemeProviderType.DarkV2 definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerDataPointSelectionModifier

  • registerDataPointSelectionModifier(overWrite?: boolean): void
  • Registers DataPointSelectionModifier for EChart2DModifierType.DataPointSelection definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerDataPointSelectionPaletteProvider

  • registerDataPointSelectionPaletteProvider(overWrite?: boolean): void
  • Registers DataPointSelectionPaletteProvider for EPaletteProviderType.DataPointSelection definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerDateLabelProvider

  • registerDateLabelProvider(overWrite?: boolean): void
  • Registers DateLabelProvider for ELabelProviderType.Date definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerDateTimeNumericAxis

  • registerDateTimeNumericAxis(overWrite?: boolean): void
  • Registers DateTimeNumericAxis for EAxisType.DateTimeNumericAxis definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerDefaultDataLabelProvider

  • registerDefaultDataLabelProvider(overWrite?: boolean): void
  • Registers DataLabelProvider for EDataLabelProviderType.Default definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerDefaultLayoutManager

  • registerDefaultLayoutManager(overWrite?: boolean): void
  • Registers LayoutManager for ELayoutManagerType.Default definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerDefaultLoader

  • registerDefaultLoader(overWrite?: boolean): void
  • Registers DefaultSciChartLoader for loader: { type: "Default" } definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerDiscontinuousDateAxis

  • registerDiscontinuousDateAxis(overWrite?: boolean): void
  • Registers DiscontinuousDateAxis for EAxisType.DiscontinuousDateAxis definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerEllipsePointMarker

  • registerEllipsePointMarker(overWrite?: boolean): void
  • Registers EllipsePointMarker for EPointMarkerType.Ellipse definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerEllipsePointMarker3D

  • registerEllipsePointMarker3D(overWrite?: boolean): void
  • Registers EllipsePointMarker3D for EPointMarker3DType.Ellipse definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerErrorBarsSeries

  • registerErrorBarsSeries(overWrite?: boolean): void
  • Registers FastErrorBarsRenderableSeries for ESeriesType.ErrorBarsSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerFadeAnimation

  • registerFadeAnimation(overWrite?: boolean): void
  • Registers FadeAnimation for EAnimationType.Fade definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

Const registerFunction

  • registerFunction<T>(baseType: EBaseType, type: string, constructor: T, overWrite?: boolean): void
  • Register a pure function

    Type parameters

    • T: Function

    Parameters

    • baseType: EBaseType

      The base type for, which indicates where the function will be used, Either OptionFunction or OnCreated

    • type: string

      The name of the function

    • constructor: T

      the function to register

    • Default value overWrite: boolean = false

      Whether to override an existing registration for the type name. Default false.

    Returns void

registerGlowEffect

  • registerGlowEffect(overWrite?: boolean): void
  • Registers GlowEffect for EShaderEffectType.Glow definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerGradientColorPalette

  • registerGradientColorPalette(overWrite?: boolean): void
  • Registers GradientColorPalette for EPaletteProviderType.Gradient3D definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerGradientPaletteProvider

  • registerGradientPaletteProvider(overWrite?: boolean): void
  • Registers the PaletteFactory gradient palette for EPaletteProviderType.Gradient definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerHeatmapDataLabelProvider

  • registerHeatmapDataLabelProvider(overWrite?: boolean): void
  • Registers HeatMapDataLabelProvider for EDataLabelProviderType.Heatmap definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerHlcDataSeries

  • registerHlcDataSeries(overWrite?: boolean): void
  • Registers HlcDataSeries for EDataSeriesType.Hlc definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerHlcScaleOffsetFilter

  • registerHlcScaleOffsetFilter(overWrite?: boolean): void
  • Registers HlcScaleOffsetFilter for EDataFilterType.HlcScaleOffset definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerHorizontalLineAnnotation

  • registerHorizontalLineAnnotation(overWrite?: boolean): void
  • Registers HorizontalLineAnnotation for EAnnotationType.RenderContextHorizontalLineAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerHtmlCustomAnnotation

  • registerHtmlCustomAnnotation(overWrite?: boolean): void
  • Registers HtmlCustomAnnotation for EAnnotationType.HtmlCustomAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerHtmlTextAnnotation

  • registerHtmlTextAnnotation(overWrite?: boolean): void
  • Registers HtmlTextAnnotation for EAnnotationType.HtmlTextAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerImpulseSeries

  • registerImpulseSeries(overWrite?: boolean): void
  • Registers FastImpulseRenderableSeries for ESeriesType.ImpulseSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLeftInnerLayoutStrategy

  • registerLeftInnerLayoutStrategy(overWrite?: boolean): void
  • Registers LeftAlignedInnerAxisLayoutStrategy for ELayoutStrategyType.LeftInner definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLeftOuterLayoutStrategy

  • registerLeftOuterLayoutStrategy(overWrite?: boolean): void
  • Registers LeftAlignedOuterAxisLayoutStrategy for ELayoutStrategyType.LeftOuter definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLeftStackedLayoutStrategy

  • registerLeftStackedLayoutStrategy(overWrite?: boolean): void
  • Registers LeftAlignedOuterVerticallyStackedAxisLayoutStrategy for ELayoutStrategyType.LeftStacked definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLegendModifier

  • registerLegendModifier(overWrite?: boolean): void
  • Registers LegendModifier for EChart2DModifierType.Legend definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLegendModifier3D

  • registerLegendModifier3D(overWrite?: boolean): void
  • Registers LegendModifier3D for EChart3DModifierType.Legend definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLightTheme

  • registerLightTheme(overWrite?: boolean): void
  • Registers SciChartJSLightTheme for EThemeProviderType.Light definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLineAnnotation

  • registerLineAnnotation(overWrite?: boolean): void
  • Registers LineAnnotation for EAnnotationType.RenderContextLineAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLineArrowAnnotation

  • registerLineArrowAnnotation(overWrite?: boolean): void
  • Registers LineArrowAnnotation for EAnnotationType.RenderContextLineArrowAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLineDataLabelProvider

  • registerLineDataLabelProvider(overWrite?: boolean): void
  • Registers LineSeriesDataLabelProvider for EDataLabelProviderType.Line definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLineSegmentSeries

  • registerLineSegmentSeries(overWrite?: boolean): void
  • Registers FastLineSegmentRenderableSeries for ESeriesType.LineSegmentSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLineSeries

  • registerLineSeries(overWrite?: boolean): void
  • Registers FastLineRenderableSeries for ESeriesType.LineSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLogarithmicAxis

  • registerLogarithmicAxis(overWrite?: boolean): void
  • Registers LogarithmicAxis for EAxisType.LogarithmicAxis definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLogarithmicAxis3D

  • registerLogarithmicAxis3D(overWrite?: boolean): void
  • Registers LogarithmicAxis3D for EAxisType.LogarithmicAxis3D definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerLogarithmicLabelProvider

  • registerLogarithmicLabelProvider(overWrite?: boolean): void
  • Registers LogarithmicLabelProvider for ELabelProviderType.Logarithmic definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerMountainSeries

  • registerMountainSeries(overWrite?: boolean): void
  • Registers FastMountainRenderableSeries for ESeriesType.MountainSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerMouseWheelZoomModifier

  • registerMouseWheelZoomModifier(overWrite?: boolean): void
  • Registers MouseWheelZoomModifier for EChart2DModifierType.MouseWheelZoom definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerMouseWheelZoomModifier3D

  • registerMouseWheelZoomModifier3D(overWrite?: boolean): void
  • Registers MouseWheelZoomModifier3D for EChart3DModifierType.MouseWheelZoom definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerNativeTextAnnotation

  • registerNativeTextAnnotation(overWrite?: boolean): void
  • Registers NativeTextAnnotation for EAnnotationType.RenderContextNativeTextAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerNavyTheme

  • registerNavyTheme(overWrite?: boolean): void
  • Registers SciChartJsNavyTheme for EThemeProviderType.Navy definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerNonUniformHeatmapDataLabelProvider

  • registerNonUniformHeatmapDataLabelProvider(overWrite?: boolean): void
  • Registers NonUniformHeatMapDataLabelProvider for EDataLabelProviderType.NonUniformHeatmap definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerNonUniformHeatmapDataSeries

  • registerNonUniformHeatmapDataSeries(overWrite?: boolean): void
  • Registers NonUniformHeatmapDataSeries for EDataSeriesType.HeatmapNonUniform definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerNonUniformHeatmapSeries

  • registerNonUniformHeatmapSeries(overWrite?: boolean): void
  • Registers NonUniformHeatmapRenderableSeries for ESeriesType.NonUniformHeatmapSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerNumericAxis

  • registerNumericAxis(overWrite?: boolean): void
  • Registers NumericAxis for EAxisType.NumericAxis definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerNumericAxis3D

  • registerNumericAxis3D(overWrite?: boolean): void
  • Registers NumericAxis3D for EAxisType.NumericAxis3D definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerNumericLabelProvider

  • registerNumericLabelProvider(overWrite?: boolean): void
  • Registers NumericLabelProvider for ELabelProviderType.Numeric definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerOhlcDataSeries

  • registerOhlcDataSeries(overWrite?: boolean): void
  • Registers OhlcDataSeries for EDataSeriesType.Ohlc definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerOhlcScaleOffsetFilter

  • registerOhlcScaleOffsetFilter(overWrite?: boolean): void
  • Registers OhlcScaleOffsetFilter for EDataFilterType.OhlcScaleOffset definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerOhlcSeries

  • registerOhlcSeries(overWrite?: boolean): void
  • Registers FastOhlcRenderableSeries for ESeriesType.OhlcSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerOrbitModifier3D

  • registerOrbitModifier3D(overWrite?: boolean): void
  • Registers OrbitModifier3D for EChart3DModifierType.Orbit definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerOverviewRangeSelectionModifier

  • registerOverviewRangeSelectionModifier(overWrite?: boolean): void
  • Registers OverviewRangeSelectionModifier for EChart2DModifierType.OverviewRangeSelection definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPieLabelProvider

  • registerPieLabelProvider(overWrite?: boolean): void
  • Registers PieLabelProvider for ELabelProviderType.Pie definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPinchZoomModifier

  • registerPinchZoomModifier(overWrite?: boolean): void
  • Registers PinchZoomModifier for EChart2DModifierType.PinchZoom definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPinchZoomModifier3D

  • registerPinchZoomModifier3D(overWrite?: boolean): void
  • Registers PinchZoomModifier3D for EChart3DModifierType.PinchZoom definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPixelPointMarker3D

  • registerPixelPointMarker3D(overWrite?: boolean): void
  • Registers PixelPointMarker3D for EPointMarker3DType.Pixel definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPointLineRenderableSeries3D

  • registerPointLineRenderableSeries3D(overWrite?: boolean): void
  • Registers PointLineRenderableSeries3D for ESeriesType3D.PointLineRenderableSeries3D definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarArcAnnotation

  • registerPolarArcAnnotation(overWrite?: boolean): void
  • Registers PolarArcAnnotation for EAnnotationType.RenderContextPolarArcAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarArcZoomModifier

  • registerPolarArcZoomModifier(overWrite?: boolean): void
  • Registers PolarArcZoomModifier for EChart2DModifierType.PolarArcZoom definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarBandSeries

  • registerPolarBandSeries(overWrite?: boolean): void
  • Registers PolarBandRenderableSeries for ESeriesType.PolarBandSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarCategoryAxis

  • registerPolarCategoryAxis(overWrite?: boolean): void
  • Registers PolarCategoryAxis for EAxisType.PolarCategoryAxis definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarColumnDataLabelProvider

  • registerPolarColumnDataLabelProvider(): void
  • Registers PolarColumnSeriesDataLabelProvider for EDataLabelProviderType.PolarColumn definitions (never replaces an existing registration).

    Returns void

registerPolarColumnSeries

  • registerPolarColumnSeries(overWrite?: boolean): void
  • Registers PolarColumnRenderableSeries for ESeriesType.PolarColumnSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarCursorModifier

  • registerPolarCursorModifier(overWrite?: boolean): void
  • Registers PolarCursorModifier for EChart2DModifierType.PolarCursor definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarDataPointSelectionModifier

  • registerPolarDataPointSelectionModifier(overWrite?: boolean): void
  • Registers PolarDataPointSelectionModifier for EChart2DModifierType.PolarDataPointSelection definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarDefaultDataLabelProvider

  • registerPolarDefaultDataLabelProvider(): void
  • Registers PolarDataLabelProvider for EDataLabelProviderType.PolarDefault definitions (never replaces an existing registration).

    Returns void

registerPolarLayoutManager

  • registerPolarLayoutManager(overWrite?: boolean): void
  • Registers PolarLayoutManager for ELayoutManagerType.Polar definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarLegendModifier

  • registerPolarLegendModifier(overWrite?: boolean): void
  • Registers PolarLegendModifier for EChart2DModifierType.PolarLegend definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarLineSeries

  • registerPolarLineSeries(overWrite?: boolean): void
  • Registers PolarLineRenderableSeries for ESeriesType.PolarLineSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarMountainSeries

  • registerPolarMountainSeries(overWrite?: boolean): void
  • Registers PolarMountainRenderableSeries for ESeriesType.PolarMountainSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarMouseWheelZoomModifier

  • registerPolarMouseWheelZoomModifier(overWrite?: boolean): void
  • Registers PolarMouseWheelZoomModifier for EChart2DModifierType.PolarMouseWheelZoom definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarNumericAxis

  • registerPolarNumericAxis(overWrite?: boolean): void
  • Registers PolarNumericAxis for EAxisType.PolarNumericAxis definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarPanModifier

  • registerPolarPanModifier(overWrite?: boolean): void
  • Registers PolarPanModifier for EChart2DModifierType.PolarPan definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarPointerAnnotation

  • registerPolarPointerAnnotation(overWrite?: boolean): void
  • Registers PolarPointerAnnotation for EAnnotationType.SVGPolarPointerAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarScatterSeries

  • registerPolarScatterSeries(overWrite?: boolean): void
  • Registers PolarXyScatterRenderableSeries for ESeriesType.PolarScatterSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarSeriesSelectionModifier

  • registerPolarSeriesSelectionModifier(overWrite?: boolean): void
  • Registers PolarSeriesSelectionModifier for EChart2DModifierType.PolarSeriesSelection definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarStackedColumnCollection

  • registerPolarStackedColumnCollection(overWrite?: boolean): void
  • Registers PolarStackedColumnCollection for ESeriesType.PolarStackedColumnCollection definitions. The factory constructs an empty collection; buildSeries populates it from the definition's child series array.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarStackedColumnSeries

  • registerPolarStackedColumnSeries(overWrite?: boolean): void
  • Registers PolarStackedColumnRenderableSeries for ESeriesType.PolarStackedColumnSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarStackedMountainCollection

  • registerPolarStackedMountainCollection(overWrite?: boolean): void
  • Registers PolarStackedMountainCollection for ESeriesType.PolarStackedMountainCollection definitions. The factory constructs an empty collection; buildSeries populates it from the definition's child series array.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarStackedMountainSeries

  • registerPolarStackedMountainSeries(overWrite?: boolean): void
  • Registers PolarStackedMountainRenderableSeries for ESeriesType.PolarStackedMountainSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarSubSurface

  • registerPolarSubSurface(overWrite?: boolean): void
  • Registers SciChartPolarSubSurface for sub-chart definitions with a polar surface.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarTextDataLabelProvider

  • registerPolarTextDataLabelProvider(): void
  • Registers PolarTextDataLabelProvider for EDataLabelProviderType.PolarText definitions (never replaces an existing registration).

    Returns void

registerPolarTextSeries

  • registerPolarTextSeries(overWrite?: boolean): void
  • Registers PolarTextRenderableSeries for ESeriesType.PolarTextSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarTriangleSeries

  • registerPolarTriangleSeries(overWrite?: boolean): void
  • Registers PolarTriangleRenderableSeries for ESeriesType.PolarTriangleSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarUniformHeatmapSeries

  • registerPolarUniformHeatmapSeries(overWrite?: boolean): void
  • Registers PolarUniformHeatmapRenderableSeries for ESeriesType.PolarUniformHeatmapSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPolarZoomExtentsModifier

  • registerPolarZoomExtentsModifier(overWrite?: boolean): void
  • Registers PolarZoomExtentsModifier for EChart2DModifierType.PolarZoomExtents definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerPyramidPointMarker3D

  • registerPyramidPointMarker3D(overWrite?: boolean): void
  • Registers PyramidPointMarker3D for EPointMarker3DType.Pyramid definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerQuadPointMarker

  • registerQuadPointMarker(overWrite?: boolean): void
  • Registers QuadPointMarker for EPointMarker3DType.Quad definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerRectangleDataLabelProvider

  • registerRectangleDataLabelProvider(overWrite?: boolean): void
  • Registers RectangleSeriesDataLabelProvider for EDataLabelProviderType.Rectangle definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerRectangleSeries

  • registerRectangleSeries(overWrite?: boolean): void
  • Registers FastRectangleRenderableSeries for ESeriesType.RectangleSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerResetCamera3DModifier

  • registerResetCamera3DModifier(overWrite?: boolean): void
  • Registers ResetCamera3DModifier for EChart3DModifierType.ZoomExtents definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerRightInnerLayoutStrategy

  • registerRightInnerLayoutStrategy(overWrite?: boolean): void
  • Registers RightAlignedInnerAxisLayoutStrategy for ELayoutStrategyType.RightInner definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerRightOuterLayoutStrategy

  • registerRightOuterLayoutStrategy(overWrite?: boolean): void
  • Registers RightAlignedOuterAxisLayoutStrategy for ELayoutStrategyType.RightOuter definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerRightStackedLayoutStrategy

  • registerRightStackedLayoutStrategy(overWrite?: boolean): void
  • Registers RightAlignedOuterVerticallyStackedAxisLayoutStrategy for ELayoutStrategyType.RightStacked definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerRolloverModifier

  • registerRolloverModifier(overWrite?: boolean): void
  • Registers RolloverModifier for EChart2DModifierType.Rollover definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerRubberBandXyZoomModifier

  • registerRubberBandXyZoomModifier(overWrite?: boolean): void
  • Registers RubberBandXyZoomModifier for EChart2DModifierType.RubberBandXYZoom definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerScaleAnimation

  • registerScaleAnimation(overWrite?: boolean): void
  • Registers ScaleAnimation for EAnimationType.Scale definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerScatterRenderableSeries3D

  • registerScatterRenderableSeries3D(overWrite?: boolean): void
  • Registers ScatterRenderableSeries3D for ESeriesType3D.ScatterRenderableSeries3D definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerScatterSeries

  • registerScatterSeries(overWrite?: boolean): void
  • Registers XyScatterRenderableSeries for ESeriesType.ScatterSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSeriesSelectionModifier

  • registerSeriesSelectionModifier(overWrite?: boolean): void
  • Registers SeriesSelectionModifier for EChart2DModifierType.SeriesSelection definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSeriesSelectionModifier3D

  • registerSeriesSelectionModifier3D(overWrite?: boolean): void
  • Registers SeriesSelectionModifier3D for EChart3DModifierType.SeriesSelection definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerShadowEffect

  • registerShadowEffect(overWrite?: boolean): void
  • Registers ShadowEffect for EShaderEffectType.Shadow definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSmartDateLabelProvider

  • registerSmartDateLabelProvider(overWrite?: boolean): void
  • Registers SmartDateLabelProvider for ELabelProviderType.SmartDate definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSmoothStackedMountainSeries

  • registerSmoothStackedMountainSeries(overWrite?: boolean): void
  • Registers SmoothStackedMountainRenderableSeries for ESeriesType.SmoothStackedMountainSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSolidColorBrushPalette

  • registerSolidColorBrushPalette(overWrite?: boolean): void
  • Registers SolidColorBrushPalette for EPaletteProviderType.Solid3D definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSpherePointMarker3D

  • registerSpherePointMarker3D(overWrite?: boolean): void
  • Registers SpherePointMarker3D for EPointMarker3DType.Sphere definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSplineBandSeries

  • registerSplineBandSeries(overWrite?: boolean): void
  • Registers SplineBandRenderableSeries for ESeriesType.SplineBandSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSplineLineSeries

  • registerSplineLineSeries(overWrite?: boolean): void
  • Registers SplineLineRenderableSeries for ESeriesType.SplineLineSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSplineMountainSeries

  • registerSplineMountainSeries(overWrite?: boolean): void
  • Registers SplineMountainRenderableSeries for ESeriesType.SplineMountainSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSpritePointMarker

  • registerSpritePointMarker(overWrite?: boolean): void
  • Registers SpritePointMarker for EPointMarkerType.Sprite definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSquarePointMarker

  • registerSquarePointMarker(overWrite?: boolean): void
  • Registers SquarePointMarker for EPointMarkerType.Square definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerStackedCollectionDataLabelProvider

  • registerStackedCollectionDataLabelProvider(overWrite?: boolean): void
  • Registers StackedCollectionDataLabelProvider for EDataLabelProviderType.StackedCollection definitions. This is the provider a stacked collection creates for itself, so it appears in the collection's toJSON() output and has to resolve when that JSON is rebuilt.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerStackedColumnCollection

  • registerStackedColumnCollection(overWrite?: boolean): void
  • Registers StackedColumnCollection for ESeriesType.StackedColumnCollection definitions. The factory constructs an empty collection; buildSeries populates it from the definition's child series array.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerStackedColumnSeries

  • registerStackedColumnSeries(overWrite?: boolean): void
  • Registers StackedColumnRenderableSeries for ESeriesType.StackedColumnSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerStackedMountainCollection

  • registerStackedMountainCollection(overWrite?: boolean): void
  • Registers StackedMountainCollection for ESeriesType.StackedMountainCollection definitions. The factory constructs an empty collection; buildSeries populates it from the definition's child series array.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerStackedMountainSeries

  • registerStackedMountainSeries(overWrite?: boolean): void
  • Registers StackedMountainRenderableSeries for ESeriesType.StackedMountainSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSubSurface

  • registerSubSurface(overWrite?: boolean): void
  • Registers SciChartSubSurface for sub-chart definitions with a default (cartesian) surface.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSurfaceMeshRenderableSeries3D

  • registerSurfaceMeshRenderableSeries3D(overWrite?: boolean): void
  • Registers SurfaceMeshRenderableSeries3D for ESeriesType3D.SurfaceMeshRenderableSeries3D definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSvgLineAnnotation

  • registerSvgLineAnnotation(overWrite?: boolean): void
  • Registers SvgLineAnnotation for EAnnotationType.SvgLineAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerSweepAnimation

  • registerSweepAnimation(overWrite?: boolean): void
  • Registers SweepAnimation for EAnimationType.Sweep definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTableDataSeries

  • registerTableDataSeries(overWrite?: boolean): void
  • Registers TableDataSeries for EDataSeriesType.Table definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTemplateMetadataGenerator

  • registerTemplateMetadataGenerator(overWrite?: boolean): void
  • Registers TemplateMetadataGenerator for metadata: { type: "Template" } definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTextAnnotation

  • registerTextAnnotation(overWrite?: boolean): void
  • Registers TextAnnotation for EAnnotationType.SVGTextAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTextDataLabelProvider

  • registerTextDataLabelProvider(overWrite?: boolean): void
  • Registers TextDataLabelProvider for EDataLabelProviderType.Text definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTextLabelProvider

  • registerTextLabelProvider(overWrite?: boolean): void
  • Registers TextLabelProvider for ELabelProviderType.Text definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTextSeries

  • registerTextSeries(overWrite?: boolean): void
  • Registers FastTextRenderableSeries for ESeriesType.TextSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTooltipModifier3D

  • registerTooltipModifier3D(overWrite?: boolean): void
  • Registers TooltipModifier3D for EChart3DModifierType.Tooltip definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTopInnerLayoutStrategy

  • registerTopInnerLayoutStrategy(overWrite?: boolean): void
  • Registers TopAlignedInnerAxisLayoutStrategy for ELayoutStrategyType.TopInner definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTopOuterLayoutStrategy

  • registerTopOuterLayoutStrategy(overWrite?: boolean): void
  • Registers TopAlignedOuterAxisLayoutStrategy for ELayoutStrategyType.TopOuter definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTopStackedLayoutStrategy

  • registerTopStackedLayoutStrategy(overWrite?: boolean): void
  • Registers TopAlignedOuterHorizontallyStackedAxisLayoutStrategy for ELayoutStrategyType.TopStacked definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTrianglePointMarker

  • registerTrianglePointMarker(overWrite?: boolean): void
  • Registers TrianglePointMarker for EPointMarkerType.Triangle definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTrianglePointMarker3D

  • registerTrianglePointMarker3D(overWrite?: boolean): void
  • Registers TrianglePointMarker3D for EPointMarker3DType.Triangle definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerTriangleSeries

  • registerTriangleSeries(overWrite?: boolean): void
  • Registers FastTriangleRenderableSeries for ESeriesType.TriangleSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

Const registerType

  • registerType<T>(baseType: EBaseType, type: string, constructor: (options?: any) => T, overWrite?: boolean): void
  • Register a function that returns an object of the specified type.

    Type parameters

    • T: object

    Parameters

    • baseType: EBaseType

      The EBaseType of the object that is being registered.

    • type: string

      The name of the type, which should be a subtype of the baseType. For custom types, use the actual type name, not the "Custom" value on the subType enum.

    • constructor: (options?: any) => T

      A function that takes an optional options argument and returns an instance of the desired type.

        • (options?: any): T
        • Parameters

          • Optional options: any

          Returns T

    • Default value overWrite: boolean = false

      Whether to override an existing registration for the type. Default false.

    Returns void

registerUniformContoursSeries

  • registerUniformContoursSeries(overWrite?: boolean): void
  • Registers UniformContoursRenderableSeries for ESeriesType.UniformContoursSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerUniformGridDataSeries3D

  • registerUniformGridDataSeries3D(overWrite?: boolean): void
  • Registers UniformGridDataSeries3D for EDataSeriesType3D.UniformGrid3D definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerUniformHeatmapDataSeries

  • registerUniformHeatmapDataSeries(overWrite?: boolean): void
  • Registers UniformHeatmapDataSeries for EDataSeriesType.HeatmapUniform definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerUniformHeatmapSeries

  • registerUniformHeatmapSeries(overWrite?: boolean): void
  • Registers UniformHeatmapRenderableSeries for ESeriesType.UniformHeatmapSeries definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerVerticalLineAnnotation

  • registerVerticalLineAnnotation(overWrite?: boolean): void
  • Registers VerticalLineAnnotation for EAnnotationType.RenderContextVerticalLineAnnotation definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerVerticalSliceModifier

  • registerVerticalSliceModifier(overWrite?: boolean): void
  • Registers VerticalSliceModifier for EChart2DModifierType.VerticalSlice definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

Const registerWasmType

  • registerWasmType<T>(baseType: EBaseType, type: string, constructor: (wasmContext: TSciChart | TSciChart3D, options?: any) => T, overWrite?: boolean): void
  • Register a function that requires a webAssemblyContext to return an object of the specified type.

    Type parameters

    • T: object

    Parameters

    • baseType: EBaseType

      The EBaseType of the object that is being registered.

    • type: string

      The name of the type, which should be a subtype of the baseType. For custom types, use the actual type name, not the "Custom" value on the subType enum.

    • constructor: (wasmContext: TSciChart | TSciChart3D, options?: any) => T

      A function that takes a SciChart 2D WebAssembly Context or SciChart 3D WebAssembly Context and an optional options argument and returns an instance of the desired type.

    • Default value overWrite: boolean = false

      Whether to override an existing registration for the type. Default false.

    Returns void

registerWaveAnimation

  • registerWaveAnimation(overWrite?: boolean): void
  • Registers WaveAnimation for EAnimationType.Wave definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXAxisDragModifier

  • registerXAxisDragModifier(overWrite?: boolean): void
  • Registers XAxisDragModifier for EChart2DModifierType.XAxisDrag definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXDataSeries

  • registerXDataSeries(overWrite?: boolean): void
  • Registers XDataSeries for EDataSeriesType.X definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXPointMarker

  • registerXPointMarker(overWrite?: boolean): void
  • Registers XPointMarker for EPointMarkerType.X definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyDataSeries

  • registerXyDataSeries(overWrite?: boolean): void
  • Registers XyDataSeries for EDataSeriesType.Xy definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyLinearTrendFilter

  • registerXyLinearTrendFilter(overWrite?: boolean): void
  • Registers XyLinearTrendFilter for EDataFilterType.XyLinearTrend definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyMovingAverageFilter

  • registerXyMovingAverageFilter(overWrite?: boolean): void
  • Registers XyMovingAverageFilter for EDataFilterType.XyMovingAverage definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyNDataSeries

  • registerXyNDataSeries(overWrite?: boolean): void
  • Registers TableDataSeries for EDataSeriesType.XyN definitions - the released string key of the deprecated XyNDataSeries name, kept so existing chart JSON still builds. Shared data is not yet supported for this type.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyRatioFilter

  • registerXyRatioFilter(overWrite?: boolean): void
  • Registers XyRatioFilter for EDataFilterType.XyRatio definitions. A divisorSeries given as a plain number array is wrapped into an XyDataSeries on the source series' WebAssembly context, as the old dispatch did.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyScaleOffsetFilter

  • registerXyScaleOffsetFilter(overWrite?: boolean): void
  • Registers XyScaleOffsetFilter for EDataFilterType.XyScaleOffset definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyTextDataSeries

  • registerXyTextDataSeries(overWrite?: boolean): void
  • Registers XyTextDataSeries for EDataSeriesType.XyText definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyxDataSeries

  • registerXyxDataSeries(overWrite?: boolean): void
  • Registers XyxDataSeries for EDataSeriesType.Xyx definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyxyDataSeries

  • registerXyxyDataSeries(overWrite?: boolean): void
  • Registers XyxyDataSeries for EDataSeriesType.Xyxy definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyyDataSeries

  • registerXyyDataSeries(overWrite?: boolean): void
  • Registers XyyDataSeries for EDataSeriesType.Xyy definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyyScaleOffsetFilter

  • registerXyyScaleOffsetFilter(overWrite?: boolean): void
  • Registers XyyScaleOffsetFilter for EDataFilterType.XyyScaleOffset definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyzDataSeries

  • registerXyzDataSeries(overWrite?: boolean): void
  • Registers XyzDataSeries for EDataSeriesType.Xyz definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyzDataSeries3D

  • registerXyzDataSeries3D(overWrite?: boolean): void
  • Registers XyzDataSeries3D for EDataSeriesType3D.Xyz3D definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerXyzScaleOffsetFilter

  • registerXyzScaleOffsetFilter(overWrite?: boolean): void
  • Registers XyzScaleOffsetFilter for EDataFilterType.XyzScaleOffset definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerYAxisDragModifier

  • registerYAxisDragModifier(overWrite?: boolean): void
  • Registers YAxisDragModifier for EChart2DModifierType.YAxisDrag definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerZoomExtentsModifier

  • registerZoomExtentsModifier(overWrite?: boolean): void
  • Registers ZoomExtentsModifier for EChart2DModifierType.ZoomExtents definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

registerZoomPanModifier

  • registerZoomPanModifier(overWrite?: boolean): void
  • Registers ZoomPanModifier for EChart2DModifierType.ZoomPan definitions.

    Parameters

    • Default value overWrite: boolean = true

    Returns void

Const requireModule

  • Throws a named, actionable error if apiName needs a module that has not been loaded.

    Detection is by probing for the symbol rather than by asking which build shape this is, which makes it correct in both without a build-time flag: in the static build the symbol is always there, and in the modular build it appears exactly when the module is dlopen'd.

    Deliberately a throw and not a fallback. Today's crossfilter path warns once and renders unfiltered when it meets an unsupported resampler variant; that pattern is NOT extended here, because a chart that silently renders unfiltered data is a wrong answer that looks correct.

    Parameters

    Returns void

Const resetCache

  • resetCache(): void
  • Returns void

Const resolveComponent

  • Resolves one { type, customType?, options } definition, honouring the Custom convention: definitions with type: "Custom" carry the registered name in customType.

    Parameters

    Returns any

Const resolveModuleUrl

  • Resolves a module's URL. Deliberately NOT routed through getLocateFile: that hook applies the SIMD / wasmUrl rewrites, which are about the core binary and would rewrite a module filename into the core's URL. modulesUrl lets a self-hoster put modules somewhere other than beside the core; without it they resolve relative to the configured wasmUrl's directory, and failing that relative to the page - which is what a default npm install wants.

    Parameters

    • moduleName: TSciChartModuleName
    • sciChartConfig: { modulesUrl?: string; wasmUrl?: string }
      • Optional modulesUrl?: string
      • Optional wasmUrl?: string
    • variant: TWasmVariant

    Returns string

runAfterFramePaint

  • runAfterFramePaint(callback: () => void): void
  • Runs callback shortly after the next browser Frame is produced.

    Parameters

    • callback: () => void
        • (): void
        • Returns void

    Returns void

Const runIfValue

  • runIfValue(value: any, fn: (value: any) => any): any
  • Parameters

    • value: any
    • fn: (value: any) => any
        • (value: any): any
        • Parameters

          • value: any

          Returns any

    Returns any

Const sendTelemetry

  • sendTelemetry(): void
  • Returns void

setIsLicenseDebug

  • setIsLicenseDebug(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

Const setLabel

  • setLabel(text: string, styleId: string, label: LabelInfo): void
  • Parameters

    • text: string
    • styleId: string
    • label: LabelInfo

    Returns void

Const setMaxSize

  • setMaxSize(size: number): void
  • Parameters

    • size: number

    Returns void

Const setMinAge

  • setMinAge(ageInMs: number): void
  • Parameters

    • ageInMs: number

    Returns void

Const setUserCookie

  • setUserCookie(userId: string, sessionId: string, sessionStart: number): void
  • Parameters

    • userId: string
    • sessionId: string
    • sessionStart: number

    Returns void

Const setWebGpuSupported

  • setWebGpuSupported(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

Const shouldSendTelemetry

  • shouldSendTelemetry(): boolean
  • Returns boolean

Const splitIntoClusters

  • splitIntoClusters(tooltipArray: TTooltipProps[], spacing: number, pixelRatio: number, positionProperties: TPositionPoperties): TTooltipProps[][]
  • description

    Splits tooltips into clusters based on their proximity

    Parameters

    • tooltipArray: TTooltipProps[]
    • spacing: number
    • pixelRatio: number
    • positionProperties: TPositionPoperties

    Returns TTooltipProps[][]

    Array of tooltip clusters

storageAvailable

  • storageAvailable(): boolean
  • Returns boolean

storageForColumnType

  • Which storage a semantic type requires.

    Parameters

    Returns EColumnStorage

stringOccurrences

  • stringOccurrences(str: string, subStr: string, allowOverlapping?: boolean): number
  • Parameters

    • str: string
    • subStr: string
    • Default value allowOverlapping: boolean = false

    Returns number

Const stripAutoColor

  • stripAutoColor(val: string): string
  • Parameters

    • val: string

    Returns string

subArray

  • subArray(array: NumberArray, startIndex?: number, endIndex?: number): number[] | Float64Array
  • Parameters

    • array: NumberArray
    • Optional startIndex: number
    • Optional endIndex: number

    Returns number[] | Float64Array

subtractCoord

  • subtractCoord<T>(a: T, b: T): T
  • Type parameters

    Parameters

    • a: T
    • b: T

    Returns T

Const switchData

  • switchData(field: EDataSeriesField, x: any, closey: any, openy1z?: any, high?: any, low?: any): any
  • Parameters

    • field: EDataSeriesField
    • x: any
    • closey: any
    • Optional openy1z: any
    • Optional high: any
    • Optional low: any

    Returns any

Const testIsHitForBand

  • testIsHitForBand(isDigitalLine: boolean, xCoordinateCalculator: CoordinateCalculatorBase, yCoordinateCalculator: CoordinateCalculatorBase, xValues: SCRTDoubleVector, getYValue: (index: number) => number, getY1Value: (index: number) => number, pointIndex: number, xHitCoord: number, yHitCoord: number, dataSeries: BaseDataSeries): { isHit: boolean; secondPointIndex: number }
  • Parameters

    • isDigitalLine: boolean
    • xCoordinateCalculator: CoordinateCalculatorBase
    • yCoordinateCalculator: CoordinateCalculatorBase
    • xValues: SCRTDoubleVector
    • getYValue: (index: number) => number
        • (index: number): number
        • Parameters

          • index: number

          Returns number

    • getY1Value: (index: number) => number
        • (index: number): number
        • Parameters

          • index: number

          Returns number

    • pointIndex: number
    • xHitCoord: number
    • yHitCoord: number
    • dataSeries: BaseDataSeries

    Returns { isHit: boolean; secondPointIndex: number }

    • isHit: boolean
    • secondPointIndex: number

Const testIsHitForBoxPlot

  • testIsHitForBoxPlot(xCoordinateCalculator: CoordinateCalculatorBase, yCoordinateCalculator: CoordinateCalculatorBase, columnWidth: number, dataSeries: IDataSeries, xValues: SCRTDoubleVector, yMinValues: SCRTDoubleVector, yMaxValues: SCRTDoubleVector, pointIndex: number, xHitCoord: number, yHitCoord: number): boolean
  • Parameters

    Returns boolean

Const testIsHitForColumn

  • testIsHitForColumn(xCoordinateCalculator: CoordinateCalculatorBase, yCoordinateCalculator: CoordinateCalculatorBase, columnWidth: number, zeroLineY: number, dataSeries: IDataSeries, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, pointIndex: number, xHitCoord: number, yHitCoord: number, distance?: number): boolean
  • Parameters

    • xCoordinateCalculator: CoordinateCalculatorBase
    • yCoordinateCalculator: CoordinateCalculatorBase
    • columnWidth: number
    • zeroLineY: number
    • dataSeries: IDataSeries
    • xValues: SCRTDoubleVector
    • yValues: SCRTDoubleVector
    • pointIndex: number
    • xHitCoord: number
    • yHitCoord: number
    • Default value distance: number = undefined

    Returns boolean

Const testIsHitForErrorBars

  • Parameters

    Returns { highValue: number; isHit: boolean; lowValue: number }

    • highValue: number
    • isHit: boolean
    • lowValue: number

Const testIsHitForImpulse

Const testIsHitForLine

  • testIsHitForLine(xCoordinateCalculator: CoordinateCalculatorBase, yCoordinateCalculator: CoordinateCalculatorBase, xValues: SCRTDoubleVector, yValues: SCRTDoubleVector, pointIndex: number, xHitCoord: number, yHitCoord: number, hitTestRadius: number, dataSeries: BaseDataSeries): { isHit: boolean; secondPointIndex: number }
  • Parameters

    • xCoordinateCalculator: CoordinateCalculatorBase
    • yCoordinateCalculator: CoordinateCalculatorBase
    • xValues: SCRTDoubleVector
    • yValues: SCRTDoubleVector
    • pointIndex: number
    • xHitCoord: number

      The X coordinate, isVertical property is already taken into account

    • yHitCoord: number

      The Y coordinate, isVertical property is already taken into account

    • hitTestRadius: number
    • dataSeries: BaseDataSeries

    Returns { isHit: boolean; secondPointIndex: number }

    • isHit: boolean
    • secondPointIndex: number

Const testIsHitForMountain

  • Parameters

    Returns { isHit: boolean; secondPointIndex: number }

    • isHit: boolean
    • secondPointIndex: number

Const testIsHitForOHLC

Const testIsHitForPoint

  • Parameters

    Returns boolean

Const testIsInBounds

  • testIsInBounds(x: number, y: number, left: number, bottom: number, right: number, top: number, radius?: number): boolean
  • Tests whether a point is within rectangle bounds

    Parameters

    • x: number
    • y: number
    • left: number
    • bottom: number
    • right: number
    • top: number
    • Default value radius: number = 0

    Returns boolean

Const testIsInInterval

  • testIsInInterval(x: number, intervalStart: number, intervalEnd: number, radius?: number): boolean
  • Tests if X is within radius from the [intervalStart, intervalEnd] interval, intervalStart, intervalEnd values might not be sorted

    Parameters

    • x: number
    • intervalStart: number
    • intervalEnd: number
    • Default value radius: number = 0

    Returns boolean

Const testIsInXBounds

  • testIsInXBounds(xHitTestPoint: number, xDataPointCoord: number, maxDistance: number): boolean
  • Parameters

    • xHitTestPoint: number
    • xDataPointCoord: number
    • maxDistance: number

    Returns boolean

Const testIsOverAxes

  • Parameters

    Returns boolean

testIsYHit

  • testIsYHit(yValues: SCRTDoubleVector, y1Values: SCRTDoubleVector | undefined, yCoordinateCalculator: CoordinateCalculatorBase, yHitCoord: number, defaultY1: number, resPointIndex: number, columnYMode: EColumnYMode): boolean
  • Parameters

    • yValues: SCRTDoubleVector
    • y1Values: SCRTDoubleVector | undefined
    • yCoordinateCalculator: CoordinateCalculatorBase
    • yHitCoord: number
    • defaultY1: number
    • resPointIndex: number
    • columnYMode: EColumnYMode

    Returns boolean

Const testPointInTriangle

  • testPointInTriangle(x: number, y: number, x1: number, y1: number, x2: number, y2: number, x3: number, y3: number): boolean
  • Parameters

    • x: number
    • y: number
    • x1: number
    • y1: number
    • x2: number
    • y2: number
    • x3: number
    • y3: number

    Returns boolean

Const testPolarIsHitForColumn

  • testPolarIsHitForColumn(wasmContext: TSciChart, xCoordinateCalculator: CoordinateCalculatorBase, yCoordinateCalculator: CoordinateCalculatorBase, xValues: SCRTDoubleVector, x1Values: SCRTDoubleVector | undefined, yValues: SCRTDoubleVector, xHitCoord: number, yHitCoord: number, zeroLineY: number, columnWidth: number, polarColumnMode: EColumnMode, isVertical: boolean, isSorted: boolean): { isHit: boolean; isWithinDataBounds: boolean; nearestPointIndex: number }
  • Parameters

    • wasmContext: TSciChart
    • xCoordinateCalculator: CoordinateCalculatorBase
    • yCoordinateCalculator: CoordinateCalculatorBase
    • xValues: SCRTDoubleVector
    • x1Values: SCRTDoubleVector | undefined
    • yValues: SCRTDoubleVector
    • xHitCoord: number
    • yHitCoord: number
    • zeroLineY: number
    • columnWidth: number
    • polarColumnMode: EColumnMode
    • isVertical: boolean
    • isSorted: boolean

    Returns { isHit: boolean; isWithinDataBounds: boolean; nearestPointIndex: number }

    • isHit: boolean
    • isWithinDataBounds: boolean
    • nearestPointIndex: number

Const toEngineering

  • toEngineering(value: number, largePrefixes?: string[], smallPrefixes?: string[], precision?: number, preserveTrailingZeroes?: boolean): string
  • Parameters

    • value: number
    • Optional largePrefixes: string[]
    • Optional smallPrefixes: string[]
    • Default value precision: number = 1
    • Default value preserveTrailingZeroes: boolean = false

    Returns string

Const toHex

  • toHex(value: number): string
  • toHex(value: number): string
  • Converts a UINT color number to a 8-digit hex code e.g. #FFAABBCC

    Parameters

    • value: number

    Returns string

  • Parameters

    • value: number

    Returns string

Const toScientific

  • toScientific(value: number, precision: number, logarithmicBase: number): string
  • Parameters

    • value: number
    • precision: number
    • logarithmicBase: number

    Returns string

Const toSuperScript

  • toSuperScript(value: number): string
  • Parameters

    • value: number

    Returns string

Const translateDataValueRectToAbsolute

translateFromAbsoluteCoordinate

Const translateFromCanvasToSeriesViewRect

  • translateFromCanvasToSeriesViewRect(point: Point, seriesViewRect: Rect, allowValuesOutOfBounds?: boolean): Point
  • Translates from canvas to seriesViewRect screen coordinates

    Parameters

    • point: Point
    • seriesViewRect: Rect
    • Default value allowValuesOutOfBounds: boolean = false

      will translate even if the point is outside of the seriesViewRect

    Returns Point

Const translateFromCanvasToSeriesViewRectX

  • translateFromCanvasToSeriesViewRectX(x: number, seriesViewRect: Rect, allowValuesOutOfBounds?: boolean): number
  • Parameters

    • x: number
    • seriesViewRect: Rect
    • Default value allowValuesOutOfBounds: boolean = false

    Returns number

Const translateFromCanvasToSeriesViewRectY

  • translateFromCanvasToSeriesViewRectY(y: number, seriesViewRect: Rect, allowValuesOutOfBounds?: boolean): number
  • Parameters

    • y: number
    • seriesViewRect: Rect
    • Default value allowValuesOutOfBounds: boolean = false

    Returns number

Const translateFromSeriesViewRectToCanvas

  • translateFromSeriesViewRectToCanvas(point: Point, seriesViewRect: Rect, allowValuesOutOfBounds?: boolean): Point
  • Translates from seriesViewRect to canvas screen coordinates

    Parameters

    • point: Point
    • seriesViewRect: Rect
    • Default value allowValuesOutOfBounds: boolean = false

      will translate even if the point is outside of the seriesViewRect

    Returns Point

Const translateFromSeriesViewRectToCanvasX

  • translateFromSeriesViewRectToCanvasX(x: number, seriesViewRect: Rect, allowValuesOutOfBounds?: boolean): number
  • Parameters

    • x: number
    • seriesViewRect: Rect
    • Default value allowValuesOutOfBounds: boolean = false

    Returns number

Const translateFromSeriesViewRectToCanvasY

  • translateFromSeriesViewRectToCanvasY(y: number, seriesViewRect: Rect, allowValuesOutOfBounds?: boolean): number
  • Parameters

    • y: number
    • seriesViewRect: Rect
    • Default value allowValuesOutOfBounds: boolean = false

    Returns number

translateToAbsoluteCoordinate

Const translateToNotScaled

  • translateToNotScaled(value: number): number
  • Parameters

    • value: number

    Returns number

Const translateToNotScaledRect

  • translateToNotScaledRect(rect: Rect): Rect
  • Parameters

    Returns Rect

Const translateToScaled

  • translateToScaled(value: number): number
  • Parameters

    • value: number

    Returns number

Const translateToScaledRect

  • translateToScaledRect(rect: Rect): Rect
  • Parameters

    Returns Rect

uintArgbColorIsTransparent

  • uintArgbColorIsTransparent(argbColor: number): boolean
  • Parameters

    • argbColor: number

    Returns boolean

uintArgbColorLerp

  • uintArgbColorLerp(from: number, to: number, ratio: number): number
  • Linearly interpolates between two colors based on the ratio passed in. E.g. Ratio = 0.0f returns From color, ratio = 1.0f returns To Color. Ratio = 0.5f returns a mix of the two Works for 32 bit colors

    Parameters

    • from: number

      the start color, for example 0x0000ffff (format ARGB)

    • to: number

      the end color, for example 0xffffffff

    • ratio: number

      the value between 0 and 1

    Returns number

uintArgbColorLerp24bit

  • uintArgbColorLerp24bit(from: number, to: number, ratio: number): number
  • Linearly interpolates between two colors based on the ratio passed in. E.g. Ratio = 0.0f returns From color, ratio = 1.0f returns To Color. Ratio = 0.5f returns a mix of the two. Works only for numbers not more than 24 bit

    Parameters

    • from: number

      the start color, for example 0xff0000

    • to: number

      the end color, for example 0x00ff00

    • ratio: number

      the value between 0 and 1

    Returns number

uintArgbColorMultiplyOpacity

  • uintArgbColorMultiplyOpacity(argbColor: number, opacity: number): number
  • Parameters

    • argbColor: number
    • opacity: number

    Returns number

uintArgbColorOverrideOpacity

  • uintArgbColorOverrideOpacity(argbColor: number, opacity: number): number
  • Parameters

    • argbColor: number
    • opacity: number

    Returns number

uintArgbColorToAbgr

  • uintArgbColorToAbgr(argbColor: number): number
  • Parameters

    • argbColor: number

    Returns number

updateAxisLayoutState

  • Parameters

    Returns void

updateLeftAndRightChartLayoutState

  • updateLeftAndRightChartLayoutState(chartLayoutState: ChartLayoutState, additionalLeftSize?: number, additionalRightSize?: number): void
  • Parameters

    • chartLayoutState: ChartLayoutState
    • Default value additionalLeftSize: number = 0
    • Default value additionalRightSize: number = 0

    Returns void

updateTopAndBottomChartLayoutState

  • updateTopAndBottomChartLayoutState(chartLayoutState: ChartLayoutState, additionalTopSize?: number, additionalBottomSize?: number): void
  • Parameters

    • chartLayoutState: ChartLayoutState
    • Default value additionalTopSize: number = 0
    • Default value additionalBottomSize: number = 0

    Returns void

Const updateTsrVector4

  • updateTsrVector4(color: TArgb, tsrColor: TSRVector4): void
  • Converts a color in TArgb format to TSRVector4 (RGBA -> x,y,z,w) for use in 3D Engine

    Parameters

    • color: TArgb
    • tsrColor: TSRVector4

    Returns void

updateWrapper

validateColorStops

  • Parameters

    Returns boolean

Const validateModuleBytes

  • Validates module bytes before emscripten sees them, because emscripten's own failures are not debuggable from their messages: a truncated fetch, a version-skewed module and a core with too narrow an export table all surface as errors naming neither the module nor the symbol (asyncLoad calls onerror() with no argument at all). Everything this function rejects, it rejects with the module name, the resolved URL and the fix.

    Parameters

    • bytes: Uint8Array
    • moduleName: string
    • url: string
    • expectedVariant: TWasmVariant

    Returns TModuleStamp

Const variantSuffix

  • Parameters

    Returns string

vectorToArray

  • vectorToArray(vector: SCRTDoubleVector2D | SCRTDoubleVector3D | FloatVector2D | SCRTFloatVector3D | UIntVector2D | SCRTUintVector2D | SCRTUintVector3D | IntVector2D | SCRTIntVector, wasmContext: TSciChart | TSciChart3D): number[]
  • Converts a WebAssembly vector to a JavaScript number array by creating a copy of the data.

    remarks

    This function creates a new JavaScript array containing a copy of all values from the WebAssembly vector. The returned array is independent of the underlying WebAssembly memory, so it's safe to use even after the original vector is deleted or modified.

    Use this function when you need to:

    • Store vector data beyond the lifetime of the WebAssembly vector
    • Pass data to JavaScript APIs that expect regular arrays
    • Ensure data immutability

    Parameters

    • vector: SCRTDoubleVector2D | SCRTDoubleVector3D | FloatVector2D | SCRTFloatVector3D | UIntVector2D | SCRTUintVector2D | SCRTUintVector3D | IntVector2D | SCRTIntVector

      The WebAssembly vector to convert (SCRTDoubleVector2D, SCRTDoubleVector3D, FloatVector2D, UIntVector2D, IntVector2D or SCRTIntVector)

    • wasmContext: TSciChart | TSciChart3D

      The WebAssembly context (TSciChart or TSciChart3D) that owns the vector

    Returns number[]

    A new number[] array containing a copy of all values from the vector

vectorToArrayViewF32

  • vectorToArrayViewF32(vector: FloatVector2D | SCRTFloatVector3D, wasmContext: TSciChart | TSciChart3D): Float32Array
  • Creates a Float32Array view directly onto the WebAssembly memory backing the vector.

    remarks

    IMPORTANT: This function returns a view onto the underlying WebAssembly memory, NOT a copy.

    The returned Float32Array:

    • Shares memory with the WebAssembly vector - changes to the underlying data will be reflected in the view
    • Should be used for READ operations only - writing to this view may cause undefined behaviour
    • Becomes invalid if the vector is deleted or resized
    • Has zero-copy performance characteristics, making it very efficient for reading large datasets

    Use this function when you need:

    • High-performance read access to vector data
    • To avoid memory allocation overhead
    • Temporary access to data that won't outlive the vector

    If you need to modify data or keep it beyond the vector's lifetime, use vectorToArray instead.

    Parameters

    • vector: FloatVector2D | SCRTFloatVector3D

      The WebAssembly vector to create a view for (FloatVector2D)

    • wasmContext: TSciChart | TSciChart3D

      The WebAssembly context (TSciChart) that owns the vector

    Returns Float32Array

    A Float32Array view onto the WebAssembly memory - DO NOT write to this array

vectorToArrayViewF64

  • vectorToArrayViewF64(vector: SCRTDoubleVector2D | SCRTDoubleVector3D, wasmContext: TSciChart | TSciChart3D): Float64Array
  • Creates a Float64Array view directly onto the WebAssembly memory backing the vector.

    remarks

    IMPORTANT: This function returns a view onto the underlying WebAssembly memory, NOT a copy.

    The returned Float64Array:

    • Shares memory with the WebAssembly vector - changes to the underlying data will be reflected in the view
    • Should be used for READ operations only - writing to this view may cause undefined behaviour
    • Becomes invalid if the vector is deleted or resized
    • Has zero-copy performance characteristics, making it very efficient for reading large datasets

    Use this function when you need:

    • High-performance read access to vector data
    • To avoid memory allocation overhead
    • Temporary access to data that won't outlive the vector

    If used with a FIFO vector (ie from a dataSeries with fifoCapacity set) you will get the raw buffer and will need to use (index + fifoStartIndex) % fifoCapacity to access the data in the original order

    If you need to modify data or keep it beyond the vector's lifetime, use vectorToArray instead.

    Parameters

    • vector: SCRTDoubleVector2D | SCRTDoubleVector3D

      The WebAssembly vector to create a view for (SCRTDoubleVector2D or SCRTDoubleVector3D)

    • wasmContext: TSciChart | TSciChart3D

      The WebAssembly context (TSciChart or TSciChart3D) that owns the vector

    Returns Float64Array

    A Float64Array view onto the WebAssembly memory - DO NOT write to this array

vectorToArrayViewI32

  • vectorToArrayViewI32(vector: IntVector2D | SCRTIntVector, wasmContext: TSciChart): Int32Array
  • Creates a Int32Array view directly onto the WebAssembly memory backing the vector.

    remarks

    IMPORTANT: This function returns a view onto the underlying WebAssembly memory, NOT a copy.

    The returned Int32Array:

    • Shares memory with the WebAssembly vector - changes to the underlying data will be reflected in the view
    • Should be used for READ operations only - writing to this view may cause undefined behaviour
    • Becomes invalid if the vector is deleted or resized
    • Has zero-copy performance characteristics, making it very efficient for reading large datasets

    Use this function when you need:

    • High-performance read access to vector data
    • To avoid memory allocation overhead
    • Temporary access to data that won't outlive the vector

    If you need to modify data or keep it beyond the vector's lifetime, use vectorToArray instead.

    remarks

    Accepts BOTH Int32 vector types on purpose. They are unrelated classes with the same two members this needs (dataPtr, size): IntVector is embind's std::vector, while SCRTIntVector is the hand-written SCRT*Vector-family class that backs string-column codes.

    Parameters

    • vector: IntVector2D | SCRTIntVector

      The WebAssembly vector to create a view for (IntVector2D or SCRTIntVector)

    • wasmContext: TSciChart

      The WebAssembly context (TSciChart) that owns the vector

    Returns Int32Array

    A Int32Array view onto the WebAssembly memory - DO NOT write to this array

vectorToArrayViewUi32

  • vectorToArrayViewUi32(vector: UIntVector2D | SCRTUintVector2D | SCRTUintVector3D, wasmContext: TSciChart | TSciChart3D): Uint32Array
  • Creates a Uint32Array view directly onto the WebAssembly memory backing the vector.

    remarks

    IMPORTANT: This function returns a view onto the underlying WebAssembly memory, NOT a copy.

    The returned Uint32Array:

    • Shares memory with the WebAssembly vector - changes to the underlying data will be reflected in the view
    • Should be used for READ operations only - writing to this view may cause undefined behaviour
    • Becomes invalid if the vector is deleted or resized
    • Has zero-copy performance characteristics, making it very efficient for reading large datasets

    Use this function when you need:

    • High-performance read access to vector data
    • To avoid memory allocation overhead
    • Temporary access to data that won't outlive the vector

    If you need to modify data or keep it beyond the vector's lifetime, use vectorToArray instead.

    Parameters

    • vector: UIntVector2D | SCRTUintVector2D | SCRTUintVector3D

      The WebAssembly vector to create a view for (UIntVector2D)

    • wasmContext: TSciChart | TSciChart3D

      The WebAssembly context (TSciChart) that owns the vector

    Returns Uint32Array

    A Uint32Array view onto the WebAssembly memory - DO NOT write to this array

Const wrapNativeText

  • wrapNativeText(text: string, maxWidth: number, font: SCRTFont, textBounds: TSRTextBounds): string
  • Wrap a string by adding newline characters, splitting on spaces and wrapping to a maximum size

    Parameters

    • text: string
    • maxWidth: number
    • font: SCRTFont
    • textBounds: TSRTextBounds

    Returns string

Const wrapText

  • wrapText(text: string, maxLength: number): string[]
  • Convert a string into an array of lines by splitting on spaces and wrapping to a maximum number of characters

    Parameters

    • text: string
    • maxLength: number

    Returns string[]

Const zeroArray2D

  • zeroArray2D(dimensions: number[]): number[][]
  • description

    creates a 2-dimensional array filled with zeros

    Parameters

    • dimensions: number[]

    Returns number[][]

Object literals

Const DEFAULT_FORMAT_FOR_COLUMN_TYPE

DEFAULT_FORMAT_FOR_COLUMN_TYPE: object

The formatting a column of each semantic type gets when nothing more specific is set. An explicit numericFormat on a data-label provider always wins over this.

[EColumnType.Boolean]

[EColumnType.Boolean]: object

numericFormat

numericFormat: Decimal = ENumericFormat.Decimal

precision

precision: number = 0

[EColumnType.Currency]

[EColumnType.Currency]: object

numericFormat

numericFormat: Decimal = ENumericFormat.Decimal

precision

precision: number = 2

[EColumnType.Date]

[EColumnType.Date]: object

numericFormat

numericFormat: Date_DDMMYYYY = ENumericFormat.Date_DDMMYYYY

precision

precision: number = 0

[EColumnType.Decimal]

[EColumnType.Decimal]: object

numericFormat

numericFormat: Decimal = ENumericFormat.Decimal

precision

precision: number = 2

[EColumnType.Integer]

[EColumnType.Integer]: object

numericFormat

numericFormat: Decimal = ENumericFormat.Decimal

precision

precision: number = 0

[EColumnType.List]

[EColumnType.List]: object

numericFormat

numericFormat: NoFormat = ENumericFormat.NoFormat

precision

precision: number = 0

[EColumnType.String]

[EColumnType.String]: object

numericFormat

numericFormat: NoFormat = ENumericFormat.NoFormat

precision

precision: number = 0

Const DEFAULT_LABEL_THRESHOLDS

DEFAULT_LABEL_THRESHOLDS: object

Default label thresholds used by SmartDateLabelProvider. Maps each label format to its maximum time range in seconds.

[ETradeChartLabelFormat.Days]

[ETradeChartLabelFormat.Days]: number = FIFTY_DAYS

[ETradeChartLabelFormat.Microseconds]

[ETradeChartLabelFormat.Microseconds]: number = TEN_MILLISECONDS

[ETradeChartLabelFormat.MilliSeconds]

[ETradeChartLabelFormat.MilliSeconds]: number = TEN_SECONDS

[ETradeChartLabelFormat.Minutes]

[ETradeChartLabelFormat.Minutes]: number = FIVE_DAYS

[ETradeChartLabelFormat.Months]

[ETradeChartLabelFormat.Months]: number = Infinity

[ETradeChartLabelFormat.Nanoseconds]

[ETradeChartLabelFormat.Nanoseconds]: number = TEN_MICROSECONDS

[ETradeChartLabelFormat.Seconds]

[ETradeChartLabelFormat.Seconds]: number = ONE_HOUR

Const WebGpuHelper

WebGpuHelper: object

getCachedWebGPUDevice

getCachedWebGPUDevice: getCachedWebGPUDevice

getWebGpuSupported

getWebGpuSupported: getWebGpuSupported

initializeWebGPUDevice

initializeWebGPUDevice: initializeWebGPUDevice

setWebGpuSupported

setWebGpuSupported: setWebGpuSupported

Const animationHelpers

animationHelpers: object

animationUpdate

animationUpdate: animationUpdate

checkCanDraw

checkCanDraw: checkCanDraw

checkIsAnimationRunning

checkIsAnimationRunning: checkIsAnimationRunning

createPointMarker

createPointMarker: createPointMarker

interpolateColor

interpolateColor: interpolateColor

interpolateNumber

interpolateNumber: interpolateNumber

Const annotationHelpers

annotationHelpers: object

calcNewApex

calcNewApex: calcNewApex

convertPolarToCartesian

convertPolarToCartesian: convertPolarToCartesian

createSvg

createSvg: createSvg

createSvgLineAndLabel

createSvgLineAndLabel: createSvgLineAndLabel

Const autoReverseEasing

autoReverseEasing: object

Reversable functions that go from 0..1..0 used throughout SciChart when animations are used

linear

  • linear(t: number): number
  • No easing acceleration like linear, but it does reverse from 0..1..0

    Parameters

    • t: number

    Returns number

Const dataLabelHelpers

dataLabelHelpers: object

calcRectangleBorders

calcRectangleBorders: calcRectangleBorders

Const defaultSciChartConfig

defaultSciChartConfig: object

Default configuration for the 2D WebAssembly module loader. Mutated in place by SciChartSurface.configure(...), SciChartSurface.loadWasmFromCDN(), etc.

Lives in its own leaf file (no value imports beyond the type from SciChartSurfaceBase) so that helpers like preloadWasm can depend on it without creating a cycle with SciChartSurface.ts / createMaster.ts.

wasmNoSimdUrl

wasmNoSimdUrl: undefined = undefined

wasmUrl

wasmUrl: string = "scichart.wasm"

Const easing

easing: object

Easing functions used throughout SciChart when animations are used

cubic

  • cubic(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

elastic

  • elastic(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inCirc

  • inCirc(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inCubic

  • inCubic(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inExpo

  • inExpo(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inOutCirc

  • inOutCirc(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inOutCubic

  • inOutCubic(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inOutExpo

  • inOutExpo(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inOutQuad

  • inOutQuad(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inOutQuart

  • inOutQuart(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inOutQuint

  • inOutQuint(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inOutSine

  • inOutSine(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inQuad

  • inQuad(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inQuart

  • inQuart(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inQuint

  • inQuint(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

inSine

  • inSine(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

linear

  • linear(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

outCirc

  • outCirc(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

outCubic

  • outCubic(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

outExpo

  • outExpo(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

outQuad

  • outQuad(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

outQuart

  • outQuart(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

outQuint

  • outQuint(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

outSine

  • outSine(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

quadratic

  • quadratic(t: number): number
  • inheritdoc

    Parameters

    • t: number

    Returns number

Const geometryHelpers

geometryHelpers: object

calcArrowHeadParameters

calcArrowHeadParameters: calcArrowHeadParameters

Const handler

handler: object

construct

  • Returns handler

Const hashUtils

hashUtils: object

generateBooleanHash

generateBooleanHash: generateBooleanHash

generateCombinedHash

generateCombinedHash: generateCombinedHash

generateHash

generateHash: generateHash

generateNumberHash

generateNumberHash: generateNumberHash

generateObjectHash

generateObjectHash: generateObjectHash

Const hitTestHelpers

hitTestHelpers: object

createHitTestInfo

createHitTestInfo: createHitTestInfo

getNearestLineSegment

getNearestLineSegment: getNearestLineSegment

getNearestNonUniformHeatmapPoint

getNearestNonUniformHeatmapPoint: getNearestNonUniformHeatmapPoint

getNearestPoint

getNearestPoint: getNearestPoint

getNearestTriangle

getNearestTriangle: getNearestTriangle

getNearestUniformHeatmapPoint

getNearestUniformHeatmapPoint: getNearestUniformHeatmapPoint

getNearestXPoint

getNearestXPoint: getNearestXPoint

getNearestXyPoint

getNearestXyPoint: getNearestXyPoint

getNearestXyyPoint

getNearestXyyPoint: getNearestXyyPoint

testIsHitForBand

testIsHitForBand: testIsHitForBand

testIsHitForBoxPlot

testIsHitForBoxPlot: testIsHitForBoxPlot

testIsHitForColumn

testIsHitForColumn: testIsHitForColumn

testIsHitForErrorBars

testIsHitForErrorBars: testIsHitForErrorBars

testIsHitForImpulse

testIsHitForImpulse: testIsHitForImpulse

testIsHitForLine

testIsHitForLine: testIsHitForLine

testIsHitForMountain

testIsHitForMountain: testIsHitForMountain

testIsHitForOHLC

testIsHitForOHLC: testIsHitForOHLC

testIsHitForPoint

testIsHitForPoint: testIsHitForPoint

Const hitTestHelpersRectangleSeries

hitTestHelpersRectangleSeries: object

hitTestForBox

hitTestForBox: hitTestForBox

hitTestForBoxSorted

hitTestForBoxSorted: hitTestForBoxSorted

hitTestForBoxUnsorted

hitTestForBoxUnsorted: hitTestForBoxUnsorted

Const labelCache

labelCache: object

A global cache for labels, used by all labelProviders, to reduce the amount of time spent creating label textures.

checkStyle

checkStyle: checkStyle

Check if a text style matches the one for the given id

freeStyle

freeStyle: freeStyle

Notify the cache that a style is no longer used. Linked labels are only deleted when there are no remaining uses, and then only after minAge has passed.

getLabel

getLabel: getLabel

Get a label from the cache. Returns undefined if none found.

getMaxSize

getMaxSize: getMaxSize

Get the maximum number of labels allowed to be stored in the cache. Used when calling pruneCache

getMinAge

getMinAge: getMinAge

Get the minimum time (in ms) between cache pruning. Default 200ms This prevents recently used labels from being pruned, or removed when style is freed

getSize

getSize: getSize

getStyleId

getStyleId: getStyleId

Get an identifier for the given text style. Returns an existing identifier if a matching style exists in the cache

pruneCache

pruneCache: pruneCache

Remove old labels from the cache, if there are more than MaxSize.

resetCache

resetCache: resetCache

Completely clears and resets the cache. Testing use only

setLabel

setLabel: setLabel

Add a label to the cache

setMaxSize

setMaxSize: setMaxSize

Set the maximum number of labels allowed to be stored in the cache. Used when calling pruneCache

setMinAge

setMinAge: setMinAge

Set the minimum time (in ms) between cache pruning. Default 200ms This prevents recently used labels from being pruned, or removed when style is freed

Const labelHelper

labelHelper: object

getLabelPlacementForRadialAxis

getLabelPlacementForRadialAxis: getLabelPlacementForRadialAxis

getLabelRotationAndPlacementForAngularAxis

getLabelRotationAndPlacementForAngularAxis: getLabelRotationAndPlacementForAngularAxis

getPolarLabelRotation

getPolarLabelRotation: getPolarLabelRotation

normalizeAngle

normalizeAngle: normalizeAngle

radiansToDegrees

radiansToDegrees: radiansToDegrees

Const localStorageApi

localStorageApi: object

clearLicensingDebug

clearLicensingDebug: clearLicensingDebug

getIsLicenseDebug

getIsLicenseDebug: getIsLicenseDebug

getLicenseWizardMaxPort

getLicenseWizardMaxPort: getLicenseWizardMaxPort

getLicenseWizardPort

getLicenseWizardPort: getLicenseWizardPort

setIsLicenseDebug

setIsLicenseDebug: setIsLicenseDebug

storageAvailable

storageAvailable: storageAvailable

Const polarChartHelper

polarChartHelper: object

calcLabelPosition

calcLabelPosition: calcLabelPosition

calcTickDirection

calcTickDirection: calcTickDirection

checkPolarLabelsOverlap

checkPolarLabelsOverlap: checkPolarLabelsOverlap

Const polarHitTestHelpers

polarHitTestHelpers: object

getNearestPolarPoint

getNearestPolarPoint: getNearestPolarPoint

getNearestPolarPointXDirSorted

getNearestPolarPointXDirSorted: getNearestPolarPointXDirSorted

Const registrationModules

registrationModules: object

Maps an EBaseType to the module that registers its built-in types, so a lookup failure can tell the caller exactly what to import. Keyed by family rather than by individual type, so adding a new type to an existing family needs no change here.

Keyed by the enum's string values rather than by EBaseType members, so that this module keeps importing EBaseType as a type only and gains no runtime dependency on it.

Animation

Animation: string = "Builder/register/animations"

Annotation

Annotation: string = "Builder/register/annotations"

Axis

Axis: string = "Builder/register/axes"

Axis3D

Axis3D: string = "Builder/register/axes3d"

Chart2DModifier

Chart2DModifier: string = "Builder/register/modifiers"

Chart3DModifier

Chart3DModifier: string = "Builder/register/modifiers3d"

DataFilter

DataFilter: string = "Builder/register/dataFilters"

DataLabelProvider

DataLabelProvider: string = "Builder/register/dataLabelProviders"

DataSeries

DataSeries: string = "Builder/register/dataSeries"

DataSeries3D

DataSeries3D: string = "Builder/register/dataSeries3d"

LabelProvider

LabelProvider: string = "Builder/register/labelProviders"

LayoutManager

LayoutManager: string = "Builder/register/layoutManagers"

LayoutStrategy

LayoutStrategy: string = "Builder/register/layoutStrategies"

Loader

Loader: string = "Builder/register/loaders"

MetadataGenerator

MetadataGenerator: string = "Builder/register/metadataGenerators"

PaletteProvider

PaletteProvider: string = "Builder/register/paletteProviders"

PointMarker

PointMarker: string = "Builder/register/pointMarkers"

PointMarker3D

PointMarker3D: string = "Builder/register/pointMarkers3D"

RenderableSeries

RenderableSeries: string = "Builder/register/series"

RenderableSeries3D

RenderableSeries3D: string = "Builder/register/series3d"

ShaderEffect

ShaderEffect: string = "Builder/register/shaderEffects"

SubSurface

SubSurface: string = "Builder/register/subSurfaces"

ThemeProvider

ThemeProvider: string = "Builder/register/themeProviders"

Const sciChartSubSurfaceCommon

sciChartSubSurfaceCommon: object

applySciChartBackground

applySciChartBackground: applySciChartBackground

calcPadding

calcPadding: calcPadding

createSubSurfaceCanvases

createSubSurfaceCanvases: createSubSurfaceCanvases

deleteSubChart

deleteSubChart: deleteSubChart

getOffsets

getOffsets: getOffsets

getSubChartRect

getSubChartRect: getSubChartRect

updateWrapper

updateWrapper: updateWrapper

Const testLayoutManager

testLayoutManager: object

layoutAxisPartsBottomStrategy

layoutAxisPartsBottomStrategy: layoutAxisPartsBottomStrategy

layoutAxisPartsLeftStrategy

layoutAxisPartsLeftStrategy: layoutAxisPartsLeftStrategy

layoutAxisPartsRightStrategy

layoutAxisPartsRightStrategy: layoutAxisPartsRightStrategy

layoutAxisPartsTopStrategy

layoutAxisPartsTopStrategy: layoutAxisPartsTopStrategy

updateAxisLayoutState

updateAxisLayoutState: updateAxisLayoutState

Const watermarkHelpers

watermarkHelpers: object

calcPosition

calcPosition: calcPosition

Generated using TypeDoc