(cherry picked from commit 6913623461)
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com>
This commit is contained in:
co-authored by
Victor Marin
parent
a16104d123
commit
6c38c502a9
@@ -588,7 +588,8 @@ const prepConfig = (
|
||||
isTime: false,
|
||||
orientation: ScaleOrientation.Horizontal,
|
||||
direction: ScaleDirection.Right,
|
||||
range: (u, min, max) => [min, max],
|
||||
min: xField.config.min,
|
||||
max: xField.config.max,
|
||||
});
|
||||
|
||||
// why does this fall back to '' instead of null or undef?
|
||||
@@ -621,7 +622,8 @@ const prepConfig = (
|
||||
scaleKey,
|
||||
orientation: ScaleOrientation.Vertical,
|
||||
direction: ScaleDirection.Up,
|
||||
range: (u, min, max) => [min, max],
|
||||
max: field.config.max,
|
||||
min: field.config.min,
|
||||
});
|
||||
|
||||
if (field.config.custom?.axisPlacement !== AxisPlacement.Hidden) {
|
||||
|
||||
Reference in New Issue
Block a user