public interface BaseChartGlyph extends Glyph
限定符和类型 | 方法和说明 |
---|---|
void |
draw(java.awt.Graphics g,
int resolution)
画ChartGlyph,包括边框轮廓、外发光、标题文本等
|
boolean |
isRoundBorder() |
void |
setBounds(java.awt.geom.RectangularShape bounds)
设置矩形Glyph的边界
|
void |
setChartID(java.lang.String chartID) |
void |
setFontScale(double fontScale)
设置图表字体比例
|
void |
setUseChangeChart(boolean isUseChangeChart)
设置是否需要使用 切换控件
|
void |
setUseDragRefresh(boolean isRefresh)
是否使用系列拖拽刷新按钮
|
java.awt.Image |
toImage(int width,
int height,
int resolution)
按照指定的宽度、高度和分辨率将ChartGlyph转换为图片
|
java.awt.Image |
toImage(int width,
int height,
int resolution,
CallbackEvent chartDataEvent,
ChartDataParam param) |
java.util.Map |
toJSONMap(java.lang.String[] dependence,
double width,
double height,
Repository repo,
int sheetIndex,
java.lang.String ecName)
将ChartGlyph的属性等放入Map, 资源存入服务器.
|
java.util.Map |
toJSONMap4Change(ChangeConfigProvider changeConfigProvider,
BaseChartGlyph[] glyphs,
java.lang.String[] dependence,
double width,
double height,
Repository repo,
int sheetIndex,
java.lang.String ecName) |
java.util.Map |
toJSONMap4ChangeModel(BaseChartPainter painter,
double width,
double height,
Repository repo) |
getShape, selectableChildren, toJSONObject
clone
java.util.Map toJSONMap(java.lang.String[] dependence, double width, double height, Repository repo, int sheetIndex, java.lang.String ecName)
dependence
- chartGlyph依赖的控件参数width
- 图表chartGlyph的宽度height
- 图表chartGlyph的宽度repo
- 服务.sheetIndex
- sheet序号ecName
- ElementCase名字java.util.Map toJSONMap4Change(ChangeConfigProvider changeConfigProvider, BaseChartGlyph[] glyphs, java.lang.String[] dependence, double width, double height, Repository repo, int sheetIndex, java.lang.String ecName)
void draw(java.awt.Graphics g, int resolution)
void setBounds(java.awt.geom.RectangularShape bounds)
bounds
- 矩形边界java.util.Map toJSONMap4ChangeModel(BaseChartPainter painter, double width, double height, Repository repo)
java.awt.Image toImage(int width, int height, int resolution)
width
- 结果图片的宽度height
- 结果图片的高度resolution
- 分辨率java.awt.Image toImage(int width, int height, int resolution, CallbackEvent chartDataEvent, ChartDataParam param)
boolean isRoundBorder()
void setUseChangeChart(boolean isUseChangeChart)
isUseChangeChart
- 是否使用控件void setUseDragRefresh(boolean isRefresh)
isRefresh
- 是否使用按钮void setFontScale(double fontScale)
fontScale
- void setChartID(java.lang.String chartID)