@rfkit/charts 1.3.6 → 1.3.8
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 +10 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7183,6 +7183,7 @@ const Gauge_Gauge = ({ onChange })=>{
|
|
|
7183
7183
|
chart?.reset();
|
|
7184
7184
|
return true;
|
|
7185
7185
|
}
|
|
7186
|
+
if (d.pstype === constants_PSType.Resize) return false;
|
|
7186
7187
|
chart?.updateSeries(d);
|
|
7187
7188
|
return true;
|
|
7188
7189
|
}, [
|
|
@@ -16181,6 +16182,15 @@ const Spectrum_Chart_Chart = (props)=>{
|
|
|
16181
16182
|
handlePublish(e);
|
|
16182
16183
|
handleMarkerPublish(e);
|
|
16183
16184
|
handleSpectrumRule(e);
|
|
16185
|
+
if (e.pstype === constants_PSType.Heatmap) {
|
|
16186
|
+
const { data, timestamps } = e;
|
|
16187
|
+
const waterfallData = convertToTimestampedArrays(data, timestamps);
|
|
16188
|
+
const db = withDatabase(globalID);
|
|
16189
|
+
db.getAllRawData = ()=>({
|
|
16190
|
+
...getDefaultData().getAllRawData(),
|
|
16191
|
+
waterfallData
|
|
16192
|
+
});
|
|
16193
|
+
}
|
|
16184
16194
|
tools(globalID, constants_ModuleType.Spectrum)(e);
|
|
16185
16195
|
tools(globalID, constants_ModuleType.Heatmap)(e);
|
|
16186
16196
|
tools(globalID, constants_ModuleType.Occupancy)(e);
|