Options
All
  • Public
  • Public/Protected
  • All
Menu

API Documentation for SciChart.js - v5.0.184

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

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

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 }

Type declaration

TAxisCubeState

TAxisCubeState: { xVisibleMax: number; xVisibleMin: number; xWorldDimension: number; yVisibleMax: number; yVisibleMin: number; yWorldDimension: number; 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

  • xVisibleMax: number
  • xVisibleMin: number
  • xWorldDimension: number
  • yVisibleMax: number
  • yVisibleMin: number
  • yWorldDimension: number
  • 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

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 }

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

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

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; Dump: () => string; GetAllowDebugging: () => boolean; GetDeveloperCount: () => number; GetEncryptedOrderId: () => string; GetLicenseChallenge: () => string; GetLicenseDaysRemaining: () => number; GetLicenseErrors: () => string; GetLicenseType: () => SCRTLicenseType; GetOrderId: () => string; GetProductCode: () => string; HasFeature: (feature: string) => SCRTLicenseType; 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; Dump: () => string; GetAllowDebugging: () => boolean; GetDeveloperCount: () => number; GetEncryptedOrderId: () => string; GetLicenseChallenge: () => string; GetLicenseDaysRemaining: () => number; GetLicenseErrors: () => string; GetLicenseType: () => SCRTLicenseType; GetOrderId: () => string; GetProductCode: () => string; HasFeature: (feature: string) => SCRTLicenseType; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => void }
    • ApplyLicenseResponse: (response: string) => number
        • (response: string): number
        • Parameters

          • response: string

          Returns number

    • Dump: () => 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

    • 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?: IResetCamera3DOptions; type: ZoomExtents } | { options?: ILegendModifier3DOptions; type: Legend } | { customType?: string; options?: IChartModifierBase3DOptions; type: Custom }

TModifierDefinition

TModifierDefinition: { 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

TNativeCache

TNativeCache: { arcParams: SCRTArcParams; arcVertex: SCRTArcVertex; 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
  • 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; originalBrushColor?: number; originalPenColor?: number; originalPenGradient?: boolean; paletteStartIndex?: number; paletteTextureCache?: PaletteCache; palettedColors: UIntVector; palettedColorsHashCode: number; requiresUpdate: boolean }

Type declaration

  • gradientPaletting: boolean
  • Optional lastCount?: number
  • Optional lastResamplingHash?: number
  • Optional lastStartIndex?: number
  • Optional originalBrushColor?: number
  • Optional originalPenColor?: number
  • Optional originalPenGradient?: boolean
  • 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: { testWasm?: TSciChart | TSciChart3D; wasmNoSimdUrl?: string; wasmUrl?: string }

Type declaration

  • Optional testWasm?: TSciChart | TSciChart3D

    Internal testing use only

  • 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; sciChartSurface: ISciChartSurfaceBase; width: number }

Type declaration

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

TSerializableMark

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

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 chartBuilder.buildSeries or chartBuilder.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

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[]; 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

  • 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";

TWebAssemblyChart

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

Type parameters

Type declaration

TWebAssemblyChart3D

TWebAssemblyChart3D: { sciChart3DSurface: SciChart3DSurface; wasmContext: TSciChart3D }

Type declaration

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> } & IXyNDataSeriesOptions

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

Variables

Const AUTO_COLOR

AUTO_COLOR: "auto" = "auto"

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 HEIGHT_SERIES_MAX_TEXTURE_SIZE

HEIGHT_SERIES_MAX_TEXTURE_SIZE: 1024 = 1024

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_SERIES_AREA_SIZE

MIN_SERIES_AREA_SIZE: 10 = 10

Const MONTHS_SHORT

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

Const ONE_HOUR

ONE_HOUR: number = 60 * 60

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 TRANSPARENT

TRANSPARENT: "transparent" = "transparent"

Const __brand

__brand: keyof symbol

Const __coordinateType

__coordinateType: keyof symbol

Const buildStamp

buildStamp: "2026-01-12T00:00:00" = "2026-01-12T00:00:00"

Let cleanupWasmContext

cleanupWasmContext: () => void

Type declaration

    • (): void
    • Returns void

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 inputMode

inputMode: DataValue = ECoordinateMode.DataValue

Let isStorageAvailable

isStorageAvailable: boolean = undefined

Const labelCacheByTextAndStyle

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

Let lastStyleId

lastStyleId: number = 0

Const libraryVersion

libraryVersion: "5.0.0" = "5.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);}}`

Let maxSize

maxSize: number = 200

Let minAge

minAge: number = 1000 * 60

Const namespace

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

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

Const sciChartConfig3D

sciChartConfig3D: TSciChartConfig = defaultSciChart3DConfig

Const sessionTime

sessionTime: number = 60 * 60 * 1000

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

Functions

addCoord

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

    Parameters

    • a: T
    • b: T

    Returns T

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): appendRangeFifo
  • Helper function to append an array to a target array, treating the target as a circular buffer

    Parameters

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

    Returns appendRangeFifo

