Skip to content

Commit 3a42763

Browse files
author
ALENA NABOKA
committed
Merge branch 'feature/RI-2586_database_analysis' into e2e/feature/RI-3628_history
2 parents ea5a9e7 + 9500174 commit 3a42763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/ui/src/components/charts/area-chart/AreaChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const AreaChart = (props: IProps) => {
115115
.domain(d3.extent(cleanedData, (d) => d.index) as [number, number])
116116
.range([0, width])
117117

118-
let maxY = d3.max(cleanedData, (d) => d.y) || 0
118+
let maxY = d3.max(cleanedData, (d) => d.y) || yCountTicks
119119

120120
if (dataType === AreaChartDataType.Bytes) {
121121
const curriedTyBytes = curryRight(toBytes)

0 commit comments

Comments
 (0)