f0778dd147
Elasticsearch: Fix creating of legend so it is backward compatible with frontend produced frames (#81708)
* Elasticsearch: Fix creating of legend so it is backward compatible with frontend produced frames
* Update tests
(cherry picked from commit f2936d6695)
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>