* Large data down sampling using largest-triangle-three-buckets * @param {string} valueDimension * @param {number} targetCount
(
valueDimension: DimensionLoose,
rate: number
)
| 1109 | * @param {number} targetCount |
| 1110 | */ |
| 1111 | lttbDownSample( |
| 1112 | valueDimension: DimensionLoose, |
| 1113 | rate: number |
| 1114 | ): SeriesData<HostModel> { |
| 1115 | const list = cloneListForMapAndSample(this); |
| 1116 | list._store = this._store.lttbDownSample( |
| 1117 | this._getStoreDimIndex(valueDimension), |
| 1118 | rate |
| 1119 | ); |
| 1120 | return list as SeriesData<HostModel>; |
| 1121 | } |
| 1122 | |
| 1123 | getRawDataItem(idx: number) { |
| 1124 | return this._store.getRawDataItem(idx); |
nothing calls this directly
no test coverage detected