mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Lens] fix error when adding a new layer (#100766)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
868e5df87d
commit
48f7a479b5
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ const getDataBounds = function (
|
|||
let min = Number.MAX_VALUE;
|
||||
let max = Number.MIN_VALUE;
|
||||
axis.series.forEach((series) => {
|
||||
activeData?.[series.layer].rows.forEach((row) => {
|
||||
activeData?.[series.layer]?.rows.forEach((row) => {
|
||||
const value = row[series.accessor];
|
||||
if (!Number.isNaN(value)) {
|
||||
if (value < min) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue