summaryrefslogtreecommitdiffstats
path: root/usecaseui-common/src/main/webapp/app/fusion/external/samples/html/js/worddata.min.js
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-03 10:17:22 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-03 10:18:08 +0800
commit3c3840524ee11c1385045e9801918bcb05b71fb5 (patch)
treea159deba4778f796d084b2e3b8d75444244f086d /usecaseui-common/src/main/webapp/app/fusion/external/samples/html/js/worddata.min.js
parent19abe2af19ba49073949f8254aec897afe7bb303 (diff)
feat: delete useless modules and update tomcat version
Change-Id: I38d0c0b65cf210074c7222a535f1b3d7c150f53d Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-common/src/main/webapp/app/fusion/external/samples/html/js/worddata.min.js')
-rw-r--r--usecaseui-common/src/main/webapp/app/fusion/external/samples/html/js/worddata.min.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/usecaseui-common/src/main/webapp/app/fusion/external/samples/html/js/worddata.min.js b/usecaseui-common/src/main/webapp/app/fusion/external/samples/html/js/worddata.min.js
deleted file mode 100644
index 6b827460..00000000
--- a/usecaseui-common/src/main/webapp/app/fusion/external/samples/html/js/worddata.min.js
+++ /dev/null
@@ -1 +0,0 @@
-function dataViz(t){function e(t){var e=d3.select("svg").append("g").attr("id","wordCloudG").attr("transform","translate(210,175)");e.selectAll("text").data(t).enter().append("text").style("font-size",function(t){return 1*t.size+"px"}).style("fill",function(t){return keywords.indexOf(t.text)>-1?"red":"black"}).style("opacity",.75).attr("text-anchor","middle").attr("transform",function(t){return"translate("+[t.x,t.y]+")rotate("+t.rotate+")"}).text(function(t){return t.text})}d3.layout.cloud().size([420,350]).words(t).rotate(function(t){return t.text.length>5?0:90}).fontSize(function(t){return wordScale(t.frequency)}).on("end",e).start()}d3.csv(dataURL,function(t){dataViz(t)}),wordScale=d3.scale.linear().domain([0,100]).range([0,70]).clamp(!0); \ No newline at end of file