AxisLabelUpdated Event

       

Occurs when an axis label has changed.

Syntax

Private Sub object_AxisLabelUpdated (axisId As Integer, axisIndex As Integer, labelSetIndex As Integer, labelIndex As Integer, updateFlags As Integer)

The AxisLabelUpdated event syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
axisId Integer. An integer that identifies a specific axis, as described in Settings.
axisIndex Integer. An integer reserved for future use. For this version of MSChart control, 1 is the only valid value for this argument.
labelSetIndex Integer. An integer that identifies the level of labels you are double clicking on. Levels of labels are numbered from the axis out, beginning with 1.
labelIndex Integer. An integer that is currently unused.
updateFlags Integer. An integer provides information about the update of the label, as described in Settings.

Settings

The event handler determines which axis label is updated and sets axisId to:

Constants Description
VtChAxisIdX If the x axis is affected.
VtChAxisIdY If the y axis is affected.
VtChAxisIdY2 If the secondary y axis is affected.
VtChAxisIdZ If the z axis is affected.

The event handler determines the affect of the update, and sets updateFlags to:

Constants 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.