- Apr 13 Wed 2016 23:16
-
【SWT】SashForm
- Apr 07 Thu 2016 23:03
-
【jQuery】指定特定Button點擊事件-Visual Studio 2015
- Apr 06 Wed 2016 21:47
-
【jQuery】is not defined錯誤訊息-Visual Studio 2015

出現is not defined的錯誤訊息,原來是沒有在最前面定義(紅色部分自行改變,填版本)
<script type="text/javascript" language="javascript" src="Scripts/jquery-2.2.1.js"></script>
- Mar 22 Tue 2016 10:27
-
【D3.js】檔案找不到 錯誤
- Mar 20 Sun 2016 15:57
-
【jQuery UI】MVC使用jQuery UI的DialogBox-Visual Studio 2015
- Mar 18 Fri 2016 01:29
-
【D3.JS】繪製台灣地圖

<!doctype html>
<svg width="800px" height="600px" viewBox="0 0 800 600"></svg>
<script type="text/javascript" src="http://d3js.org/topojson.v1.min.js"></script>
<script src ="http://d3js.org/d3.v3.min.js"></script>
<script type="text/javascript" src="county.js"></script>
<script>
var features = topojson.feature(topodata, topodata.objects["county"]).features;
// 這裡要注意的是 topodata.objects["county"] 中的 "county" 為原本 shp 的檔名
var path = d3.geo.path().projection( // 路徑產生器
d3.geo.mercator().center([121,24]).scale(6000) // 座標變換函式
);
d3.select("svg").selectAll("path").data(features)
.enter().append("path").attr("d",path);
for(item=features.length - 1; item =0; item -- ) {
item.properties.density = data[item.properties.C_Name];
}
var color = d3.scale.linear().domain([0,10000]).range(["#090","#f00"]);
d3.select("svg").selectAll("path").data(features).attr({
d: path,
fill: function(d) {
return color(Math.random()*100);
}
});
</script>
- Mar 16 Wed 2016 20:15
-
【D3.js】Enter、Update 和 Exit
- Mar 15 Tue 2016 00:56
-
【D3.js】Access-Control-Allow-Origin 錯誤

前言:
對於讀資料,google chrom 一直出現錯誤,網路上範例明明就是直接寫" d3.json("project2_level.json",function(data){ "
- Mar 15 Tue 2016 00:07
-
【D3.js】Tree 範例
- Mar 14 Mon 2016 14:29
-
【Android】反編譯
- Mar 14 Mon 2016 13:53
-
【Android】防止反編譯
- Mar 14 Mon 2016 13:23
-
【Android】轉APK(圖解)-Eclipse





