public class ChartSet extends Object
| 构造器 | 说明 |
|---|---|
ChartSet() |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
AlignType |
getAlignType() |
Get align type
|
int |
getBarWidth() |
Get bar width
|
ChartTypes |
getChartType() |
Get chart type
|
int |
getDecimalDigits() |
Get decimal digits
|
List<String> |
getFieldNames() |
Get field names
|
Color |
getLabelColor() |
Get label color
|
Font |
getLabelFont() |
Get label font
|
LegendScheme |
getLegendScheme() |
Get legend scheme
|
int |
getMaxSize() |
Get maximum size
|
float |
getMaxValue() |
Get maximum value
|
int |
getMinSize() |
Get minimum size
|
float |
getMinValue() |
Get minimum value
|
int |
getThickness() |
Get 3D thickness
|
int |
getXShift() |
Get x shift
|
int |
getYShift() |
Get y shift
|
boolean |
isAvoidCollision() |
Get if avoid collision
|
boolean |
isDrawCharts() |
Set if draw charts
|
boolean |
isDrawLabel() |
Get if draw label
|
boolean |
isView3D() |
Get if view 3D
|
void |
setAlignType(String tstr) |
Set align type
|
void |
setAlignType(AlignType type) |
Set align type
|
void |
setAvoidCollision(boolean istrue) |
Set if avoid collision
|
void |
setBarWidth(int width) |
Set bar width
|
void |
setChartType(String tstr) |
Set chart type
|
void |
setChartType(ChartTypes type) |
Set chart type
|
void |
setDecimalDigits(int value) |
Set decimal digits
|
void |
setDrawCharts(boolean istrue) |
Set if draw charts
|
void |
setDrawLabel(boolean value) |
Set if draw label
|
void |
setFieldNames(List<String> names) |
Set field names
|
void |
setLabelColor(Color value) |
Set label color
|
void |
setLabelFont(Font value) |
Set label font
|
void |
setLegendScheme(LegendScheme ls) |
Set legend scheme
|
void |
setMaxSize(int size) |
Set maximum size
|
void |
setMaxValue(float value) |
|
void |
setMinSize(int size) |
Set minimum size
|
void |
setMinValue(float value) |
Set minimum value
|
void |
setThickness(int value) |
Set 3D thickness
|
void |
setView3D(boolean istrue) |
Set if view 3D
|
void |
setXShift(int shift) |
Set x shift
|
void |
setYShift(int shift) |
Set y shift
|
void |
update() |
Update - avoid the disagree of field names and legend scheme
|
public ChartTypes getChartType()
public void setChartType(ChartTypes type)
type - Chart typepublic void setChartType(String tstr)
tstr - Chart type stringpublic boolean isDrawCharts()
public void setDrawCharts(boolean istrue)
istrue - If draw chartspublic void setFieldNames(List<String> names)
names - Field namespublic int getXShift()
public void setXShift(int shift)
shift - X shiftpublic int getYShift()
public void setYShift(int shift)
shift - Y shiftpublic LegendScheme getLegendScheme()
public void setLegendScheme(LegendScheme ls)
ls - The legend schemepublic int getMaxSize()
public void setMaxSize(int size)
size - Maximum sizepublic int getMinSize()
public void setMinSize(int size)
size - Minimum sizepublic float getMaxValue()
public void setMaxValue(float value)
public float getMinValue()
public void setMinValue(float value)
value - Minimum valuepublic int getBarWidth()
public void setBarWidth(int width)
width - Bar widthpublic boolean isAvoidCollision()
public void setAvoidCollision(boolean istrue)
istrue - If avoid collisionpublic AlignType getAlignType()
public void setAlignType(AlignType type)
type - Align typepublic void setAlignType(String tstr)
tstr - Align type stringpublic boolean isView3D()
public void setView3D(boolean istrue)
istrue - If view 3Dpublic int getThickness()
public void setThickness(int value)
value - 3D thicknesspublic boolean isDrawLabel()
public void setDrawLabel(boolean value)
value - Booleanpublic Font getLabelFont()
public void setLabelFont(Font value)
value - Label fontpublic Color getLabelColor()
public void setLabelColor(Color value)
value - Label colorpublic int getDecimalDigits()
public void setDecimalDigits(int value)
value - Decimal digitspublic void update()
Copyright © 2019. All rights reserved.