The ChartItemInLegend type exposes the following members.

Constructors

  Name Description
Public method ChartItemInLegend
Initializes a new instance of the ChartItemInLegend class.

Methods

  Name Description
Public method AssignFrom
Copies properties from another ChartItemInLegend to the current object.

Properties

  Name Description
Public property ActionInfo
Gets the ActionInfo object associated with the item in the legend.
Public property Hidden
Gets or sets a value indicating whether the item should not be shown in the legend.
Public property LegendText
Gets or sets the label to use in the legend for the item for ChartDataPoint.

If this property is not set, the Label properties from the chart categories hierarchy are used as the legend text (with " – " added between each pair).

Public property ToolTip
Gets or sets the tooltip to display for the item in the legend.

See Also