query full list of records (similarly to the table panel)
code cleanup (removed vertical legend)