HasLegend property: Chart class
Description
Use this property to specify if a legend is displayed with the chart. This property takes a Boolean value: True, if the legend is displayed with the chart, False otherwise.
The default value is False.
This property is read/write.
Note:
Legends are not available for funnel charts. Therefore, this property is not applicable for a funnel chart.