@rfkit/charts 1.1.33 → 1.1.35
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 +16 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4542,7 +4542,7 @@ const Container = (props)=>{
|
|
|
4542
4542
|
let first = true;
|
|
4543
4543
|
resizeObserver = new ResizeObserver(()=>{
|
|
4544
4544
|
if (!first) (0, utils.uA)(()=>{
|
|
4545
|
-
PUB_SUB(globalID)({
|
|
4545
|
+
if (ref.current.offsetHeight && ref.current.offsetWidth) PUB_SUB(globalID)({
|
|
4546
4546
|
pstype: constants_PSType.Resize
|
|
4547
4547
|
});
|
|
4548
4548
|
})();
|
|
@@ -9596,6 +9596,7 @@ class Spectrum {
|
|
|
9596
9596
|
useRangeAutoFocus(this.state.globalID)();
|
|
9597
9597
|
};
|
|
9598
9598
|
useRangeSet(this.state.globalID, (range)=>{
|
|
9599
|
+
this.state.renderRange = range;
|
|
9599
9600
|
this.state.chart?.setRange(range);
|
|
9600
9601
|
});
|
|
9601
9602
|
}
|
|
@@ -11151,8 +11152,7 @@ const TOOL_CONFIGS = [
|
|
|
11151
11152
|
supportedCharts: [],
|
|
11152
11153
|
excludedCharts: [
|
|
11153
11154
|
constants_ChartType.ScanDF360,
|
|
11154
|
-
constants_ChartType.LevelStream
|
|
11155
|
-
constants_ChartType.LiteNormalized
|
|
11155
|
+
constants_ChartType.LevelStream
|
|
11156
11156
|
]
|
|
11157
11157
|
},
|
|
11158
11158
|
{
|
|
@@ -15497,6 +15497,19 @@ function useSpectrumChartType({ type, heatmapElementID }) {
|
|
|
15497
15497
|
0,
|
|
15498
15498
|
1
|
|
15499
15499
|
];
|
|
15500
|
+
axisY.realRange = [
|
|
15501
|
+
0,
|
|
15502
|
+
1
|
|
15503
|
+
];
|
|
15504
|
+
axisY.renderRange = [
|
|
15505
|
+
0,
|
|
15506
|
+
1
|
|
15507
|
+
];
|
|
15508
|
+
dispatch({
|
|
15509
|
+
payload: {
|
|
15510
|
+
axisY
|
|
15511
|
+
}
|
|
15512
|
+
});
|
|
15500
15513
|
useRangeSet(globalID)(axisY.range);
|
|
15501
15514
|
}
|
|
15502
15515
|
}
|