com.supermap.mapping.dyn
类 DynamicChart
- java.lang.Object
-
- com.supermap.mapping.dyn.DynamicElement
-
- com.supermap.mapping.dyn.DynamicChart
-
- 直接已知子类:
- DynBarChart, DynLineChart, DynPieChart
public abstract class DynamicChart extends DynamicElement
动态层图表基类。
-
-
嵌套类概要
-
从类继承的嵌套类/接口 com.supermap.mapping.dyn.DynamicElement
DynamicElement.ElementType, DynamicElement.OnClickListener, DynamicElement.OnDownAndUpListener, DynamicElement.OnLongPressListener
-
-
构造器概要
构造器 构造器和说明 DynamicChart()构造函数。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 intgetAxesColor()获取坐标轴颜色。intgetChartHeight()获取图表高度。java.lang.StringgetChartTile()获取标题。intgetChartWidth()获取图表宽度。booleanisShowGridX()获取是否显示网格X。booleanisShowGridY()获取是否显示网格Y。voidsetAxesColor(int axesColor)设置坐标轴颜色。voidsetChartSize(int width, int height)设置图表大小。voidsetChartTile(java.lang.String chartTile, int color, float textSize)设置图表标题、颜色和字体大小。voidsetShowGrid(boolean isShowGridX, boolean isShowGridY)设置是否显示网格。-
从类继承的方法 com.supermap.mapping.dyn.DynamicElement
addAnimator, addPoint, dispose, fromGeometry, getBounds, getGeoPoints, getID, getMinShowScale, getName, getNameColor, getNameOffsetX, getNameOffsetY, getNamePosition, getNameSize, getNameTextAlign, getOnDownAndUpListener, getOnLongPressListener, getPart, getStyle, getTag, getType, getUserData, isNameVisible, setMinShowScale, setName, setNameColor, setNameOffsetX, setNameOffsetY, setNamePosition, setNameSize, setNameTextAlign, setNameVisible, setOnClickListenner, setOnDownAndUpListener, setOnLongPressListener, setStyle, setTag, setUserData, updatePoint
-
-
-
-
方法详细资料
-
getAxesColor
public int getAxesColor()
获取坐标轴颜色。- 返回:
- 坐标轴颜色。
-
setAxesColor
public void setAxesColor(int axesColor)
设置坐标轴颜色。- 参数:
axesColor- 坐标轴颜色。
-
setChartSize
public void setChartSize(int width, int height)设置图表大小。- 参数:
width- 图表宽度,单位为像素。height- 图表高度,单位为像素。
-
getChartWidth
public int getChartWidth()
获取图表宽度。- 返回:
- 图表宽度,单位为像素。
-
getChartHeight
public int getChartHeight()
获取图表高度。- 返回:
- 图表高度,单位为像素。
-
getChartTile
public java.lang.String getChartTile()
获取标题。- 返回:
- 标题。
-
setChartTile
public void setChartTile(java.lang.String chartTile, int color, float textSize)设置图表标题、颜色和字体大小。- 参数:
chartTile- 标题。color- 颜色。textSize- 字体大小。
-
setShowGrid
public void setShowGrid(boolean isShowGridX, boolean isShowGridY)设置是否显示网格。- 参数:
isShowGridX- 是否显示X轴网格。isShowGridY- 是否显示Y轴网格。
-
isShowGridX
public boolean isShowGridX()
获取是否显示网格X。- 返回:
- 是否显示网格X。
-
isShowGridY
public boolean isShowGridY()
获取是否显示网格Y。- 返回:
- 是否显示网格Y。
-
-