mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
don't create endzones when ordinal data is missing min or max
This commit is contained in:
parent
2c8e0316e0
commit
4a339ec7ef
1 changed files with 2 additions and 2 deletions
|
@ -59,10 +59,10 @@ define(function (require) {
|
|||
var self = this;
|
||||
var xAxis = this.handler.xAxis;
|
||||
var xScale = xAxis.xScale;
|
||||
var yScale = xAxis.yScale;
|
||||
var ordered = xAxis.ordered;
|
||||
var missingMinMax = !ordered || _.isUndefined(ordered.min) || _.isUndefined(ordered.max);
|
||||
|
||||
if (!ordered || ordered.endzones === false) return;
|
||||
if (missingMinMax || ordered.endzones === false) return;
|
||||
|
||||
var attr = this.handler._attr;
|
||||
var height = attr.height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue