Chart: add show_legend toggle, document it, and add e2e test
#1270
+17
−1
show_legend toggle, document it, and add e2e test
#1270