3
0

Fix yAxis min and max values causing issues when timeline is set to yAxis or xyAxis

This commit is contained in:
Katrin Yordanova
2023-12-06 17:01:12 +02:00
parent f50db38251
commit d6657519f1
+2 -2
View File
@@ -95,8 +95,8 @@ export default class Chart extends BaseChart {
type: yType === 'linear' ? 'value' : 'log',
position,
nameLocation: labelPosition,
min: beginAtZero ? 0 : min || undefined,
max: max || undefined,
min: beginAtZero ? 0 : Number(min) || undefined,
max: Number(max) || undefined,
axisLabel: {
interval: 0,
overflow: 'break',