Kibana version: 5.2
Elasticsearch version: 5.2
Server OS version: Ubuntu 16.04.1 LTS x64
Browser version: Chrome 55.0.2883.87
Browser OS version: Windows 10
Original install method (e.g. download page, yum, from source, etc.): Download page
Description of the problem including expected versus actual behavior:
Vertical bar charts that rendered ok before updating to Elastic Stack 5.2 are not rendered after upgrade to 5.2 if the chart contains bar splitted into too many items (sub aggregation). Instead a message "There are too many series defined." is shown in the chart.
This is what the chart looks like with 5.1.2:

This is the same chart in 5.2:

By looking at the Kibana code, this change seems to have been introduced by the heatmap visualization changes: https://github.com/elastic/kibana/blame/ae150f583509536afec93ab08f9ea9b80761bcf6/src/ui/public/vislib/visualizations/point_series.js#L39
Steps to reproduce:
Errors in browser console (if relevant):
No errors shown in the console
Provide logs and/or server output (if relevant):
Describe the feature:
How can I apply @ppisljar 's patch ?
I follow commits modify 3 .js files, remove /usr/share/kibana/optimize/bundles/*
restart kibana service, but not working.
something else needed ? thanks
Its probably best to wait for 5.2.1 version
Thanks for reply. Just want confirm the patchs works in my case.
In Kibana 5.4 in Heatmap is the same Message
