@rfkit/charts 1.3.4 → 1.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +9 -0
- package/modules/Fluorescence/render.d.ts +1 -1
- package/package.json +1 -1
- package/types/publish.d.ts +1 -1
package/index.js
CHANGED
|
@@ -16181,6 +16181,15 @@ const Spectrum_Chart_Chart = (props)=>{
|
|
|
16181
16181
|
handlePublish(e);
|
|
16182
16182
|
handleMarkerPublish(e);
|
|
16183
16183
|
handleSpectrumRule(e);
|
|
16184
|
+
if (e.pstype === constants_PSType.Heatmap) {
|
|
16185
|
+
const { data, timestamps } = e;
|
|
16186
|
+
const waterfallData = convertToTimestampedArrays(data, timestamps);
|
|
16187
|
+
const db = withDatabase(globalID);
|
|
16188
|
+
db.getAllRawData = ()=>({
|
|
16189
|
+
...getDefaultData().getAllRawData(),
|
|
16190
|
+
waterfallData
|
|
16191
|
+
});
|
|
16192
|
+
}
|
|
16184
16193
|
tools(globalID, constants_ModuleType.Spectrum)(e);
|
|
16185
16194
|
tools(globalID, constants_ModuleType.Heatmap)(e);
|
|
16186
16195
|
tools(globalID, constants_ModuleType.Occupancy)(e);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Fluorescence as Chart } from '@rfkit/renderer';
|
|
5
5
|
import { GradientRenderer, type GradientRenderState } from '../base';
|
|
6
6
|
interface FluorescenceData {
|
|
7
|
-
fluorescenceData:
|
|
7
|
+
fluorescenceData: Uint32Array;
|
|
8
8
|
fluorescenceMaxCount: number;
|
|
9
9
|
}
|
|
10
10
|
interface FluorescenceRenderProps {
|
package/package.json
CHANGED
package/types/publish.d.ts
CHANGED