legend
Returns a LegendStyle with the provided visibility.
The chart renders the legend only when the data has more than one series, at least one series has a name, and visible is true.
Parameters
visible
Whether the legend is visible. Defaults to true.