applyOpacityToHtmlColor

  • Applies the given opacity to an html color code or name, returning an html color code.

    Parameters

    • color: string
    • opacity: number

    Returns applyOpacityToHtmlColor

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

  • Parameters

    • value: number

    Returns assertParseValue

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: { CategoryCoordinateCalculatorDouble: {}; DoubleVector: {}; FlippedCategoryCoordinateCalculatorDouble: {}; FlippedIndexCoordinateCalculator: {}; FlippedLinearCoordinateCalculatorDouble: {}; FlippedLinearCoordinateCalculatorSingle: {}; FlippedLogarithmicCoordinateCalculator: {}; FloatVector: {}; GetMallinfoStats: () => MallinfoStats; IndexCalculator: {}; IndexCalculatorParams: {}; IndexCoordinateCalculator: {}; IntVector: {}; LinearCoordinateCalculatorDouble: {}; LinearCoordinateCalculatorSingle: {}; LogarithmicCoordinateCalculator: {}; 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 }; 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: {}; SCRTBandDrawingParams: {}; SCRTBandSeriesDrawingProvider: {}; SCRTBrush: {}; SCRTBubbleSeriesDrawingProvider: {}; 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 }; SCRTContourParams: {}; SCRTCopyToDestinationInterface: { implement: (wrapper: SCRTCopyToDestinationInterfaceWrapper) => SCRTCopyToDestinationInterface }; SCRTCreateBitmapTexture: (width: number, height: number, textureFormat: eTSRTextureFormat) => TSRTexture; SCRTCreatePalette: (colors: IntVector) => SCRTPalette; SCRTCredentials: { ApplyLicenseResponse: (response: string) => number; Dump: () => 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; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => boolean }; SCRTDoLeakCheck: () => void; SCRTDoubleArraysXyResampleOutput: {}; SCRTDoubleRange: {} & {}; SCRTDoubleResampler: {}; SCRTDoubleResamplerMergeIndicesParams: {}; SCRTDoubleVector: {} & {}; SCRTDrawArcsParams: {}; SCRTDrawLinesParams: {}; SCRTDrawPrimitivesParams: {}; SCRTDrawRectsParams: {}; SCRTDrawingParams: {}; 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: (SCRTFillVectorSequential: SCRTDoubleVector, count: number) => void; SCRTFindIndexSearchMode: { Exact: SCRTFindIndexSearchMode; Nearest: SCRTFindIndexSearchMode; RoundDown: SCRTFindIndexSearchMode; RoundUp: SCRTFindIndexSearchMode }; SCRTFloatVector: {}; SCRTFontKey: {}; SCRTFrameRenderer2D: {}; SCRTGetGlobalSampleChartInterface: () => SCRTSampleChartInterface; SCRTGetMainRenderContext2D: () => SCRTRenderContext; SCRTGetScreenHeight: () => number; SCRTGetScreenWidth: () => number; SCRTGlowEffect: {}; 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 }; SCRTInitEngine2D: () => void; 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 }; SCRTMemCopy: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMemMove: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMountainDrawingParams: {}; SCRTMountainSeriesDrawingProvider: {}; SCRTMultiplyColorVectorOpacity: (originalVector: IntVector, resultVector: IntVector, factor: number) => void; SCRTOhlcDrawingParams: {}; SCRTPalette: {} & { GetNoOverrideColorCode: () => number }; SCRTPen: {}; SCRTPenDescriptor: {}; SCRTPointDrawingParams: {}; SCRTPolarBandDrawingParams: {}; SCRTPolarBandSeriesDrawingProvider: {}; SCRTPolarColumnDrawingParams: {}; SCRTPolarColumnSeriesDrawingProvider: {}; SCRTPolarCoordinateTransform: {}; SCRTPolarInterpolationParams: {}; SCRTPrimitivesEffect: { BlurredTriangles: SCRTPrimitivesEffect; Contours: SCRTPrimitivesEffect; Heatmap: SCRTPrimitivesEffect; Triangles: SCRTPrimitivesEffect }; SCRTRectVertex: {} & {}; SCRTRectangleDrawingParams: {}; SCRTRectangleSeriesDrawingProvider: {}; SCRTRegisterFile: (fileName: string, url: string, callback: SCRTFileLoadCallbackInterface) => void; SCRTSampleChartInterface: { implement: (wrapper: SCRTSampleChartInterfaceWrapper) => SCRTSampleChartInterface }; SCRTScatterSeriesDrawingProvider: {}; SCRTSeriesEffectType: { Glow: SCRTSeriesEffectType }; SCRTSetActiveTexture: (texture: TSRTexture) => void; SCRTSetClearAlphaParams: (enabled: boolean, alpha: number) => void; SCRTSetGlobalCopyToDestinationInterface: (param0: SCRTCopyToDestinationInterface) => void; SCRTSetGlobalSampleChartInterface: (param0: SCRTSampleChartInterface) => 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; SCRTSpriteType: { FixedSize: SCRTSpriteType; Normal: SCRTSpriteType }; SCRTStackedColumnDrawingParams: {}; SCRTStackedColumnSeriesDrawingProvider: {}; SCRTSurfaceDestination: { implement: (wrapper: SCRTSurfaceDestinationWrapper) => SCRTSurfaceDestination }; SCRTTextureBrush: {}; SCRTTextureBrushSamplerMode: { Linear: SCRTTextureBrushSamplerMode; Point: SCRTTextureBrushSamplerMode; Wrap: SCRTTextureBrushSamplerMode }; SCRTTriangleDrawMode: { List: SCRTTriangleDrawMode; Polygon: SCRTTriangleDrawMode; Strip: SCRTTriangleDrawMode }; SCRTTriangleDrawingParams: {}; SCRTTriangleSeriesDrawingProvider: {}; SCRTUintVector: {}; SCRTWaterMarkProperties: {}; SCRTXvaluesProvider: {}; StringVector: {}; TSRCamera: {}; TSRRequestCanvasDraw: (canvasID: string) => void; TSRRequestDraw: () => void; TSRRequestExit: () => void; TSRSetDrawRequestsEnabled: (enabled: boolean) => void; TSRTextBounds: {}; TSRTextLineBounds: {}; TSRVector2: {} & {}; TSRVector3: {} & {}; TSRVector4: {} & {}; UIntVector: {}; VectorArcVertex: {}; VectorColorTextureVertex: {}; VectorColorVertex: {}; VectorRectVertex: {}; WStringVector: {}; canvas: HTMLCanvasElement; canvas2D: HTMLCanvasElement; eSCRTBlendMode: { BlendAdditiveAlpha: eSCRTBlendMode; BlendAdditiveColor: eSCRTBlendMode; BlendAdditiveOneAlpha: eSCRTBlendMode; BlendDefault: eSCRTBlendMode; BlendDisabled: eSCRTBlendMode }; eSCRTBrushMappingMode: { PerPrimitive: eSCRTBrushMappingMode; PerScreen: eSCRTBrushMappingMode }; eTSRCameraProjectionMode: { CAMERA_PROJECTIONMODE_ORTHOGONAL: eTSRCameraProjectionMode; CAMERA_PROJECTIONMODE_PERSPECTIVE: eTSRCameraProjectionMode }; eTSRMetaDataType: { BitFlags: eTSRMetaDataType; Core: eTSRMetaDataType; Defined: eTSRMetaDataType; DynamicDefined: eTSRMetaDataType; Enum: eTSRMetaDataType; Unknown: eTSRMetaDataType }; eTSRPlatform: { Android: eTSRPlatform; Linux: eTSRPlatform; Mac: eTSRPlatform; Undefined: eTSRPlatform; Web: eTSRPlatform; Windows: eTSRPlatform; iOS: eTSRPlatform }; eTSRRendererType: { TSR_RENDERER_TYPE_D3D11: eTSRRendererType; TSR_RENDERER_TYPE_D3D11_LEVEL10: eTSRRendererType; TSR_RENDERER_TYPE_D3D12: eTSRRendererType; TSR_RENDERER_TYPE_D3D9: eTSRRendererType; TSR_RENDERER_TYPE_GL: eTSRRendererType; TSR_RENDERER_TYPE_GLES2: eTSRRendererType; TSR_RENDERER_TYPE_GLES3: eTSRRendererType; TSR_RENDERER_TYPE_METAL: eTSRRendererType; TSR_RENDERER_TYPE_UNDEFINED: eTSRRendererType; TSR_RENDERER_TYPE_VULKAN: eTSRRendererType }; eTSRTextAlignMode: { Center: eTSRTextAlignMode; Left: eTSRTextAlignMode; Right: eTSRTextAlignMode }; eTSRTextureFormat: { TSR_TEXTUREFORMAT_A8B8G8R8: eTSRTextureFormat; TSR_TEXTUREFORMAT_R32F: eTSRTextureFormat }; eVariableUsage: { Array: eVariableUsage; Blob: eVariableUsage; DynamicArray: eVariableUsage; Normal: eVariableUsage; Pointer: eVariableUsage; Vector: eVariableUsage; VectorOfPointers: eVariableUsage } } }>
  • Construct a chart with SciChartPolarSurface using a ISciChart2DDefinition which can be pure data.

    remarks

    This method is async and must be awaited

    Parameters

    Returns Promise<{ sciChartSurface: SciChartPolarSurface; wasmContext: { CategoryCoordinateCalculatorDouble: {}; DoubleVector: {}; FlippedCategoryCoordinateCalculatorDouble: {}; FlippedIndexCoordinateCalculator: {}; FlippedLinearCoordinateCalculatorDouble: {}; FlippedLinearCoordinateCalculatorSingle: {}; FlippedLogarithmicCoordinateCalculator: {}; FloatVector: {}; GetMallinfoStats: () => MallinfoStats; IndexCalculator: {}; IndexCalculatorParams: {}; IndexCoordinateCalculator: {}; IntVector: {}; LinearCoordinateCalculatorDouble: {}; LinearCoordinateCalculatorSingle: {}; LogarithmicCoordinateCalculator: {}; 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 }; 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: {}; SCRTBandDrawingParams: {}; SCRTBandSeriesDrawingProvider: {}; SCRTBrush: {}; SCRTBubbleSeriesDrawingProvider: {}; 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 }; SCRTContourParams: {}; SCRTCopyToDestinationInterface: { implement: (wrapper: SCRTCopyToDestinationInterfaceWrapper) => SCRTCopyToDestinationInterface }; SCRTCreateBitmapTexture: (width: number, height: number, textureFormat: eTSRTextureFormat) => TSRTexture; SCRTCreatePalette: (colors: IntVector) => SCRTPalette; SCRTCredentials: { ApplyLicenseResponse: (response: string) => number; Dump: () => 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; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => boolean }; SCRTDoLeakCheck: () => void; SCRTDoubleArraysXyResampleOutput: {}; SCRTDoubleRange: {} & {}; SCRTDoubleResampler: {}; SCRTDoubleResamplerMergeIndicesParams: {}; SCRTDoubleVector: {} & {}; SCRTDrawArcsParams: {}; SCRTDrawLinesParams: {}; SCRTDrawPrimitivesParams: {}; SCRTDrawRectsParams: {}; SCRTDrawingParams: {}; 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: (SCRTFillVectorSequential: SCRTDoubleVector, count: number) => void; SCRTFindIndexSearchMode: { Exact: SCRTFindIndexSearchMode; Nearest: SCRTFindIndexSearchMode; RoundDown: SCRTFindIndexSearchMode; RoundUp: SCRTFindIndexSearchMode }; SCRTFloatVector: {}; SCRTFontKey: {}; SCRTFrameRenderer2D: {}; SCRTGetGlobalSampleChartInterface: () => SCRTSampleChartInterface; SCRTGetMainRenderContext2D: () => SCRTRenderContext; SCRTGetScreenHeight: () => number; SCRTGetScreenWidth: () => number; SCRTGlowEffect: {}; 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 }; SCRTInitEngine2D: () => void; 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 }; SCRTMemCopy: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMemMove: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMountainDrawingParams: {}; SCRTMountainSeriesDrawingProvider: {}; SCRTMultiplyColorVectorOpacity: (originalVector: IntVector, resultVector: IntVector, factor: number) => void; SCRTOhlcDrawingParams: {}; SCRTPalette: {} & { GetNoOverrideColorCode: () => number }; SCRTPen: {}; SCRTPenDescriptor: {}; SCRTPointDrawingParams: {}; SCRTPolarBandDrawingParams: {}; SCRTPolarBandSeriesDrawingProvider: {}; SCRTPolarColumnDrawingParams: {}; SCRTPolarColumnSeriesDrawingProvider: {}; SCRTPolarCoordinateTransform: {}; SCRTPolarInterpolationParams: {}; SCRTPrimitivesEffect: { BlurredTriangles: SCRTPrimitivesEffect; Contours: SCRTPrimitivesEffect; Heatmap: SCRTPrimitivesEffect; Triangles: SCRTPrimitivesEffect }; SCRTRectVertex: {} & {}; SCRTRectangleDrawingParams: {}; SCRTRectangleSeriesDrawingProvider: {}; SCRTRegisterFile: (fileName: string, url: string, callback: SCRTFileLoadCallbackInterface) => void; SCRTSampleChartInterface: { implement: (wrapper: SCRTSampleChartInterfaceWrapper) => SCRTSampleChartInterface }; SCRTScatterSeriesDrawingProvider: {}; SCRTSeriesEffectType: { Glow: SCRTSeriesEffectType }; SCRTSetActiveTexture: (texture: TSRTexture) => void; SCRTSetClearAlphaParams: (enabled: boolean, alpha: number) => void; SCRTSetGlobalCopyToDestinationInterface: (param0: SCRTCopyToDestinationInterface) => void; SCRTSetGlobalSampleChartInterface: (param0: SCRTSampleChartInterface) => 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; SCRTSpriteType: { FixedSize: SCRTSpriteType; Normal: SCRTSpriteType }; SCRTStackedColumnDrawingParams: {}; SCRTStackedColumnSeriesDrawingProvider: {}; SCRTSurfaceDestination: { implement: (wrapper: SCRTSurfaceDestinationWrapper) => SCRTSurfaceDestination }; SCRTTextureBrush: {}; SCRTTextureBrushSamplerMode: { Linear: SCRTTextureBrushSamplerMode; Point: SCRTTextureBrushSamplerMode; Wrap: SCRTTextureBrushSamplerMode }; SCRTTriangleDrawMode: { List: SCRTTriangleDrawMode; Polygon: SCRTTriangleDrawMode; Strip: SCRTTriangleDrawMode }; SCRTTriangleDrawingParams: {}; SCRTTriangleSeriesDrawingProvider: {}; SCRTUintVector: {}; SCRTWaterMarkProperties: {}; SCRTXvaluesProvider: {}; StringVector: {}; TSRCamera: {}; TSRRequestCanvasDraw: (canvasID: string) => void; TSRRequestDraw: () => void; TSRRequestExit: () => void; TSRSetDrawRequestsEnabled: (enabled: boolean) => void; TSRTextBounds: {}; TSRTextLineBounds: {}; TSRVector2: {} & {}; TSRVector3: {} & {}; TSRVector4: {} & {}; UIntVector: {}; VectorArcVertex: {}; VectorColorTextureVertex: {}; VectorColorVertex: {}; VectorRectVertex: {}; WStringVector: {}; canvas: HTMLCanvasElement; canvas2D: HTMLCanvasElement; eSCRTBlendMode: { BlendAdditiveAlpha: eSCRTBlendMode; BlendAdditiveColor: eSCRTBlendMode; BlendAdditiveOneAlpha: eSCRTBlendMode; BlendDefault: eSCRTBlendMode; BlendDisabled: eSCRTBlendMode }; eSCRTBrushMappingMode: { PerPrimitive: eSCRTBrushMappingMode; PerScreen: eSCRTBrushMappingMode }; eTSRCameraProjectionMode: { CAMERA_PROJECTIONMODE_ORTHOGONAL: eTSRCameraProjectionMode; CAMERA_PROJECTIONMODE_PERSPECTIVE: eTSRCameraProjectionMode }; eTSRMetaDataType: { BitFlags: eTSRMetaDataType; Core: eTSRMetaDataType; Defined: eTSRMetaDataType; DynamicDefined: eTSRMetaDataType; Enum: eTSRMetaDataType; Unknown: eTSRMetaDataType }; eTSRPlatform: { Android: eTSRPlatform; Linux: eTSRPlatform; Mac: eTSRPlatform; Undefined: eTSRPlatform; Web: eTSRPlatform; Windows: eTSRPlatform; iOS: eTSRPlatform }; eTSRRendererType: { TSR_RENDERER_TYPE_D3D11: eTSRRendererType; TSR_RENDERER_TYPE_D3D11_LEVEL10: eTSRRendererType; TSR_RENDERER_TYPE_D3D12: eTSRRendererType; TSR_RENDERER_TYPE_D3D9: eTSRRendererType; TSR_RENDERER_TYPE_GL: eTSRRendererType; TSR_RENDERER_TYPE_GLES2: eTSRRendererType; TSR_RENDERER_TYPE_GLES3: eTSRRendererType; TSR_RENDERER_TYPE_METAL: eTSRRendererType; TSR_RENDERER_TYPE_UNDEFINED: eTSRRendererType; TSR_RENDERER_TYPE_VULKAN: eTSRRendererType }; eTSRTextAlignMode: { Center: eTSRTextAlignMode; Left: eTSRTextAlignMode; Right: eTSRTextAlignMode }; eTSRTextureFormat: { TSR_TEXTUREFORMAT_A8B8G8R8: eTSRTextureFormat; TSR_TEXTUREFORMAT_R32F: eTSRTextureFormat }; eVariableUsage: { Array: eVariableUsage; Blob: eVariableUsage; DynamicArray: eVariableUsage; Normal: eVariableUsage; Pointer: eVariableUsage; Vector: eVariableUsage; VectorOfPointers: eVariableUsage } } }>

