• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • ASP生成柱型體,折線圖,餅圖源代碼

    發表于:2007-07-14來源:作者:點擊數: 標簽:
    % function table2(total,table_x,table_y,all_width,all_height,line_no) ’參數含義(傳遞的數組,橫坐標,縱坐標,圖表的寬度,圖表的高度,折線條數) ’純ASP代碼生成圖表函數2——折線圖 ’作者:龔鳴(Passwordgm) QQ :25968152MSN:passwordgm@sina.comEm
    <%
    function table2(total,table_x,table_y,all_width,all_height,line_no)
    ’參數含義(傳遞的數組,橫坐標,縱坐標,圖表的寬度,圖表的高度,折線條數)
    ’純ASP代碼生成圖表函數2——折線圖
    ’作者:龔鳴(Passwordgm) QQ:25968152 MSN:passwordgm@sina.com Email:passwordgm@sina.com
    ’本人非常愿意和ASP,VML,FLASH的愛好者在HTTP://topclouds.126.com進行交流和探討
    ’版本1.0 最后修改日期 2003-8-11
    ’非常感謝您使用這個函數,請您使用和轉載時保留版權信息,這是對作者工作的最好的尊重。

    line_color="#69f"
    left_width=70
    total_no=ubound(total,1)

    temp1=0
    for i=1 to total_no
    for j=1 to line_no
    if temp1<total(i,j) then temp1=total(i,j)
    next
    next
    temp1=int(temp1)
    if temp1>9 then
    temp2=mid(cstr(temp1),2,1)
    if temp2>4 then
    temp3=(int(temp1/(10^(len(cstr(temp1))-1)))+1)*10^(len(cstr(temp1))-1)
    else
    temp3=(int(temp1/(10^(len(cstr(temp1))-1)))+0.5)*10^(len(cstr(temp1))-1)
    end if
    else
    if temp1>4 then temp3=10 else temp3=5
    end if
    temp4=temp3
    response.write "<v:rect id='_x0000_s1027' alt='' style='position:absolute;left:"&table_x+left_width&"px;top:"&table_y&"px;width:"&all_width&"px;height:"&all_height&"px;z-index:-1' fillcolor='#9cf' stroked='f'><v:fill rotate='t' angle='-45' focus='100%' type='gradient'/></v:rect>"
    for i=0 to all_height-1 step all_height/5
    response.write "<v:line id='_x0000_s1027' alt='' style='position:absolute;left:0;text-align:left;top:0;flip:y;z-index:-1' from='"&table_x+left_width+length&"px,"&table_y+all_height-length-i&"px' to='"&table_x+all_width+left_width&"px,"&table_y+all_height-length-i&"px' strokecolor='"&line_color&"'/>"
    response.write "<v:line id='_x0000_s1027' alt='' style='position:absolute;left:0;text-align:left;top:0;flip:y;z-index:-1' from='"&table_x+(left_width-15)&"px,"&table_y+i&"px' to='"&table_x+left_width&"px,"&table_y+i&"px'/>"
    response.write ""
    response.write "<v:shape id='_x0000_s1025' type='#_x0000_t202' alt='' style='position:absolute;left:"&table_x&"px;top:"&table_y+i&"px;width:"&left_width&"px;height:18px;z-index:1'>"
    response.write "<v:textbox inset='0px,0px,0px,0px'><table cellspacing='3' cellpadding='0' width='100%' height='100%'><tr><td align='right'>"&temp4&"</td></tr></table></v:textbox></v:shape>"
    temp4=temp4-temp3/5
    next
    response.write "<v:line id='_x0000_s1027' alt='' style='position:absolute;left:0;text-align:left;top:0;flip:y;z-index:-1' from='"&table_x+left_width&"px,"&table_y+all_height&"px' to='"&table_x+all_width+left_width&"px,"&table_y+all_height&"px'/>"
    response.write "<v:line id='_x0000_s1027' alt='' style='position:absolute;left:0;text-align:left;top:0;flip:y;z-index:-1' from='"&table_x+left_width&"px,"&table_y&"px' to='"&table_x+left_width&"px,"&table_y+all_height&"px'/>"

    dim line_code
    redim line_code(line_no,5)
    for i=1 to line_no

    本新聞共8頁,當前在第1頁  1  2  3  4  5  6  7  8  

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>