Options
All
  • Public
  • Public/Protected
  • All
Menu

A RenderDataTransform that calculates a Cubic Bezier curve over the an Xyy dataSeries, while respecting the bounds of the data. This also restricts the Y1 values to be less than the Y values, allowing this to be used for stacked series.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly drawingProviders

drawingProviders: Array<ISeriesDrawingProvider>

The drawingProviders on the parentSeries to which this transform applies

Protected forceYGreaterThanY1

forceYGreaterThanY1: boolean = true

Protected lastIndexRange

lastIndexRange: NumberRange

Protected lastResamplingHash

lastResamplingHash: number

Readonly parentSeries

parentSeries: BaseRenderableSeries

The series the transform is attached to

pointSeries

The pointSeries that stores the result of the transform

requiresTransform

requiresTransform: boolean = true

Whether then transform will run when the series is drawn. This is set true initially, and when data changes, and is set to false when the transform does run. If your transform depends on any other property, you must set this true if that property changes

useForYRange

useForYRange: boolean = false

A flag to tell the parent series if the transformed values should be used when calculating data range

Protected wasmContext

wasmContext: TSciChart

Accessors

curvature

  • get curvature(): number
  • set curvature(value: number): void
  • A scale factor for the tightness of the curves. Valid values 0 to 1. Lower = tighter curves

    Returns number

  • A scale factor for the tightness of the curves. Valid values 0 to 1. Lower = tighter curves

    Parameters

    • value: number

    Returns void

interpolationPoints

  • get interpolationPoints(): number
  • set interpolationPoints(value: number): void
  • The number of points to add between each data point. Default 20 These are Not uniformly distributed, but clutered around the data points to give smoother curves

    Returns number

  • The number of points to add between each data point. Default 20 These are Not uniformly distributed, but clutered around the data points to give smoother curves

    Parameters

    • value: number

    Returns void

Methods

Protected createPointSeries

delete

  • delete(): void

Protected makeRenderPassData

onDataChange

runTransform

Protected runTransformInternal

Generated using TypeDoc