Issue #1210: Display no legend when there is nothing to display