mirror of
https://github.com/apache/superset.git
synced 2026-06-05 07:39:19 +00:00
fix: Zero values on Dual Line axis bounds (#23649)
This commit is contained in:
committed by
GitHub
parent
240b29220f
commit
d66e6e6d40
@@ -844,12 +844,12 @@ function nvd3Vis(element, props) {
|
||||
}
|
||||
|
||||
chart.yDomain1([
|
||||
yAxisBounds[0] || ticks1[0],
|
||||
yAxisBounds[1] || ticks1[ticks1.length - 1],
|
||||
yAxisBounds[0] ?? ticks1[0],
|
||||
yAxisBounds[1] ?? ticks1[ticks1.length - 1],
|
||||
]);
|
||||
chart.yDomain2([
|
||||
yAxis2Bounds[0] || ticks2[0],
|
||||
yAxis2Bounds[1] || ticks2[ticks2.length - 1],
|
||||
yAxis2Bounds[0] ?? ticks2[0],
|
||||
yAxis2Bounds[1] ?? ticks2[ticks2.length - 1],
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user