Fix yAxis min and max values causing issues when timeline is set to yAxis or xyAxis
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user