JS百分比圖與長條圖 v:* {behavior=url(#default#VML)}
a:hover {color:maroon}
h {color:maroon} 006600;
頂部邊距:0pt;
邊距底部:0
邊距底部:3pt}
h4 {顏色:#006600;
字型系列:Arial;
字體大小:10pt; 邊距底部:0pt}
h5 {顏色:# 006600;
頂部邊距:0pt;
下邊距:0 }
頭>
Sample Piechart
Random numbers drawn as a simple pie
One: 30
Two: 18
Three: 13
Four: 9
Five: 5
頭>
function 🎜>
function 🎜>
document.write("
" title "
");
}
函數generateRandomNumber(num) { }
函數plottablehead( val )
{
= docum
{
= docum.write 10 高度= 10 cellpadding = 0 cellspacing = 0>");
document.write("
" val "");
} {
document.write("
");
}
函數plotcolor(d, clr)
{ 1;i document.write("
plottabletail(); a=generateRandomNumber(50); (a, "藍色"); plottabletail(); a=generateRandomNumber(50); plottablehead( a ); plotcolor(aatail "綠色"); (); a=generateRandomNumber(50); a=generateRandomNumber(50); plottablehead( a ); plotcolor(a, "黃色"); plottabletail(); .5; plottablehead( a ); plotcolor(a, "灰色"); plottabletail(); a=generateRandomNumber(50); a, "午夜藍"); plottabletail(); //--> 腳本> 頭> 身體> 頭> 身體>
|