From 3e2a3adfe4807705e0ed3a3c12e76e9bc5982cc4 Mon Sep 17 00:00:00 2001 From: Michael Hudson Nkotagu Date: Tue, 6 Aug 2024 14:21:17 +0300 Subject: [PATCH] fix: Remove nice property to fix breaking stacked StackedChart --- packages/hurumap-core/src/Scope/StackedChartScope.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/hurumap-core/src/Scope/StackedChartScope.js b/packages/hurumap-core/src/Scope/StackedChartScope.js index e9d3374f5..b9758f804 100644 --- a/packages/hurumap-core/src/Scope/StackedChartScope.js +++ b/packages/hurumap-core/src/Scope/StackedChartScope.js @@ -94,7 +94,8 @@ export default function StackedChartScope({ ], zero: true, clamp: true, - nice: { signal: "primaryXTickCount" }, + // TODO: explore why adding nice breaks the chart with error: Error: Cycle detected in dataflow graph. + // nice: { signal: "primaryXTickCount" }, }, { name: "s_xscale", @@ -110,7 +111,8 @@ export default function StackedChartScope({ ], zero: true, clamp: true, - nice: { signal: "secondaryXTickCount" }, + // TODO: explore why adding nice breaks the chart with error: Error: Cycle detected in dataflow graph. + // nice: { signal: "secondaryXTickCount" }, }, { name: "color",