Const build3DChart

Const buildAnnotations

Const buildAxes

Const buildAxis

Const buildAxis3D

buildChart

Const buildDataSeries

Const buildDataSeries3D

Const buildFilter

Const buildModifier

Const buildModifier3D

Const buildModifiers

Const buildModifiers3D

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

    Parameters

    • valuesWithLabels: string[]
    • Default value fontSize: number = 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

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

chartReviver

  • The reviver function needed when parsing definitions to JSON

    Parameters

    • key: string
    • value: any

    Returns chartReviver

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

Const checkStyle

  • Parameters

    Returns boolean

Const checkTextStyleEqual

Const clearCacheByStyle

  • clearCacheByStyle(styleId: string): void
  • Parameters

    • styleId: string

    Returns void

clearLicensingDebug

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

convertCoordinateFromPixelValue

convertCoordinateFromRelativeValue

convertCoordinateMode

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

convertDataValueToAbsoluteCoordinate

convertFromAbsoluteCoordinate

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

Const copyDoubleVector

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

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

    Returns void

countUnique

  • Parameters

    • iterable: string[]

    Returns countUnique

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 createDataSeries

Const createDataSeries3D

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 createSingle3dInternal

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

  • Parameters

    Returns any

Const defaultCursorTooltipSvgTemplate

Const deleteCache

  • Parameters

    Returns void

deleteSafe

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

deleteSubChart

  • Parameters

    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: SolidBrushCache, borderRect: Rect, clipRect: Rect, leftBorder: number, topBorder: number, rightBorder: number, bottomBorder: number, color: string): void
  • Parameters

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

    Returns void

Const drawLineAnnotation

Const drawModifiersAxisLabel

  • Parameters

    Returns Rect

Const ensureRegistrations

  • ensureRegistrations(): void
  • This is just something to call to ensure that all the registrations are run before a surface is created

    Returns void

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

Const getCache

  • getCache(wasmContext: TSciChart | TSciChart3D): { arcParams: SCRTArcParams; arcVertex: SCRTArcVertex; 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; 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
    • 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 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 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

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

  • get a fontKey required to aquire a native font

    Parameters

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

      set true to get an alternative instance of the font which can be used multiple times while transformations are in effect, without disrupting global font rendering

    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 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 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): getOHLCYRange
  • Parameters

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

    Returns getOHLCYRange

getOffsets

  • Parameters

    Returns Thickness

Const getOptionsFromDefinition

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}}

