Cleanup legend value by using css content

This allows further custom css to hide the legend value names more easily