AddPlotLegend

The AddPlotLegend method adds a plot legend for the plot. Plot legends are only available for the plot types in the following table:

Type

Description

Bubble legend

displays information for the bubbles in Plot Page - Bubble Plots plots.

Class legend

displays information for the classes in 2D, XYZ, polar, ternary, and piper class plots.

Chart slice legend

displays information about pie or doughnut plot slices.

Color table legend

displays information about fill colors used in the color table.

Symbol table legend

displays information about the symbols used in the symbol table.

Wind chart legend

displays information about the wind chart speed bins.

Syntax

object.AddPlotLegend

Example

The following example adds a plot legend to a 2D class scatter plot.

ClassScatterPlot.AddPlotLegend

 

Used By: AutoPlot Object