Const getSharedWasmContext

  • getSharedWasmContext(): Promise<{ CategoryCoordinateCalculatorDouble: {}; DoubleVector: {}; FlippedCategoryCoordinateCalculatorDouble: {}; FlippedIndexCoordinateCalculator: {}; FlippedLinearCoordinateCalculatorDouble: {}; FlippedLinearCoordinateCalculatorSingle: {}; FlippedLogarithmicCoordinateCalculator: {}; FloatVector: {}; GetMallinfoStats: () => MallinfoStats; IndexCalculator: {}; IndexCalculatorParams: {}; IndexCoordinateCalculator: {}; IntVector: {}; LinearCoordinateCalculatorDouble: {}; LinearCoordinateCalculatorSingle: {}; LogarithmicCoordinateCalculator: {}; 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 }; 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: {}; SCRTBandDrawingParams: {}; SCRTBandSeriesDrawingProvider: {}; SCRTBrush: {}; SCRTBubbleSeriesDrawingProvider: {}; 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 }; SCRTContourParams: {}; SCRTCopyToDestinationInterface: { implement: (wrapper: SCRTCopyToDestinationInterfaceWrapper) => SCRTCopyToDestinationInterface }; SCRTCreateBitmapTexture: (width: number, height: number, textureFormat: eTSRTextureFormat) => TSRTexture; SCRTCreatePalette: (colors: IntVector) => SCRTPalette; SCRTCredentials: { ApplyLicenseResponse: (response: string) => number; Dump: () => 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; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => boolean }; SCRTDoLeakCheck: () => void; SCRTDoubleArraysXyResampleOutput: {}; SCRTDoubleRange: {} & {}; SCRTDoubleResampler: {}; SCRTDoubleResamplerMergeIndicesParams: {}; SCRTDoubleVector: {} & {}; SCRTDrawArcsParams: {}; SCRTDrawLinesParams: {}; SCRTDrawPrimitivesParams: {}; SCRTDrawRectsParams: {}; SCRTDrawingParams: {}; 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: (SCRTFillVectorSequential: SCRTDoubleVector, count: number) => void; SCRTFindIndexSearchMode: { Exact: SCRTFindIndexSearchMode; Nearest: SCRTFindIndexSearchMode; RoundDown: SCRTFindIndexSearchMode; RoundUp: SCRTFindIndexSearchMode }; SCRTFloatVector: {}; SCRTFontKey: {}; SCRTFrameRenderer2D: {}; SCRTGetGlobalSampleChartInterface: () => SCRTSampleChartInterface; SCRTGetMainRenderContext2D: () => SCRTRenderContext; SCRTGetScreenHeight: () => number; SCRTGetScreenWidth: () => number; SCRTGlowEffect: {}; 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 }; SCRTInitEngine2D: () => void; 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 }; SCRTMemCopy: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMemMove: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMountainDrawingParams: {}; SCRTMountainSeriesDrawingProvider: {}; SCRTMultiplyColorVectorOpacity: (originalVector: IntVector, resultVector: IntVector, factor: number) => void; SCRTOhlcDrawingParams: {}; SCRTPalette: {} & { GetNoOverrideColorCode: () => number }; SCRTPen: {}; SCRTPenDescriptor: {}; SCRTPointDrawingParams: {}; SCRTPolarBandDrawingParams: {}; SCRTPolarBandSeriesDrawingProvider: {}; SCRTPolarColumnDrawingParams: {}; SCRTPolarColumnSeriesDrawingProvider: {}; SCRTPolarCoordinateTransform: {}; SCRTPolarInterpolationParams: {}; SCRTPrimitivesEffect: { BlurredTriangles: SCRTPrimitivesEffect; Contours: SCRTPrimitivesEffect; Heatmap: SCRTPrimitivesEffect; Triangles: SCRTPrimitivesEffect }; SCRTRectVertex: {} & {}; SCRTRectangleDrawingParams: {}; SCRTRectangleSeriesDrawingProvider: {}; SCRTRegisterFile: (fileName: string, url: string, callback: SCRTFileLoadCallbackInterface) => void; SCRTSampleChartInterface: { implement: (wrapper: SCRTSampleChartInterfaceWrapper) => SCRTSampleChartInterface }; SCRTScatterSeriesDrawingProvider: {}; SCRTSeriesEffectType: { Glow: SCRTSeriesEffectType }; SCRTSetActiveTexture: (texture: TSRTexture) => void; SCRTSetClearAlphaParams: (enabled: boolean, alpha: number) => void; SCRTSetGlobalCopyToDestinationInterface: (param0: SCRTCopyToDestinationInterface) => void; SCRTSetGlobalSampleChartInterface: (param0: SCRTSampleChartInterface) => 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; SCRTSpriteType: { FixedSize: SCRTSpriteType; Normal: SCRTSpriteType }; SCRTStackedColumnDrawingParams: {}; SCRTStackedColumnSeriesDrawingProvider: {}; SCRTSurfaceDestination: { implement: (wrapper: SCRTSurfaceDestinationWrapper) => SCRTSurfaceDestination }; SCRTTextureBrush: {}; SCRTTextureBrushSamplerMode: { Linear: SCRTTextureBrushSamplerMode; Point: SCRTTextureBrushSamplerMode; Wrap: SCRTTextureBrushSamplerMode }; SCRTTriangleDrawMode: { List: SCRTTriangleDrawMode; Polygon: SCRTTriangleDrawMode; Strip: SCRTTriangleDrawMode }; SCRTTriangleDrawingParams: {}; SCRTTriangleSeriesDrawingProvider: {}; SCRTUintVector: {}; SCRTWaterMarkProperties: {}; SCRTXvaluesProvider: {}; StringVector: {}; TSRCamera: {}; TSRRequestCanvasDraw: (canvasID: string) => void; TSRRequestDraw: () => void; TSRRequestExit: () => void; TSRSetDrawRequestsEnabled: (enabled: boolean) => void; TSRTextBounds: {}; TSRTextLineBounds: {}; TSRVector2: {} & {}; TSRVector3: {} & {}; TSRVector4: {} & {}; UIntVector: {}; VectorArcVertex: {}; VectorColorTextureVertex: {}; VectorColorVertex: {}; VectorRectVertex: {}; WStringVector: {}; canvas: HTMLCanvasElement; canvas2D: HTMLCanvasElement; eSCRTBlendMode: { BlendAdditiveAlpha: eSCRTBlendMode; BlendAdditiveColor: eSCRTBlendMode; BlendAdditiveOneAlpha: eSCRTBlendMode; BlendDefault: eSCRTBlendMode; BlendDisabled: eSCRTBlendMode }; eSCRTBrushMappingMode: { PerPrimitive: eSCRTBrushMappingMode; PerScreen: eSCRTBrushMappingMode }; eTSRCameraProjectionMode: { CAMERA_PROJECTIONMODE_ORTHOGONAL: eTSRCameraProjectionMode; CAMERA_PROJECTIONMODE_PERSPECTIVE: eTSRCameraProjectionMode }; eTSRMetaDataType: { BitFlags: eTSRMetaDataType; Core: eTSRMetaDataType; Defined: eTSRMetaDataType; DynamicDefined: eTSRMetaDataType; Enum: eTSRMetaDataType; Unknown: eTSRMetaDataType }; eTSRPlatform: { Android: eTSRPlatform; Linux: eTSRPlatform; Mac: eTSRPlatform; Undefined: eTSRPlatform; Web: eTSRPlatform; Windows: eTSRPlatform; iOS: eTSRPlatform }; eTSRRendererType: { TSR_RENDERER_TYPE_D3D11: eTSRRendererType; TSR_RENDERER_TYPE_D3D11_LEVEL10: eTSRRendererType; TSR_RENDERER_TYPE_D3D12: eTSRRendererType; TSR_RENDERER_TYPE_D3D9: eTSRRendererType; TSR_RENDERER_TYPE_GL: eTSRRendererType; TSR_RENDERER_TYPE_GLES2: eTSRRendererType; TSR_RENDERER_TYPE_GLES3: eTSRRendererType; TSR_RENDERER_TYPE_METAL: eTSRRendererType; TSR_RENDERER_TYPE_UNDEFINED: eTSRRendererType; TSR_RENDERER_TYPE_VULKAN: eTSRRendererType }; eTSRTextAlignMode: { Center: eTSRTextAlignMode; Left: eTSRTextAlignMode; Right: eTSRTextAlignMode }; eTSRTextureFormat: { TSR_TEXTUREFORMAT_A8B8G8R8: eTSRTextureFormat; TSR_TEXTUREFORMAT_R32F: eTSRTextureFormat }; eVariableUsage: { Array: eVariableUsage; Blob: eVariableUsage; DynamicArray: eVariableUsage; Normal: eVariableUsage; Pointer: eVariableUsage; Vector: eVariableUsage; VectorOfPointers: eVariableUsage } }>
  • Returns Promise<{ CategoryCoordinateCalculatorDouble: {}; DoubleVector: {}; FlippedCategoryCoordinateCalculatorDouble: {}; FlippedIndexCoordinateCalculator: {}; FlippedLinearCoordinateCalculatorDouble: {}; FlippedLinearCoordinateCalculatorSingle: {}; FlippedLogarithmicCoordinateCalculator: {}; FloatVector: {}; GetMallinfoStats: () => MallinfoStats; IndexCalculator: {}; IndexCalculatorParams: {}; IndexCoordinateCalculator: {}; IntVector: {}; LinearCoordinateCalculatorDouble: {}; LinearCoordinateCalculatorSingle: {}; LogarithmicCoordinateCalculator: {}; 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 }; 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: {}; SCRTBandDrawingParams: {}; SCRTBandSeriesDrawingProvider: {}; SCRTBrush: {}; SCRTBubbleSeriesDrawingProvider: {}; 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 }; SCRTContourParams: {}; SCRTCopyToDestinationInterface: { implement: (wrapper: SCRTCopyToDestinationInterfaceWrapper) => SCRTCopyToDestinationInterface }; SCRTCreateBitmapTexture: (width: number, height: number, textureFormat: eTSRTextureFormat) => TSRTexture; SCRTCreatePalette: (colors: IntVector) => SCRTPalette; SCRTCredentials: { ApplyLicenseResponse: (response: string) => number; Dump: () => 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; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => boolean }; SCRTDoLeakCheck: () => void; SCRTDoubleArraysXyResampleOutput: {}; SCRTDoubleRange: {} & {}; SCRTDoubleResampler: {}; SCRTDoubleResamplerMergeIndicesParams: {}; SCRTDoubleVector: {} & {}; SCRTDrawArcsParams: {}; SCRTDrawLinesParams: {}; SCRTDrawPrimitivesParams: {}; SCRTDrawRectsParams: {}; SCRTDrawingParams: {}; 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: (SCRTFillVectorSequential: SCRTDoubleVector, count: number) => void; SCRTFindIndexSearchMode: { Exact: SCRTFindIndexSearchMode; Nearest: SCRTFindIndexSearchMode; RoundDown: SCRTFindIndexSearchMode; RoundUp: SCRTFindIndexSearchMode }; SCRTFloatVector: {}; SCRTFontKey: {}; SCRTFrameRenderer2D: {}; SCRTGetGlobalSampleChartInterface: () => SCRTSampleChartInterface; SCRTGetMainRenderContext2D: () => SCRTRenderContext; SCRTGetScreenHeight: () => number; SCRTGetScreenWidth: () => number; SCRTGlowEffect: {}; 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 }; SCRTInitEngine2D: () => void; 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 }; SCRTMemCopy: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMemMove: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMountainDrawingParams: {}; SCRTMountainSeriesDrawingProvider: {}; SCRTMultiplyColorVectorOpacity: (originalVector: IntVector, resultVector: IntVector, factor: number) => void; SCRTOhlcDrawingParams: {}; SCRTPalette: {} & { GetNoOverrideColorCode: () => number }; SCRTPen: {}; SCRTPenDescriptor: {}; SCRTPointDrawingParams: {}; SCRTPolarBandDrawingParams: {}; SCRTPolarBandSeriesDrawingProvider: {}; SCRTPolarColumnDrawingParams: {}; SCRTPolarColumnSeriesDrawingProvider: {}; SCRTPolarCoordinateTransform: {}; SCRTPolarInterpolationParams: {}; SCRTPrimitivesEffect: { BlurredTriangles: SCRTPrimitivesEffect; Contours: SCRTPrimitivesEffect; Heatmap: SCRTPrimitivesEffect; Triangles: SCRTPrimitivesEffect }; SCRTRectVertex: {} & {}; SCRTRectangleDrawingParams: {}; SCRTRectangleSeriesDrawingProvider: {}; SCRTRegisterFile: (fileName: string, url: string, callback: SCRTFileLoadCallbackInterface) => void; SCRTSampleChartInterface: { implement: (wrapper: SCRTSampleChartInterfaceWrapper) => SCRTSampleChartInterface }; SCRTScatterSeriesDrawingProvider: {}; SCRTSeriesEffectType: { Glow: SCRTSeriesEffectType }; SCRTSetActiveTexture: (texture: TSRTexture) => void; SCRTSetClearAlphaParams: (enabled: boolean, alpha: number) => void; SCRTSetGlobalCopyToDestinationInterface: (param0: SCRTCopyToDestinationInterface) => void; SCRTSetGlobalSampleChartInterface: (param0: SCRTSampleChartInterface) => 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; SCRTSpriteType: { FixedSize: SCRTSpriteType; Normal: SCRTSpriteType }; SCRTStackedColumnDrawingParams: {}; SCRTStackedColumnSeriesDrawingProvider: {}; SCRTSurfaceDestination: { implement: (wrapper: SCRTSurfaceDestinationWrapper) => SCRTSurfaceDestination }; SCRTTextureBrush: {}; SCRTTextureBrushSamplerMode: { Linear: SCRTTextureBrushSamplerMode; Point: SCRTTextureBrushSamplerMode; Wrap: SCRTTextureBrushSamplerMode }; SCRTTriangleDrawMode: { List: SCRTTriangleDrawMode; Polygon: SCRTTriangleDrawMode; Strip: SCRTTriangleDrawMode }; SCRTTriangleDrawingParams: {}; SCRTTriangleSeriesDrawingProvider: {}; SCRTUintVector: {}; SCRTWaterMarkProperties: {}; SCRTXvaluesProvider: {}; StringVector: {}; TSRCamera: {}; TSRRequestCanvasDraw: (canvasID: string) => void; TSRRequestDraw: () => void; TSRRequestExit: () => void; TSRSetDrawRequestsEnabled: (enabled: boolean) => void; TSRTextBounds: {}; TSRTextLineBounds: {}; TSRVector2: {} & {}; TSRVector3: {} & {}; TSRVector4: {} & {}; UIntVector: {}; VectorArcVertex: {}; VectorColorTextureVertex: {}; VectorColorVertex: {}; VectorRectVertex: {}; WStringVector: {}; canvas: HTMLCanvasElement; canvas2D: HTMLCanvasElement; eSCRTBlendMode: { BlendAdditiveAlpha: eSCRTBlendMode; BlendAdditiveColor: eSCRTBlendMode; BlendAdditiveOneAlpha: eSCRTBlendMode; BlendDefault: eSCRTBlendMode; BlendDisabled: eSCRTBlendMode }; eSCRTBrushMappingMode: { PerPrimitive: eSCRTBrushMappingMode; PerScreen: eSCRTBrushMappingMode }; eTSRCameraProjectionMode: { CAMERA_PROJECTIONMODE_ORTHOGONAL: eTSRCameraProjectionMode; CAMERA_PROJECTIONMODE_PERSPECTIVE: eTSRCameraProjectionMode }; eTSRMetaDataType: { BitFlags: eTSRMetaDataType; Core: eTSRMetaDataType; Defined: eTSRMetaDataType; DynamicDefined: eTSRMetaDataType; Enum: eTSRMetaDataType; Unknown: eTSRMetaDataType }; eTSRPlatform: { Android: eTSRPlatform; Linux: eTSRPlatform; Mac: eTSRPlatform; Undefined: eTSRPlatform; Web: eTSRPlatform; Windows: eTSRPlatform; iOS: eTSRPlatform }; eTSRRendererType: { TSR_RENDERER_TYPE_D3D11: eTSRRendererType; TSR_RENDERER_TYPE_D3D11_LEVEL10: eTSRRendererType; TSR_RENDERER_TYPE_D3D12: eTSRRendererType; TSR_RENDERER_TYPE_D3D9: eTSRRendererType; TSR_RENDERER_TYPE_GL: eTSRRendererType; TSR_RENDERER_TYPE_GLES2: eTSRRendererType; TSR_RENDERER_TYPE_GLES3: eTSRRendererType; TSR_RENDERER_TYPE_METAL: eTSRRendererType; TSR_RENDERER_TYPE_UNDEFINED: eTSRRendererType; TSR_RENDERER_TYPE_VULKAN: eTSRRendererType }; eTSRTextAlignMode: { Center: eTSRTextAlignMode; Left: eTSRTextAlignMode; Right: eTSRTextAlignMode }; eTSRTextureFormat: { TSR_TEXTUREFORMAT_A8B8G8R8: eTSRTextureFormat; TSR_TEXTUREFORMAT_R32F: eTSRTextureFormat }; eVariableUsage: { Array: eVariableUsage; Blob: eVariableUsage; DynamicArray: eVariableUsage; Normal: eVariableUsage; Pointer: eVariableUsage; Vector: eVariableUsage; VectorOfPointers: eVariableUsage } }>

