Changed tweets, added eca
This commit is contained in:
		
							
								
								
									
										40
									
								
								demos/wordcloud_static/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								demos/wordcloud_static/index.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,40 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| <head> | ||||
| <title>Neca Test</title> | ||||
| <link rel="stylesheet" href="/style/layout.css"/> | ||||
| <link rel="stylesheet" href="/style/theme.css"/> | ||||
| <link rel="stylesheet" href="/style/wordcloud.css"/> | ||||
| <script src="/lib/jquery-2.1.1.min.js"></script> | ||||
| <script src="/lib/jquery.flot.min.js"></script> | ||||
| <script src="/lib/jquery.flot.categories.min.js"></script> | ||||
| <script src="/lib/jquery.flot.pie.js"></script> | ||||
| <script src="/lib/core.js"></script> | ||||
| <script src="/lib/charts.js"></script> | ||||
| <script src="/lib/jqcloud-1.0.4.js"></script> | ||||
| <script src="/lib/wordcloud.js"></script> | ||||
| <script src="/lib/tweets.js"></script> | ||||
| </head> | ||||
| <body class="container_12"> | ||||
| <h1>Word Cloud Dashboard</h1> | ||||
|  | ||||
| <div id="wolk" class="grid_12 vert_4"></div> | ||||
| <div id="taart" class="grid_6 vert_4"></div> | ||||
| <div id="balk" class="grid_6 vert_4"></div> | ||||
|  | ||||
| <script> | ||||
| block('#wolk').wordcloud({ | ||||
|     filter_function: function(cat, val, max) { | ||||
|         return val >= 3; // do not display words seen less than 3 times | ||||
|     } | ||||
| }); | ||||
| events.connect('word', '#wolk'); | ||||
|  | ||||
| block('#taart').piechart(); | ||||
| events.connect('taart', '#taart'); | ||||
|  | ||||
| block('#balk').barchart(); | ||||
| events.connect('balk', '#balk'); | ||||
| </script> | ||||
| </body> | ||||
| </html> | ||||
		Reference in New Issue
	
	Block a user