Static
$tStatic
nextDetermines the appearance of the border drawn around the text area, as well as whether a border appears.
Returns the owning chart (read-only)
[[owner]]
Defines the font properties for
To apply font settings to a specific legend entry, use the [[LegendEntry.font]] property.
[[LegendEntry.font]]
Returns or sets a [[ChartFillBase]] derived object
which defines the font color(s) for
Use this property to apply the same font color(s) to all legend entries.
Use the [[LegendEntry.fontFill]] property to apply font color(s) for a particular legend entry.
Returns or sets a [[ChartFillBase]] derived object which defines the fill properties for the legend's text area.
This property returns null by default, indicating that no fill is applied.
To apply a solid color fill, assign an instance of the [[ChartSolidFill]] class to this property.
To apply a gradient fill, assign an instance of the [[ChartGradientFill]] class to this property.
Returns or sets a value that represents the height of the legend area, expressed as a fraction of the chart area's height.
Valid values for this property range between zero and one, with a value of one representing the total height of the chart area.
A value of .1 (for example) represents a height that is equal to one-tenth the height of the chart area.
[[width]]
Returns or sets a value that represents the position of the left edge of the legend area, expressed as a fraction of the chart area's width.
Valid values for this property range between zero and one, with a value of one representing the total width of the chart area.
[[top]]
Returns or sets a boolean value indicating whether the legend can intersect with the chart's plot area.
returns this object's owner. (read-only) The owner or null if this object is owned directly by the Chart
[[chart]]
Returns or sets a value that represents the position of the legend on the chart.
Determines the rotation of the legend's text area, expressed in degrees.
Determines the orientation and direction in which text flows.
Note that the [[rotation]] property is only applicable when this property is set to Horizontal.
[[rotation]]
Returns or sets a value that represents the position of the top edge of the legend area, expressed as a fraction of the chart area's height.
Valid values for this property range between zero and one, with a value of one representing the total height of the chart area.
[[left]]
Returns or sets a value that represents the width of the legend area, expressed as a fraction of the chart area's width.
Valid values for this property range between zero and one, with a value of one representing the total width of the chart area.
[[height]]
Indexer (read-only)
A zero based index
Returns a read only collection of
This collection contains one entry for each [[Series]] in the associated chart's [[WorksheetChart.seriesCollection]].
This collection does not include legend entries for
Use the [[Trendline.legendEntry]] property to obtain a reference to the legend entry associated with a trendline.
[[WorksheetChart.legend]]
Static
compareStatic
compareStatic
equalsStatic
equalsStatic
getStatic
getStatic
getStatic
reference
Represents the legend in a chart. Each chart can have only one legend.