Const getSharedWasmContext3D

  • getSharedWasmContext3D(): Promise<{ AxisPlaneVisibilityMode: { Auto: AxisPlaneVisibilityMode; NegativeSide: AxisPlaneVisibilityMode; PositiveSide: AxisPlaneVisibilityMode }; CategoryCoordinateCalculatorDouble: {}; DoubleVector: {}; FlippedCategoryCoordinateCalculatorDouble: {}; FlippedLinearCoordinateCalculatorDouble: {}; FlippedLinearCoordinateCalculatorSingle: {}; FlippedLogarithmicCoordinateCalculator: {}; FloatVector: {}; 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 }; 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; 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 }; SCRT3DGetScreenHeight: () => number; SCRT3DGetScreenWidth: () => number; SCRT3DSetClearColor: (reg: number, green: number, blue: number, alpha: number) => void; SCRT3DSetWaterMarkProperties: (properties: SCRTWaterMarkProperties) => void; SCRTAxisCubeDescriptor: {}; SCRTAxisCubeEntity: {} & { implement: (wrapper: SCRTAxisCubeEntityWrapper) => SCRTAxisCubeEntity }; SCRTAxisDescriptor: {}; SCRTAxisRange: {}; SCRTColumnsSceneEntity: {} & { implement: (wrapper: SCRTColumnsSceneEntityWrapper) => SCRTColumnsSceneEntity }; SCRTColumnsSceneEntityParams: {}; SCRTCopyToDestinationInterface: { implement: (wrapper: SCRTCopyToDestinationInterfaceWrapper) => SCRTCopyToDestinationInterface }; SCRTCreateBitmapTexture: (width: number, height: number, textureFormat: eTSRTextureFormat) => TSRTexture; SCRTCredentials: { ApplyLicenseResponse: (response: string) => number; Dump: () => 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; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => boolean }; SCRTDoLeakCheck: () => void; SCRTDoubleRange: {} & {}; SCRTDoubleVector: {}; 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; SCRTFloatVector: {}; SCRTFontKey: {}; SCRTFrameRenderer3D: {}; SCRTGetGlobalSampleChartInterface: () => SCRTSampleChartInterface; SCRTGetIsSelectionBufferEnabled: () => boolean; SCRTGetSelectionInfo: (xCoord: number, yCoord: number) => SCRTSelectionInfo; SCRTGetTemplateMesh: (meshId: eSCRTMesh) => TSRIndexedMesh; SCRTGetTemplateTexture: (textureId: eSCRTTexture) => TSRTexture; SCRTGridDrawingProperties: {}; SCRTGridMeshEntity: {} & { implement: (wrapper: SCRTGridMeshEntityWrapper) => SCRTGridMeshEntity }; 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 }; SCRTLinesMesh: {}; SCRTMemMove: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMesh: {}; SCRTPoint3DSceneEntity: {} & { implement: (wrapper: SCRTPoint3DSceneEntityWrapper) => SCRTPoint3DSceneEntity }; SCRTPoint3DSceneEntityParams: {}; SCRTPointLine3DSceneEntity: {} & { implement: (wrapper: SCRTPointLine3DSceneEntityWrapper) => SCRTPointLine3DSceneEntity }; SCRTPointLines3DSceneEntityParams: {}; SCRTRegisterFile: (fileName: string, url: string, callback: SCRTFileLoadCallbackInterface) => void; SCRTSampleChartInterface: { implement: (wrapper: SCRTSampleChartInterfaceWrapper) => SCRTSampleChartInterface }; SCRTSceneEntity: { implement: (wrapper: SCRTSceneEntityWrapper) => SCRTSceneEntity }; SCRTSceneWorld: {}; SCRTSelectionInfo: {}; SCRTSetActiveWorld: (scrtSceneWorld: SCRTSceneWorld) => void; SCRTSetClearAlphaParams: (enabled: boolean, alpha: number) => void; SCRTSetGlobalCopyToDestinationInterface: (param0: SCRTCopyToDestinationInterface) => void; SCRTSetGlobalSampleChartInterface: (param0: SCRTSampleChartInterface) => void; SCRTSetIsSelectionBufferEnabled: (isEnabled: boolean) => void; SCRTSetMainWindowSize: (width: number, height: number) => void; SCRTSurfaceDestination: { implement: (wrapper: SCRTSurfaceDestinationWrapper) => SCRTSurfaceDestination }; SCRTTextStyle: {}; SCRTTickStyle: {}; SCRTUintVector: {}; SCRTWaterMarkProperties: {}; SCRTXyzGizmoEntity: { implement: (wrapper: SCRTXyzGizmoEntityWrapper) => SCRTXyzGizmoEntity }; StringVector: {}; TSRCamera: {}; TSRRequestCanvasDraw: (canvasID: string) => void; TSRRequestDraw: () => void; TSRRequestExit: () => void; TSRSetDrawRequestsEnabled: (enabled: boolean) => void; TSRShadowAnisotropy: { Anisotropy16x: TSRShadowAnisotropy; Anisotropy1x: TSRShadowAnisotropy; Anisotropy2x: TSRShadowAnisotropy; Anisotropy4x: TSRShadowAnisotropy; Anisotropy8x: TSRShadowAnisotropy }; TSRShadowCascadeSelectionModes: { Projection: TSRShadowCascadeSelectionModes; SplitDepth: TSRShadowCascadeSelectionModes }; TSRShadowDepthBufferFormat: { DB16Unorm: TSRShadowDepthBufferFormat; DB24Unorm: TSRShadowDepthBufferFormat; DB32Float: TSRShadowDepthBufferFormat }; TSRShadowFixedFilterSize: { Filter2x2: TSRShadowFixedFilterSize; Filter3x3: TSRShadowFixedFilterSize; Filter5x5: TSRShadowFixedFilterSize; Filter7x7: TSRShadowFixedFilterSize; Filter9x9: TSRShadowFixedFilterSize }; TSRShadowMSAA: { MSAA2x: TSRShadowMSAA; MSAA4x: TSRShadowMSAA; MSAA8x: TSRShadowMSAA; MSAANone: TSRShadowMSAA }; TSRShadowMapSize: { SMSize1024: TSRShadowMapSize; SMSize2048: TSRShadowMapSize; SMSize512: TSRShadowMapSize }; TSRShadowMode: { EVSM2: TSRShadowMode; EVSM4: TSRShadowMode; FixedSizePCF: TSRShadowMode; GridPCF: TSRShadowMode; MSMHamburger: TSRShadowMode; MSMHausdorff: TSRShadowMode; OptimizedPCF: TSRShadowMode; RandomDiscPCF: TSRShadowMode; VSM: TSRShadowMode }; TSRShadowPartitionMode: { Logarithmic: TSRShadowPartitionMode; Manual: TSRShadowPartitionMode; PSSM: TSRShadowPartitionMode }; TSRShadowSMFormat: { SM16Bit: TSRShadowSMFormat; SM32Bit: TSRShadowSMFormat }; TSRTextBounds: {}; TSRTextLineBounds: {}; TSRVector2: {} & {}; TSRVector3: {} & {}; TSRVector4: {} & {}; UIntVector: {}; WStringVector: {}; canvas: HTMLCanvasElement; canvas2D: HTMLCanvasElement; eAxisPlaneDrawLabelsMode: { AxisPlaneDrawLabelsBoth: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsHidden: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsLocalX: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsLocalY: eAxisPlaneDrawLabelsMode }; eAxisPlaneDrawTitlesMode: { AxisPlaneDrawTitlesBoth: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesHidden: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesLocalX: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesLocalY: eAxisPlaneDrawTitlesMode }; eAxisPlaneVisibilityMode: { AxisPlaneVisibilityBackfaceCulled: eAxisPlaneVisibilityMode; AxisPlaneVisibilityManual: eAxisPlaneVisibilityMode; AxisPlaneVisibilityOneSide: eAxisPlaneVisibilityMode }; eSCRTAxisTitleRotationMode: { AxisTitleRotationAuto: eSCRTAxisTitleRotationMode; AxisTitleRotationHorizontal: eSCRTAxisTitleRotationMode; AxisTitleRotationVertical: eSCRTAxisTitleRotationMode }; 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 }; eTSRMetaDataType: { BitFlags: eTSRMetaDataType; Core: eTSRMetaDataType; Defined: eTSRMetaDataType; DynamicDefined: eTSRMetaDataType; Enum: eTSRMetaDataType; Unknown: eTSRMetaDataType }; eTSRPlatform: { Android: eTSRPlatform; Linux: eTSRPlatform; Mac: eTSRPlatform; Undefined: eTSRPlatform; Web: eTSRPlatform; Windows: eTSRPlatform; iOS: eTSRPlatform }; eTSRRendererType: { TSR_RENDERER_TYPE_D3D11: eTSRRendererType; TSR_RENDERER_TYPE_D3D11_LEVEL10: eTSRRendererType; TSR_RENDERER_TYPE_D3D12: eTSRRendererType; TSR_RENDERER_TYPE_D3D9: eTSRRendererType; TSR_RENDERER_TYPE_GL: eTSRRendererType; TSR_RENDERER_TYPE_GLES2: eTSRRendererType; TSR_RENDERER_TYPE_GLES3: eTSRRendererType; TSR_RENDERER_TYPE_METAL: eTSRRendererType; TSR_RENDERER_TYPE_UNDEFINED: eTSRRendererType; TSR_RENDERER_TYPE_VULKAN: eTSRRendererType }; eTSRTextAlignMode: { Center: eTSRTextAlignMode; Left: eTSRTextAlignMode; Right: eTSRTextAlignMode }; eTSRTextureFormat: { TSR_TEXTUREFORMAT_A8B8G8R8: eTSRTextureFormat; TSR_TEXTUREFORMAT_R32F: eTSRTextureFormat }; eVariableUsage: { Array: eVariableUsage; Blob: eVariableUsage; DynamicArray: eVariableUsage; Normal: eVariableUsage; Pointer: eVariableUsage; Vector: eVariableUsage; VectorOfPointers: eVariableUsage } }>
  • Returns Promise<{ AxisPlaneVisibilityMode: { Auto: AxisPlaneVisibilityMode; NegativeSide: AxisPlaneVisibilityMode; PositiveSide: AxisPlaneVisibilityMode }; CategoryCoordinateCalculatorDouble: {}; DoubleVector: {}; FlippedCategoryCoordinateCalculatorDouble: {}; FlippedLinearCoordinateCalculatorDouble: {}; FlippedLinearCoordinateCalculatorSingle: {}; FlippedLogarithmicCoordinateCalculator: {}; FloatVector: {}; 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 }; 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; 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 }; SCRT3DGetScreenHeight: () => number; SCRT3DGetScreenWidth: () => number; SCRT3DSetClearColor: (reg: number, green: number, blue: number, alpha: number) => void; SCRT3DSetWaterMarkProperties: (properties: SCRTWaterMarkProperties) => void; SCRTAxisCubeDescriptor: {}; SCRTAxisCubeEntity: {} & { implement: (wrapper: SCRTAxisCubeEntityWrapper) => SCRTAxisCubeEntity }; SCRTAxisDescriptor: {}; SCRTAxisRange: {}; SCRTColumnsSceneEntity: {} & { implement: (wrapper: SCRTColumnsSceneEntityWrapper) => SCRTColumnsSceneEntity }; SCRTColumnsSceneEntityParams: {}; SCRTCopyToDestinationInterface: { implement: (wrapper: SCRTCopyToDestinationInterfaceWrapper) => SCRTCopyToDestinationInterface }; SCRTCreateBitmapTexture: (width: number, height: number, textureFormat: eTSRTextureFormat) => TSRTexture; SCRTCredentials: { ApplyLicenseResponse: (response: string) => number; Dump: () => 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; RequiresValidation: () => boolean; ResetRuntimeLicense: () => void; SetRuntimeLicenseKeyW: (licenseKey: string) => boolean }; SCRTDoLeakCheck: () => void; SCRTDoubleRange: {} & {}; SCRTDoubleVector: {}; 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; SCRTFloatVector: {}; SCRTFontKey: {}; SCRTFrameRenderer3D: {}; SCRTGetGlobalSampleChartInterface: () => SCRTSampleChartInterface; SCRTGetIsSelectionBufferEnabled: () => boolean; SCRTGetSelectionInfo: (xCoord: number, yCoord: number) => SCRTSelectionInfo; SCRTGetTemplateMesh: (meshId: eSCRTMesh) => TSRIndexedMesh; SCRTGetTemplateTexture: (textureId: eSCRTTexture) => TSRTexture; SCRTGridDrawingProperties: {}; SCRTGridMeshEntity: {} & { implement: (wrapper: SCRTGridMeshEntityWrapper) => SCRTGridMeshEntity }; 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 }; SCRTLinesMesh: {}; SCRTMemMove: (destPtr: number, sourcePtr: number, count: number) => void; SCRTMesh: {}; SCRTPoint3DSceneEntity: {} & { implement: (wrapper: SCRTPoint3DSceneEntityWrapper) => SCRTPoint3DSceneEntity }; SCRTPoint3DSceneEntityParams: {}; SCRTPointLine3DSceneEntity: {} & { implement: (wrapper: SCRTPointLine3DSceneEntityWrapper) => SCRTPointLine3DSceneEntity }; SCRTPointLines3DSceneEntityParams: {}; SCRTRegisterFile: (fileName: string, url: string, callback: SCRTFileLoadCallbackInterface) => void; SCRTSampleChartInterface: { implement: (wrapper: SCRTSampleChartInterfaceWrapper) => SCRTSampleChartInterface }; SCRTSceneEntity: { implement: (wrapper: SCRTSceneEntityWrapper) => SCRTSceneEntity }; SCRTSceneWorld: {}; SCRTSelectionInfo: {}; SCRTSetActiveWorld: (scrtSceneWorld: SCRTSceneWorld) => void; SCRTSetClearAlphaParams: (enabled: boolean, alpha: number) => void; SCRTSetGlobalCopyToDestinationInterface: (param0: SCRTCopyToDestinationInterface) => void; SCRTSetGlobalSampleChartInterface: (param0: SCRTSampleChartInterface) => void; SCRTSetIsSelectionBufferEnabled: (isEnabled: boolean) => void; SCRTSetMainWindowSize: (width: number, height: number) => void; SCRTSurfaceDestination: { implement: (wrapper: SCRTSurfaceDestinationWrapper) => SCRTSurfaceDestination }; SCRTTextStyle: {}; SCRTTickStyle: {}; SCRTUintVector: {}; SCRTWaterMarkProperties: {}; SCRTXyzGizmoEntity: { implement: (wrapper: SCRTXyzGizmoEntityWrapper) => SCRTXyzGizmoEntity }; StringVector: {}; TSRCamera: {}; TSRRequestCanvasDraw: (canvasID: string) => void; TSRRequestDraw: () => void; TSRRequestExit: () => void; TSRSetDrawRequestsEnabled: (enabled: boolean) => void; TSRShadowAnisotropy: { Anisotropy16x: TSRShadowAnisotropy; Anisotropy1x: TSRShadowAnisotropy; Anisotropy2x: TSRShadowAnisotropy; Anisotropy4x: TSRShadowAnisotropy; Anisotropy8x: TSRShadowAnisotropy }; TSRShadowCascadeSelectionModes: { Projection: TSRShadowCascadeSelectionModes; SplitDepth: TSRShadowCascadeSelectionModes }; TSRShadowDepthBufferFormat: { DB16Unorm: TSRShadowDepthBufferFormat; DB24Unorm: TSRShadowDepthBufferFormat; DB32Float: TSRShadowDepthBufferFormat }; TSRShadowFixedFilterSize: { Filter2x2: TSRShadowFixedFilterSize; Filter3x3: TSRShadowFixedFilterSize; Filter5x5: TSRShadowFixedFilterSize; Filter7x7: TSRShadowFixedFilterSize; Filter9x9: TSRShadowFixedFilterSize }; TSRShadowMSAA: { MSAA2x: TSRShadowMSAA; MSAA4x: TSRShadowMSAA; MSAA8x: TSRShadowMSAA; MSAANone: TSRShadowMSAA }; TSRShadowMapSize: { SMSize1024: TSRShadowMapSize; SMSize2048: TSRShadowMapSize; SMSize512: TSRShadowMapSize }; TSRShadowMode: { EVSM2: TSRShadowMode; EVSM4: TSRShadowMode; FixedSizePCF: TSRShadowMode; GridPCF: TSRShadowMode; MSMHamburger: TSRShadowMode; MSMHausdorff: TSRShadowMode; OptimizedPCF: TSRShadowMode; RandomDiscPCF: TSRShadowMode; VSM: TSRShadowMode }; TSRShadowPartitionMode: { Logarithmic: TSRShadowPartitionMode; Manual: TSRShadowPartitionMode; PSSM: TSRShadowPartitionMode }; TSRShadowSMFormat: { SM16Bit: TSRShadowSMFormat; SM32Bit: TSRShadowSMFormat }; TSRTextBounds: {}; TSRTextLineBounds: {}; TSRVector2: {} & {}; TSRVector3: {} & {}; TSRVector4: {} & {}; UIntVector: {}; WStringVector: {}; canvas: HTMLCanvasElement; canvas2D: HTMLCanvasElement; eAxisPlaneDrawLabelsMode: { AxisPlaneDrawLabelsBoth: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsHidden: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsLocalX: eAxisPlaneDrawLabelsMode; AxisPlaneDrawLabelsLocalY: eAxisPlaneDrawLabelsMode }; eAxisPlaneDrawTitlesMode: { AxisPlaneDrawTitlesBoth: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesHidden: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesLocalX: eAxisPlaneDrawTitlesMode; AxisPlaneDrawTitlesLocalY: eAxisPlaneDrawTitlesMode }; eAxisPlaneVisibilityMode: { AxisPlaneVisibilityBackfaceCulled: eAxisPlaneVisibilityMode; AxisPlaneVisibilityManual: eAxisPlaneVisibilityMode; AxisPlaneVisibilityOneSide: eAxisPlaneVisibilityMode }; eSCRTAxisTitleRotationMode: { AxisTitleRotationAuto: eSCRTAxisTitleRotationMode; AxisTitleRotationHorizontal: eSCRTAxisTitleRotationMode; AxisTitleRotationVertical: eSCRTAxisTitleRotationMode }; 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 }; eTSRMetaDataType: { BitFlags: eTSRMetaDataType; Core: eTSRMetaDataType; Defined: eTSRMetaDataType; DynamicDefined: eTSRMetaDataType; Enum: eTSRMetaDataType; Unknown: eTSRMetaDataType }; eTSRPlatform: { Android: eTSRPlatform; Linux: eTSRPlatform; Mac: eTSRPlatform; Undefined: eTSRPlatform; Web: eTSRPlatform; Windows: eTSRPlatform; iOS: eTSRPlatform }; eTSRRendererType: { TSR_RENDERER_TYPE_D3D11: eTSRRendererType; TSR_RENDERER_TYPE_D3D11_LEVEL10: eTSRRendererType; TSR_RENDERER_TYPE_D3D12: eTSRRendererType; TSR_RENDERER_TYPE_D3D9: eTSRRendererType; TSR_RENDERER_TYPE_GL: eTSRRendererType; TSR_RENDERER_TYPE_GLES2: eTSRRendererType; TSR_RENDERER_TYPE_GLES3: eTSRRendererType; TSR_RENDERER_TYPE_METAL: eTSRRendererType; TSR_RENDERER_TYPE_UNDEFINED: eTSRRendererType; TSR_RENDERER_TYPE_VULKAN: eTSRRendererType }; eTSRTextAlignMode: { Center: eTSRTextAlignMode; Left: eTSRTextAlignMode; Right: eTSRTextAlignMode }; eTSRTextureFormat: { TSR_TEXTUREFORMAT_A8B8G8R8: eTSRTextureFormat; TSR_TEXTUREFORMAT_R32F: eTSRTextureFormat }; eVariableUsage: { Array: eVariableUsage; Blob: eVariableUsage; DynamicArray: eVariableUsage; Normal: eVariableUsage; Pointer: eVariableUsage; Vector: eVariableUsage; VectorOfPointers: eVariableUsage } }>

