Creates an instance of XyFilterBase
the BaseDataSeries to be filtered
the IXyFilterOptions which can be passed to configure the Filter at construct time
An EventHandler which is raised when the data changes.
Gets the IDataDistributionCalculator instance for this DataSeries. Used when resampling data to determine the correct algorithm
If set, these will be included in the serialised definition, so that it can be used with sharedData
The field that will be returned by getOriginalYValues.
A unique Id for the IDataSeries
The BaseDataSeries to be filtered
Gets the EDataSeriesType type of the DataSeries
The {@link TSciChart | SciChart WebAssembly Context} containing native methods and access to our WebGL2 Engine
X vector with final animation values
X vector with initial animation values
Y vector with final animation values
Y vector with initial animation values
Gets the change count for this data series. Allows to indentify when data series was changed
Gets or sets whether the Y data contains NaN values. Set containsNaN = false for the performance optimization when the series has no NaNs
Gets or sets whether the Y data contains NaN values. Set containsNaN = false for the performance optimization when the series has no NaNs
Gets the DataSeries name. This is used in legend controls and tooltips to identify the series
Gets the DataSeries name. This is used in legend controls and tooltips to identify the series
When true, the DataSeries has values, else it is empty
Gets or sets whether the X-values are evenly spaced or not. See remarks at IDataSeries.isEvenlySpaced for further information
Gets or sets whether the X-values are evenly spaced or not. See remarks at IDataSeries.isEvenlySpaced for further information
Gets or sets whether the X-values are sorted ascending or not. See remarks at IDataSeries.isSorted for further information
Gets or sets whether the X-values are sorted ascending or not. See remarks at IDataSeries.isSorted for further information
Gets the range in the X-direction for this DataSeries
Appends a single X, Y point to the DataSeries
The X-value
The Y-value
The point metadata
Appends a range of X, Y points to the DataSeries
The X-values
The Y-values
The array of point metadata
Clears the entire DataSeries.
Gets the count of data-points in the DataSeries
Deletes native (WebAssembly) memory used by this type, after which it cannot be used.
Clear and recreate the entire series.
Called when data is appended to the original series
The number of points appended
Called when data is inserted to the original series
The first index where data is inserted
The number of points inserted
Called when data is removed form the original series
The first index where data is removed
The number of points removed
Called when a point on the original series is updated
The index of the updated point.
Gets the integer indices of the XValues array that are currently in the VisibleRange passed in, and an undefined range otherwise.
The VisibleRange to get the indices range
If True the renderable series uses CategoryAxis
Specifies the search mode used to look for the index of visibleRange.Min
Specifies the search mode used to look for the index of visibleRange.Max
numberRange The indices to the X-Data that are currently in range.
Returns true if this DataSeries has been deleted and native memory destroyed
Gets the metadata by index
The X index
Gets the metadata array length
Gets a native / WebAssembly Vector of Indexes in the DataSeries
Gets a native / WebAssembly vector of X-values in the DataSeries
Gets a native / WebAssembly vector of Y-values in the DataSeries
Get the length of the original series.
Get the X values of the original series
Get the Y values of the original series, according to the field set.
Gets the Y-range of the data within the specified X-Range: a 'windowed' Y-range used for zooming into series on the SciChartSurface
When true, return the positive part of the Y-range only
When true, treat the XAxis as a CategoryAxis - an axis type which measures by x-index not x-value
The data series values to use EDataSeriesValueType
Gets the range in the X-direction for this DataSeries
The data series values to use EDataSeriesValueType
Check if the series has an existing metadaGenerator
the index to insert at
the X value
the Y value
The point metadata
the index to insert at
the XValues
the YValues
The array of point metadata
Call to notify subscribers of dataChanged that the data has changed and SciChartSurface needs redrawing
Called when the original series is cleared.
Callback when a property on the original series is changed.
The name of the property that changed
Removes an X,Y value at the specified index
the index to remove at
the start index to remove at
the number of points to remove
Sets final values for the data animation
The BaseDataSeries to be used for final values
Sets initial values for the data animation
The BaseDataSeries to be used for initial values
Sets a function that will be used to generate metadata for values when they are appended/inserted, if no explicit metadata is supplied.
Updates a single Y-value by X-index
the index to update
The new Y value
The point metadata
Updates the BaseDataSeries values for the animation
The animation progress from 0 to 1
The animation
Updates a single X, Y-value by X-index. Might also need to set isSorted = false
The index to update
The new X value
The new Y value
The point metadata
Validates the length of the animation vectors
Generated using TypeDoc
Base class for a filter that produces an XyDataSeries.
The originalSeries can be any series type (other than heatmap). Pass field in the options to determine which field will be returned by getOriginalYValues.
To create a filter it is only necessary to implement filterAll, and onClear, but if possible you should override filterOnAppend, filterOnUpdate, filterOnInsert and filterOnRemove