We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a52f70 + 7a65833 commit 9500174Copy full SHA for 9500174
redisinsight/ui/src/components/charts/area-chart/AreaChart.tsx
@@ -115,7 +115,7 @@ const AreaChart = (props: IProps) => {
115
.domain(d3.extent(cleanedData, (d) => d.index) as [number, number])
116
.range([0, width])
117
118
- let maxY = d3.max(cleanedData, (d) => d.y) || 0
+ let maxY = d3.max(cleanedData, (d) => d.y) || yCountTicks
119
120
if (dataType === AreaChartDataType.Bytes) {
121
const curriedTyBytes = curryRight(toBytes)
0 commit comments