Const getSize

  • getSize(): number
  • Returns number

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

  • Parameters

    • array: string[]

    Returns getUniqueValues

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 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

getYyYRange

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

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

    Returns getYyYRange

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

hasOwnProperty

  • hasOwnProperty<X, Y>(obj: X, prop: Y): obj is X & Record<Y, unknown>
  • Type parameters

    • X: {}

    • Y: PropertyKey

    Parameters

    • obj: X
    • prop: Y

    Returns obj is X & Record<Y, unknown>

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

  • Parameters

    • html: string

    Returns htmlToElement

Const initializeChartEngine2D

  • Parameters

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

    Returns Promise<{ createChildSurface: <T>(divElementId: string, canvases: TSciChartSurfaceCanvases, theme: IThemeProvider, surfaceConstructor: TSurfaceConstructor<T>) => T; getChildSurfaces: () => SciChartSurface[]; id: string; wasmContext: TSciChart }>

Const initializeChartEngine3D

Const interpolateColor

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

    Parameters

    • from: number
    • to: number
    • progress: 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

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

isNumberArray

  • Parameters

    • a: any

    Returns isNumberArray

isRealNumber

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

    Parameters

    • number: number

    Returns boolean

isTypedArray

  • Parameters

    • a: any

    Returns isTypedArray

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): makeIncArray
  • 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 makeIncArray

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): memoize
  • 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 memoize

