在datawindow中的graph对象的柱状图上显示统计数据(解决问题送十倍的分)

原图:
|
| ---
| | |
| ---- | |
| | | | |
| | | | |
|-----------------------------------
在柱状图上能不能做到如下所示:
| 20
| ---
| 10 | |
| ---- | |
| | | | |
| | | | |
|-----------------------------------
必有重谢!
[297 byte] By [jaguarcts-xzh2000] at [2008-6-10]
# 1
在每个柱的顶部显示该分类的数量,但分类的数量不定!
jaguarcts-xzh2000 at 2007-10-25 > top of Msdn China Tech,PowerBuilder,DataWindow...
# 2
我也想知道答案!我贴过同样的贴,没人回答!
# 3
关注,加上出一个变通的主意:
其实在柱图上加值不是很实用,GR是会随数据多少而调整大小的,字大了叠在一起,字小了看不清,我是用右击时把值取出进行显示,可见PB的例子
llitcwl-中国龙 at 2007-10-25 > top of Msdn China Tech,PowerBuilder,DataWindow...
# 4
如何进行右击显示数据?
有例子发一个给我好吗?
jaguarctsx@sina.com
jaguarcts-xzh2000 at 2007-10-25 > top of Msdn China Tech,PowerBuilder,DataWindow...
# 5
double data_value

grObjectType MouseHit

st_msg.move(xpos + this.x + 50 , ypos + this.y + 50 )
MouseHit = this.ObjectAtPointer(xpos, ypos)

IF MouseHit = TypeSeries! or MouseHit = TypeData! THEN
data_value = this.GetData(xpos, ypos)
st_msg.text = string(data_value)
st_msg.visible = true
END IF
zhanwei-@_@,初学.Net at 2007-10-25 > top of Msdn China Tech,PowerBuilder,DataWindow...
# 6
9494
llitcwl-中国龙 at 2007-10-25 > top of Msdn China Tech,PowerBuilder,DataWindow...