Skip to content

Commit 65004b3

Browse files
committed
fix dependency warnings for histogram
1 parent 1267fa7 commit 65004b3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/libs/eda/src/lib/core/components/visualizations/implementations/HistogramVisualization.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -894,17 +894,18 @@ function HistogramViz(props: VisualizationProps<Options>) {
894894
? { dependentAxisRange: minPosMax }
895895
: {}),
896896
},
897-
vizConfig,
897+
{
898+
independentAxisRange: vizConfig.independentAxisRange,
899+
dependentAxisRange: vizConfig.dependentAxisRange,
900+
},
898901
{}, // no overrides
899902
true // use inclusive less than equal for the range min
900903
),
901904
[
902905
defaultUIState,
903-
dependentMinPosMax,
906+
minPosMax,
904907
vizConfig.independentAxisRange,
905908
vizConfig.dependentAxisRange,
906-
vizConfig.independentAxisValueSpec,
907-
vizConfig.dependentAxisValueSpec,
908909
]
909910
);
910911

0 commit comments

Comments
 (0)