public class DynLineChart extends DynamicChart
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DynLineChart.LineChartType
折线图表的类型,分为直线和曲线。
|
static class |
DynLineChart.ValuePointStyle
折线图表上,值点的风格。
|
DynamicElement.ElementType, DynamicElement.OnClickListener, DynamicElement.OnDownAndUpListener, DynamicElement.OnLongPressListener| 构造器和说明 |
|---|
DynLineChart()
构造一个新的动态层折线图表对象。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addChartData(java.lang.String tile,
double[] points,
int pointColor,
float lineWidth,
DynLineChart.ValuePointStyle pointStyle)
添加图表数据。
|
void |
addChartData(java.lang.String tile,
double[] points,
int pointColor,
float lineWidth,
DynLineChart.ValuePointStyle pointStyle,
boolean display)
添加图表数据
|
boolean |
fromGeometry(Geometry geometry)
通过Geometry构造动态层折线图表对象。
|
DynLineChart.LineChartType |
getLineChartType()
获取折线图表类型。
|
java.lang.String |
getXTitle()
获取X坐标轴标题。
|
java.lang.String |
getYTitle()
获取Y坐标轴标题。
|
void |
setLineChartType(DynLineChart.LineChartType lineChartType)
设置折线图表类型。
|
void |
setXAxisLabel(int x,
java.lang.String lable)
设置X轴坐标点标签。
|
void |
setXTitle(java.lang.String xTitle)
设置X坐标轴标题。
|
void |
setYAxisLabel(int y,
java.lang.String lable)
设置Y轴坐标点标签。
|
void |
setYTitle(java.lang.String yTitle)
设置Y坐标轴标题。
|
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 setXAxisLabel(int x,
java.lang.String lable)
x - X值。lable - 标签。public void setYAxisLabel(int y,
java.lang.String lable)
y - Y值。lable - 标签。public void addChartData(java.lang.String tile,
double[] points,
int pointColor,
float lineWidth,
DynLineChart.ValuePointStyle pointStyle)
tile - 数据标题。points - 数值,即折线图上的点数据。pointColor - 折线图上的点和折线颜色。lineWidth - 折线线宽pointStyle - 折线图上的点的风格,如正方形,三角形,圆形等。public void addChartData(java.lang.String tile,
double[] points,
int pointColor,
float lineWidth,
DynLineChart.ValuePointStyle pointStyle,
boolean display)
tile - 数据标题points - 数值,即折线图上的点数据pointColor - 折线图上的点和折线颜色lineWidth - 折线线宽pointStyle - 折线图上的点的风格,如正方形,三角形,圆形等display - 是否显示数值。public java.lang.String getXTitle()
public void setXTitle(java.lang.String xTitle)
xTitle - X坐标轴标题。public java.lang.String getYTitle()
public void setYTitle(java.lang.String yTitle)
yTitle - Y坐标轴标题。public DynLineChart.LineChartType getLineChartType()
public void setLineChartType(DynLineChart.LineChartType lineChartType)
lineChartType - 折线图表类型。public boolean fromGeometry(Geometry geometry)
fromGeometry 在类中 DynamicElementgeometry - 地理元素。