@oliasoft-open-source/charts-library 3.5.1-beta-1 → 3.5.1-beta-2

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/dist/index.js CHANGED
@@ -25406,10 +25406,13 @@ const useStoreChartStateInStorage = (memoState, persistenceId) => {
25406
25406
  };
25407
25407
  const useUpdateAxesRanges = (range, dispatch) => {
25408
25408
  const prevRange = useRef(null);
25409
+ console.log("Range", range);
25409
25410
  const updateAxesRanges = useCallback(() => {
25411
+ console.log(
25412
+ range && range.x && range.y && !isEqual(range, prevRange.current)
25413
+ );
25410
25414
  if (range && range.x && range.y && !isEqual(range, prevRange.current)) {
25411
- console.log("UPDATE_AXES_RANGES");
25412
- console.log("Range", range);
25415
+ console.log("UPDATE_AXES_RANGES", range);
25413
25416
  const axes = Object.entries(range).map(([key, { min, max }]) => ({
25414
25417
  id: key,
25415
25418
  min: min ?? 0,