Kibana: Area Chart mode Overlap Error: Area charts require more than one data point. Try adding an X-Axis Aggregation

Created on 21 Feb 2017  路  9Comments  路  Source: elastic/kibana

  1. Create new Area Chart visualization
  2. Added X axis
  3. Added Y axis
  4. Added split Area
  5. ERROR RAISED: Area charts require more than one data point. Try adding an X-Axis Aggregation

agg

But this error is only raised when CHART MODE: OVERLAP is chosen from options.

Visualizations bug

Most helpful comment

Installed kibana 5.3 today, issue still persist.

All 9 comments

I was testing further this unwanted behaviour and I find out, that this error only ocurs when there is no occurence of some of field values during some of generated intervals.

  1. time interval:
    1.1.1.1 - 148millis
    1.1.1.2 - 100millis

  2. time interval:
    1.1.1.1 - 100millis
    1.1.1.2 - 148millis

  3. time interval:
    1.1.1.1 - 148millis
    1.1.1.3 - 100millis
    If I make visualization only over first two time intervals, everything works OK, but if I try to make visualization also over third time interval, mentioned error occurs.

Installed kibana 5.3 today, issue still persist.

+1

+1

+1

+1

+1

Seeing this in 5.3.2

I dug into this a bit more and can confirm that it's a bug when displaying a series that doesn't span more than one bucket. When using stacked mode (or when using a Line Chart), the chart silently doesn't display the series. When using overlap mode, the chart displays the error reported.

Commenting out this line https://github.com/elastic/kibana/blob/v5.3.2/src/ui/public/vislib/visualizations/point_series/area_chart.js#L60 will cause the overlap mode to return a visualization similar to the Line Chart.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexIoannides picture AlexIoannides  路  138Comments

srl295 picture srl295  路  104Comments

pkubat picture pkubat  路  75Comments

Vineeth-Mohan picture Vineeth-Mohan  路  149Comments

seti123 picture seti123  路  100Comments