ValuePairs Property (Read Only)
Syntax
CWAxis.ValuePairs
Data Type
Purpose
Returns a CWValuePairs collection of CWValuePair objects, which specify labels for particular points on the axis.
Remarks
A ValuePair object is a label paired with a value. A slide control with text labels such as "Off", "Slow", and "Fast" uses CWValuePairs to define the labels. For example, use a CWValuePair object to add the text label "BoilingPoint" to a numeric axis at the value 212.
Refer to the CWValuePair topics for examples.
Example
'Add a value pair to the graph's x-axis
CWGraph1.Axes.Item(2).ValuePairs.Add
'Set the name and value of the value pair we just added
CWGraph1.Axes.Item(2).ValuePairs.Item(1).Name = "Test"
CWGraph1.Axes.Item(2).ValuePairs.Item(1).Value = 8