ChartLegend
内容
[
隐藏
]遗产: java.lang.Object
所有已实现的接口: java.lang.Cloneable
public class ChartLegend implements Cloneable
表示图表图例属性。
要了解更多信息,请访问Working with Charts文档文章。
构造器
| 构造函数 | 描述 |
|---|---|
| ChartLegend() | 初始化一个新的实例ChartLegend班级。 |
方法
| 方法 | 描述 |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getLegendEntries() | 返回父图表的所有系列和趋势线的图例条目集合。 |
| getOverlay() | 确定是否允许其他图表元素与图例重叠。 |
| getPosition() | 指定图例在图表上的位置。 |
| hashCode() | |
| notify() | |
| notifyAll() | |
| setOverlay(boolean value) | 确定是否允许其他图表元素与图例重叠。 |
| setPosition(int value) | 指定图例在图表上的位置。 |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
ChartLegend()
public ChartLegend()
初始化一个新的实例ChartLegend班级。
equals(Object arg0)
public boolean equals(Object arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
退货: 布尔值
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getLegendEntries()
public ChartLegendEntryCollection getLegendEntries()
返回父图表的所有系列和趋势线的图例条目集合。
退货: ChartLegendEntryCollection - 父图表所有系列和趋势线的图例条目集合。
getOverlay()
public boolean getOverlay()
确定是否允许其他图表元素与图例重叠。默认值为假。
退货: boolean - 相应的布尔值。
getPosition()
public int getPosition()
指定图例在图表上的位置。默认值为LegendPosition.RIGHT.
退货: int - 相应的 int 值。返回值是其中之一LegendPosition常数。
hashCode()
public native int hashCode()
退货: 整数
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setOverlay(boolean value)
public void setOverlay(boolean value)
确定是否允许其他图表元素与图例重叠。默认值为假。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| value | boolean | 对应的布尔值。 |
setPosition(int value)
public void setPosition(int value)
指定图例在图表上的位置。默认值为LegendPosition.RIGHT.
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| value | int | 对应的int值。该值必须是其中之一LegendPosition常数。 |
toString()
public String toString()
退货: java.lang.字符串
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |