property Legend.Visible as Boolean
Shows or hides the legend

TypeDescription
Boolean A boolean expression that specifies whether the legend is visible or hidden. For instance:
  • false, by default, the legend is hidden
  • true, shows the legend
By default, the Visible property is False (the legend is hidden). The Visible property shows or hides the legend. The LegendFormat property defines the expression used to customize the label of the series displayed on the legend panel. The Locked property ondicates whether the legend is locked(protected) or unlocked. The Pad property defines the legend's padding (space between legend's symbol and label). The FormatText property specifies the flags the labels use to display on the legend. The LabelFixedWidth property Indicates the fixed-width to display the labels. The LabelFixedHeight property Indicates the height-width to display the labels. The SymbolAlign property specifies the alignment of the symbol of the serie relative to the label of the serie. The SymbolWidth property indicates the fixed-width to display the symbol. The SymbolHeight property indicates the height-width to display the symbol. The Grid property specifies the number of columns or rows that the legend divides its content into.