public class DynPieChart extends DynamicChart
DynamicElement.ElementType, DynamicElement.OnClickListener, DynamicElement.OnDownAndUpListener, DynamicElement.OnLongPressListener| 构造器和说明 |
|---|
DynPieChart()
构造一个新的动态层饼图图表对象。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addChartData(java.lang.String[] tiles,
double[] pieValues,
int[] pieColors)
添加图表数据。
|
void |
addChartData(java.lang.String tile,
double pieValue,
int pieColor)
添加图表数据。
|
boolean |
fromGeometry(Geometry geometry)
通过Geometry构造动态层饼图图表对象。
|
boolean |
isChartElementClickable()
获取图表元素是否可单击。
|
void |
setChartElementClickable(boolean isChartElementClickable)
设置图表元素是否可单击。
|
getAxesColor, getChartHeight, getChartTile, getChartWidth, isShowGridX, isShowGridY, setAxesColor, setChartSize, setChartTile, setShowGridaddAnimator, addPoint, dispose, getBounds, getGeoPoints, getID, getMinShowScale, getOnDownAndUpListener, getOnLongPressListener, getPart, getStyle, getTag, getType, getUserData, setMinShowScale, setOnClickListenner, setOnDownAndUpListener, setOnLongPressListener, setStyle, setTag, setUserData, updatePointpublic void addChartData(java.lang.String tile,
double pieValue,
int pieColor)
tile - 数据标题。pieValue - 数值,即饼数据。pieColor - 饼颜色。public void addChartData(java.lang.String[] tiles,
double[] pieValues,
int[] pieColors)
tiles - 数据标题数组,数量必须和饼数据数量一致。pieValues - 数值,即饼数据, 数量必须和标题数组数量一致。pieColors - 饼颜色,当颜色数量少于数值数量时,使用重复的颜色。public boolean isChartElementClickable()
public void setChartElementClickable(boolean isChartElementClickable)
isChartElementClickable - 图表元素是否可单击。public boolean fromGeometry(Geometry geometry)
fromGeometry 在类中 DynamicElementgeometry - 地理元素。