Variables
Let InternalDecimatorMap
InternalDecimatorMap: object
Let decimatorList
decimator
List: (MinPointDecimator | AvgPointDecimator | MaxPointDecimator | XYPointDecimator | AvgContinuousDecimator | SummedValueMultiXYSeriesDecimator | SummedValueXYSeriesDecimator | NEWSPointDecimator | NEWSStateDecimator | FlameChartRectLimitDecimator | FlameChartMergeRectDecimator | TraceResidencyDecimator | SimpleMarkerDecimator)[] = [new ResidencyDecimator(), new MinPointDecimator(),new AvgPointDecimator(), new MaxPointDecimator(), new AvgContinuousDecimator(),new FlameChartMergeRectDecimator(), new FlameChartRectLimitDecimator(),new NEWSPointDecimator(), new NEWSStateDecimator(), new SimpleMarkerDecimator(),new XYPointDecimator(), new SummedValueXYSeriesDecimator(),new SummedValueMultiXYSeriesDecimator(), new TraceResidencyDecimator()]
findFirstInsertionIdx
findFirstInsertionIdx: function = bisectBuffer(function (xy: { x: any }) { return xy.x }).left
Type declaration
-
- (buffer: IBuffer<object>, x: number): number
-
Parameters
Returns number
findLastInsertionIdx
findLastInsertionIdx: function = bisectBuffer(function (xy: { x: any }) { return xy.x }).right
Type declaration
-
- (buffer: IBuffer<object>, x: number): number
-
Parameters
Returns number
This function is created by a user to do a user defined decimation. Note that the function is called once per x pixel on the screen. Also it is guaranteed that the inputValues will be in the same order as they are in the original array, so runnings statistical values can be stored in the function if really needed.
yValueToCoord will map the yValue to an actual pixel. The larger the output of yValueToCoord, the smaller the actual value is aka there is an inverse relationship between yValueToCoord output and the actual Y value.