Occurs when the chart legend has changed.
Syntax
Private Sub object_LegendUpdated (updateFlags As Integer)
The LegendUpdated event syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
updateFlags | Integer. Provides information about the update of the legend, as described in Settings. |
Settings
The following table lists the constants for updateFlags.
Constant | Description |
VtChNoDisplay | Absence of update flags; the chart display is not affected. (Defined as 0.) |
VtChDisplayPlot | Update will cause the plot to repaint. |
VtChLayoutPlot | Update will cause the plot to lay out. |
VtChDisplayLegend | Update will cause the legend to repaint. |
VtChLayoutLegend | Update will cause the legend to lay out. |
VtChLayoutSeries | Update will cause the series to lay out. |
VtChPositionSection | A chart section has been moved or resized. |