public class SeriesLegend extends Object
| 构造器 | 说明 |
|---|---|
SeriesLegend() |
Constructor
|
SeriesLegend(int n) |
Constructor
|
SeriesLegend(ColorBreak cb) |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
addLegendBreak(ColorBreak cb) |
Add a legend break
|
int |
getBreakNum() |
Get legend break number
|
Color |
getErrorColor() |
Get error color
|
ColorBreak |
getLegendBreak() |
Get a legend break
|
ColorBreak |
getLegendBreak(int idx) |
Get a legend break
|
ChartPlotMethod |
getPlotMethod() |
Get plot method
|
boolean |
isLine() |
Get if the legend is PolylineBreak
|
boolean |
isMutiple() |
Get if if mutiple legend breaks
|
boolean |
isPoint() |
Get if the legend is PointBreak
|
boolean |
isPolygon() |
Get if the legend is PolygonBreak
|
void |
setErrorColor(Color value) |
Set error color
|
void |
setLegendBreak(int idx,
ColorBreak cb) |
Set legend break
|
void |
setLegendBreak(ColorBreak cb) |
Set legend break
|
void |
setPlotMethod(ChartPlotMethod value) |
Set plot method
|
public SeriesLegend()
public SeriesLegend(ColorBreak cb)
cb - ColorBreakpublic SeriesLegend(int n)
n - Break numberpublic ChartPlotMethod getPlotMethod()
public void setPlotMethod(ChartPlotMethod value)
value - Plot methodpublic boolean isPoint()
public boolean isLine()
public boolean isPolygon()
public boolean isMutiple()
public ColorBreak getLegendBreak()
public void setLegendBreak(ColorBreak cb)
cb - Legend breakpublic ColorBreak getLegendBreak(int idx)
idx - Indexpublic void setLegendBreak(int idx,
ColorBreak cb)
idx - Indexcb - Legend breakpublic Color getErrorColor()
public void setErrorColor(Color value)
value - Error colorpublic void addLegendBreak(ColorBreak cb)
cb - Legend breakpublic int getBreakNum()
Copyright © 2019. All rights reserved.