normalizeAngle

  • normalizeAngle(a: number): number
  • Parameters

    • a: number

    Returns number

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: "#fff", "#ff0000", "rgba(255,255,0,1)", "#11333333"

    Parameters

    • input: string
    • Optional opacityOverride: number

    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 pruneCache

  • pruneCache(): void
  • Returns void

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 receiveNextEvent

    a Promise returned when the event is raised

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

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

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

Const resetCache

  • resetCache(): void
  • Returns void

runAfterFramePaint

  • Runs callback shortly after the next browser Frame is produced.

    Parameters

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

    Returns runAfterFramePaint

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

  • Parameters

    • value: boolean

    Returns setIsLicenseDebug

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 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

stringOccurrences

  • stringOccurrences(str: string, subStr: string, allowOverlapping?: boolean): stringOccurrences
  • Parameters

    • str: string
    • subStr: string
    • Default value allowOverlapping: boolean = false

    Returns stringOccurrences

Const stripAutoColor

  • stripAutoColor(val: string): string
  • Parameters

    • val: string

    Returns string

subArray

  • Parameters

    • array: NumberArray
    • Optional startIndex: number
    • Optional endIndex: number

    Returns subArray

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

  • Parameters

    • yValues: SCRTDoubleVector
    • y1Values: SCRTDoubleVector | undefined
    • yCoordinateCalculator: CoordinateCalculatorBase
    • yHitCoord: number
    • defaultY1: number
    • resPointIndex: number
    • columnYMode: EColumnYMode

    Returns testIsYHit

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): string
  • Parameters

    • value: number
    • Optional largePrefixes: string[]
    • Optional smallPrefixes: string[]
    • Default value precision: number = 1

    Returns string

