public class ChartLegendEntry
extends java.lang.Object
implements java.lang.Cloneable
To learn more, visit the Working with Charts documentation article.
A legend entry corresponds to a specific chart series or trendline.
The text of the entry is the name of the series or trendline. The text cannot be changed.
ChartSeries.getLegendEntry()| Modifier and Type | Method and Description |
|---|---|
void |
clearRunAttrs() |
java.lang.Object |
fetchInheritedRunAttr(int key) |
java.lang.Object |
getDirectRunAttr(int key) |
Font |
getFont()
Provides access to the font formatting of this legend entry.
|
boolean |
isHidden()
Gets a value indicating whether this entry is hidden in the chart legend.
|
void |
isHidden(boolean value)
Sets a value indicating whether this entry is hidden in the chart legend.
|
protected java.lang.Object |
memberwiseClone() |
void |
removeRunAttr(int key) |
void |
setRunAttr(int key,
java.lang.Object value) |
public java.lang.Object getDirectRunAttr(int key)
public java.lang.Object fetchInheritedRunAttr(int key)
public void setRunAttr(int key,
java.lang.Object value)
public void removeRunAttr(int key)
public void clearRunAttrs()
public boolean isHidden()
public void isHidden(boolean value)
value - A value indicating whether this entry is hidden in the chart legend.public Font getFont()
Font value.protected java.lang.Object memberwiseClone()