canvas畫餅圖

<style> body {     background: black;     text-align: center; } #cans {     background: white; } </style> <script> function disToRad(n){//將度數表示弧度計算的方法 return n*Math.PI/180;//π用PI表示,π=180°,所以1°=PI/180
相關文章
相關標籤/搜索