在datawindow中的graph对象的柱状图上显示统计数据(解决问题送十倍的分)
原图:
|
| ---
| | |
| ---- | |
| | | | |
| | | | |
|-----------------------------------
在柱状图上能不能做到如下所示:
| 20
| ---
| 10 | |
| ---- | |
| | | | |
| | | | |
|-----------------------------------
必有重谢!
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