Skip to content

Commit

Permalink
fix: Remove nice property to fix breaking stacked StackedChart
Browse files Browse the repository at this point in the history
  • Loading branch information
m453h committed Aug 6, 2024
1 parent febc954 commit 3e2a3ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/hurumap-core/src/Scope/StackedChartScope.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 3e2a3ad

Please sign in to comment.