elasticsearch/kibana — pull request #1756 by stormpython (2014-10-28 00:39:37+00:00)
Title: Fixes #1720. Legend not displaying when multiple types - pie chart.

This pull request closes #1720.

Pie charts with a single value for the first layer and multiple values for additional layers was not displaying a legend. The problem is that we were not checking for the presence of children arrays attached to the first layer. This pull requests adds a check for a childrens array, so that the legend is shown in these edge cases.