DataWindow

¹®Á¦

±×·¡ÇÁ¿¡ Ä¿¼­À§Ä¡½Ã dz¼±µµ¿ò¸» ³ªÅ¸³»±â

ÇØ°á

grObjectType    ClickedObject
string          ls_grgraphname="µ¥ÀÌŸ ¿øµµ¿ì À̸§(dw_1ÀÌ ¾Æ´Ï¶ó gr_1ÀÓ)"
string          ls_xdata
int             li_series, li_category, li_first

ClickedObject = this.ObjectAtPointer (ls_grgraphname, li_series,li_category)
 
If ClickedObject = TypeData! Then
        if li_first=0 then
        ls_xdata = this.CategoryName (ls_grgraphname, li_category)

        SELECT a_name        //µ¥ÀÌŸ¿¡ ¸Â´Â °ªÀ» Ç¥ÇöÇϱâ À§ÇÑ select¹®
          INTO :ls_xdate
          FROM aaa
         WHERE a_code = :ls_xdate;
                  
   ls_xdata = Trim(ls_xdata)+":"+string(this.GetData(ls_grgraphname,&
                                    li_series, li_category),"###,##0")
                          //dz¼± tip¿¡ ³ªÅ¸³ª°Ô µÇ´Â ³»¿ëÀÓ
   st_value.text=ls_xdata
        st_value.x = parent.PointerX()
        st_value.y = parent.PointerY() - 65
        st_value.width=len(ls_xdata) * 30
        st_value.visible = true
        li_first=1
   end if
else
        st_value.visible = false
        li_first=0
End If

 

ÂüÁ¶