get the 各个时间段内的数据变化 so get an int of Array!
and then do the following:
drawPolyline
public abstract void drawPolyline(int[] xPoints,
int[] yPoints,
int nPoints)Draws a sequence of connected lines defined by arrays of x and y coordinates. Each pair of (x, y) coordinates defines a point. The figure is not closed if the first point differs from the last point.
Parameters:
xPoints - an array of x points
yPoints - an array of y points
nPoints - the total number of points
Since:
JDK1.1
See Also:
drawPolygon(int[], int[], int)
and then do the following:
drawPolyline
public abstract void drawPolyline(int[] xPoints,
int[] yPoints,
int nPoints)Draws a sequence of connected lines defined by arrays of x and y coordinates. Each pair of (x, y) coordinates defines a point. The figure is not closed if the first point differs from the last point.
Parameters:
xPoints - an array of x points
yPoints - an array of y points
nPoints - the total number of points
Since:
JDK1.1
See Also:
drawPolygon(int[], int[], int)
解决方案 »
- JAVA中如何判断一个输入是数字还是字符串?
- java 程序如何做加密狗呢?
- Jprogress 问题
- 求助:用java如何在word中插入表格
- Collection的addall()方法
- 菜鸟提问,一个String的对象怎么和空值比较啊?
- 请问在文本框中用拉方法text.setEchoChar('*');设置成修改显示出来的密码!要还原是怎么做或使用什么方法
- 我走了
- 请问JB怎么运行带命令行参数的程序?
- 一个很简单的问题,但是很着急,在线等待!
- 如何才能顺利的通过SCJP?高分!!!!!!!!!!!
- 请问:在TextField中,如何在它一呈现出来时,他的文本输入域就有一个光标停留,可以直接输入字符
drawLine(...);//java.awt.Graphics的方法!