%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/workflow/src/public/app-assets/js/scripts/charts/echarts/advance/
Upload File :
Create Path :
Current File : /home/opti/workflow/src/public/app-assets/js/scripts/charts/echarts/advance/word-cloud.min.js

/*!
 * stack-admin-theme (https://pixinvent.com/bootstrap-admin-template/stack)
 * Copyright 2018 PIXINVENT
 * Licensed under the Themeforest Standard Licenses
 */
$(window).on("load",function(){require.config({paths:{echarts:"../../../app-assets/vendors/js/charts/echarts"}}),require(["echarts","echarts/chart/wordCloud"],function(ec){function createRandomItemStyle(){return{normal:{color:"rgb("+[Math.round(160*Math.random()),Math.round(160*Math.random()),Math.round(160*Math.random())].join(",")+")"}}}var myChart=ec.init(document.getElementById("word-cloud"));chartOptions={tooltip:{show:!0},series:[{name:"Google Trends",type:"wordCloud",size:["80%","80%"],textRotation:[0,45,90,-45],textPadding:0,autoSize:{enable:!0,minSize:14},data:[{name:"Sam S Club",value:1e4,itemStyle:{normal:{color:"black"}}},{name:"Macys",value:6181,itemStyle:createRandomItemStyle()},{name:"Amy Schumer",value:4386,itemStyle:createRandomItemStyle()},{name:"Jurassic World",value:4055,itemStyle:createRandomItemStyle()},{name:"Charter Communications",value:2467,itemStyle:createRandomItemStyle()},{name:"Chick Fil A",value:2244,itemStyle:createRandomItemStyle()},{name:"Planet Fitness",value:1898,itemStyle:createRandomItemStyle()},{name:"Pitch Perfect",value:1484,itemStyle:createRandomItemStyle()},{name:"Express",value:1112,itemStyle:createRandomItemStyle()},{name:"Home",value:965,itemStyle:createRandomItemStyle()},{name:"Johnny Depp",value:847,itemStyle:createRandomItemStyle()},{name:"Lena Dunham",value:582,itemStyle:createRandomItemStyle()},{name:"Lewis Hamilton",value:555,itemStyle:createRandomItemStyle()},{name:"KXAN",value:550,itemStyle:createRandomItemStyle()},{name:"Mary Ellen Mark",value:462,itemStyle:createRandomItemStyle()},{name:"Farrah Abraham",value:366,itemStyle:createRandomItemStyle()},{name:"Rita Ora",value:360,itemStyle:createRandomItemStyle()},{name:"Serena Williams",value:282,itemStyle:createRandomItemStyle()},{name:"NCAA baseball tournament",value:273,itemStyle:createRandomItemStyle()},{name:"Point Break",value:265,itemStyle:createRandomItemStyle()}]}]},myChart.setOption(chartOptions),$(function(){function resize(){setTimeout(function(){myChart.resize()},200)}$(window).on("resize",resize),$(".menu-toggle").on("click",resize)})})});

Zerion Mini Shell 1.0