Topic: java 绘图问题

  Print this page

1.java 绘图问题 Copy to clipboard
Posted by: wewe8866
Posted on: 2006-09-21 10:17

从数据库读取一系列的坐标点,(非整数)要把这些坐标点用直线连接起来,并显示,要求比例正常,无放大缩小,在网页中显示/
java库中好像没有非整数的绘图方法,如有请告知,
或者在jsp页面中使用javascrip??用什么方法??
或者还有其他捷径???
困扰很长时间的问题,求各位帮忙~~

2.Re:java 绘图问题 [Re: wewe8866] Copy to clipboard
Posted by: lisliefor
Posted on: 2006-09-21 10:33

wewe8866 wrote:
java库中好像没有非整数的绘图方法,如有请告知,


You can enlarge the data pro rata !

wewe8866 wrote:
或者在jsp页面中使用javascrip??用什么方法??


Add applet to jsp !

3.Re:java 绘图问题 [Re: wewe8866] Copy to clipboard
Posted by: wewe8866
Posted on: 2006-09-22 16:16

就是不想扩大数据,因为数据放大后,出图肯定就大,如何去缩回原来的大小,因为要做标准的图形,需要一比一的比例,
要么什么把图形类型转换成可以在客户端随意放大缩小一定倍数的(要有数值比例的)?
关于javascript,由于没使用过,不知如何实现,是不是更好??

4.Re:java 绘图问题 [Re: wewe8866] Copy to clipboard
Posted by: lisliefor
Posted on: 2006-09-25 11:49

Actually you can set the axis of coordinates enlager, so you need not to enlage picture . just like if the date enlage 10 times larger and your axis of coordinates' setting enlage 10 times larger .
About javascript , are you sure that it can paint ?
Applet ? Do you write before?
Maybe you need to find some example !
Google please !!


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923