Const toHex

  • toHex(value: number): toHex
  • toHex(value: number): string
  • Converts a UINT color number to a 8-digit hex code e.g. #FFAABBCC

    Parameters

    • value: number

    Returns toHex

  • 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

vectorToArray

  • vectorToArray(vector: SCRTDoubleVector2D | SCRTDoubleVector3D | FloatVector2D | SCRTFloatVector3D | UIntVector2D | SCRTUintVector2D | SCRTUintVector3D | IntVector2D, 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

      The WebAssembly vector to convert (SCRTDoubleVector2D, SCRTDoubleVector3D, FloatVector2D, UIntVector2D, or IntVector2D)

    • 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, 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.

    Parameters

    • vector: IntVector2D

      The WebAssembly vector to create a view for (IntVector2D)

    • 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_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 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 chartBuilder

chartBuilder: object

build2DChart

build2DChart: build2DChart
inheritdoc

build2DPolarChart

build2DPolarChart: build2DPolarChart
inheritdoc

build3DChart

build3DChart: build3DChart
inheritdoc

buildAnnotations

buildAnnotations: buildAnnotations
inheritdoc

buildAxes

buildAxes: buildAxes
inheritdoc

buildAxis3D

buildAxis3D: buildAxis3D
inheritdoc

buildChart

buildChart: buildChart
inheritdoc

buildDataSeries

buildDataSeries: buildDataSeries
inheritdoc

buildDataSeries3D

buildDataSeries3D: buildDataSeries3D
inheritdoc

buildModifiers

buildModifiers: buildModifiers
inheritdoc

buildModifiers3D

buildModifiers3D: buildModifiers3D
inheritdoc

buildPieChart

buildPieChart: buildPieChart
inheritdoc

buildSeries

buildSeries: buildSeries
inheritdoc

buildSeries3D

buildSeries3D: buildSeries3D
inheritdoc

chartReviver

chartReviver: chartReviver
inheritdoc

configureChart

configureChart: configureChart
inheritdoc

registerFunction

registerFunction: registerFunction
inheritdoc

registerType

registerType: registerType
inheritdoc

registerWasmType

registerWasmType: registerWasmType
inheritdoc

Const dataLabelHelpers

dataLabelHelpers: object

calcRectangleBorders

calcRectangleBorders: calcRectangleBorders

Const defaultSciChart3DConfig

defaultSciChart3DConfig: object

wasmNoSimdUrl

wasmNoSimdUrl: undefined = undefined

wasmUrl

wasmUrl: string = "scichart3d.wasm"

Const defaultSciChartConfig

defaultSciChartConfig: object

wasmNoSimdUrl

wasmNoSimdUrl: undefined = undefined

wasmUrl

wasmUrl: string = "scichart2d.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 age (time since last used) of labels in the cache. 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 age (time since last used) of labels in the cache. 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

Const polarHitTestHelpers

polarHitTestHelpers: object

getNearestPolarPoint

getNearestPolarPoint: getNearestPolarPoint

getNearestPolarPointXDirSorted

getNearestPolarPointXDirSorted: getNearestPolarPointXDirSorted

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