StaticdownsampleDownsamples data by reducing segments that scales to the same approximate range
data to downsample
scale to control downsampling
function to reduce segments
StaticfilterCut data points that are outside the current visible domain. An excess will ensure that panning is smooth
StaticfindFind the first index that has a finite numeric value
data to search
start index to search from
StaticfindFind the first index that has NOT a finite numeric value
data to search
start index to search from
StaticisTest if the data is within the scale's domain
StaticmeanReduce multiple points to the its average values.
StaticmergeTrim two data series so that it can be correlated. Used in differential plot.
StaticminmaxStaticqueryIn a data set of two values, return the second element of the item where the first item is closest to the query value. The data set is considered to be contineous rather than discrete.
StaticqueryIn a data set of two values, return the second element of the item where the first item is closest to the query value. The data set is considered to be discrete.
StaticqueryIn a data set of two values, return the second element of the item where the first item is closest to the query value. The data set is considered to be organized such that an item is the end of the previous item and the start of the next (zones).
StaticresampleResample large data series to reduce detail when number of points are greater than the number of pixels to render it to. NOTE: you should pass the data through the DataHelper.trimUndefinedValues before passing it to this function. Also, this function assumes the datapoints are more or less uniformly spaced. The DataHelper.downsample is probably safer and yields better results.
data to resample
resample ratio
function to reduce segments
StatictrimRemove successive entries of NULL values, leaving only the first NULL value. Required by the resample function.
Various utility functions for transforming and processing data sets.