public class ChartLegend
extends java.lang.Object
implements java.lang.Cloneable
To learn more, visit the Working with Charts documentation article.
| Constructor and Description |
|---|
ChartLegend()
Initializes a new instance of the
ChartLegend class. |
| Modifier and Type | Method and Description |
|---|---|
ChartLegendEntryCollection |
getLegendEntries()
Returns a collection of legend entries for all series and trendlines of the parent chart.
|
boolean |
getOverlay()
Determines whether other chart elements shall be allowed to overlap legend.
|
int |
getPosition()
Specifies the position of the legend on a chart.
|
protected java.lang.Object |
memberwiseClone() |
void |
setOverlay(boolean value)
Determines whether other chart elements shall be allowed to overlap legend.
|
void |
setPosition(int value)
Specifies the position of the legend on a chart.
|
public ChartLegend()
ChartLegend class.public ChartLegendEntryCollection getLegendEntries()
public int getPosition()
LegendPosition.RIGHT.int value. The returned value is one of LegendPosition constants.public void setPosition(int value)
LegendPosition.RIGHT.value - The corresponding int value. The value must be one of LegendPosition constants.public boolean getOverlay()
boolean value.public void setOverlay(boolean value)
value - The corresponding boolean value.protected java.lang.Object memberwiseClone()