newmediamonitoring/monitor/static/monitor/js/ciyuntu.js

55 lines
15 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

onload = function () {
$.getJSON('/monitor/comment/on/interactive/monitoring/json/', function (res) {
console.log(res.res)
var data = {
value: res.res,
//图片
// image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAADICAYAAADvG90JAAAWNElEQVR4Xu2dedS/5ZzHX/6YmVJRKi1ojwqjydaqIilJacgkhFSYM5UkSyiFSpaypIXRiJBjyJqTZBjLjL2hxZpMRqEkSxznzJz3dH1PT0/P83zv5bqv5b7fn3O+5+l3uu/r8/m8r/t9L9f1We6GxQgYgeoQuFt1FttgI2AEMHF9ERiBChEwcSucNJtsBExcXwNGoEIETNwKJ80mGwET19dAbAS2BDYNv/sA9wLWAtYEVpuj7M/Ab8LvZuB64Mrw+3lsQ2sez8Stefby2r4TsBtw/wVEve+AJv0C+BxwOfAZ4GcD6ip+aBO3+CkqxsB1gKcBewK7Aqtntuwa4JPA24CfZLYluXoTNznkVSlcA/h74OnAYwq2/ELgNcBVBdsY1TQTNyqcoxnsAcAxgbB3r8grvUafCVxckc2dTDVxO8E22pM2CRf+Eyv38EvAUcA3KvdjWfNN3LHObHu/TgJe2f60os/Q6/PYfPp/wE3coq+7JMZtD7wf0NN2jPKFsKimraXSZGNgL+BfgNvaGGfitkFrfMe+FDhlfG7dxaNbgBcAWsTKLdrXfirwDGAH4BHA19oaZeK2RWwcx2vB6WOFrxQPgfR5wOFDDDxnTAWePBn4h/CEnR1+EPCBLvYMQdytp7Qs3wX0As5RIMPuBdiRw4QvA/uE6Kyh9e8NHBy21FZZpExrCid0NWAI4upOrjvM/sCtXQ3zeYMhoK2S2leN+4KjMMpdgJv6DrTE+YooU6CKnqYK9VxKPgQc2Ed3bOJuGOJLZdN3wmuBQtUsZSBwLnBYGaZkt+KK8NYRg7wK+3xm+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K76m43t8nGWRmQvP7WkSNMWedwT3jpFCcL0tc/5dPMkgBtGDEbnE7bEoKtQ/X/+nTXAZRN+8Wc64Y3wLdBaMf+e4K7n5Gr8Vuxs0xGEUMtL64dqpIoSi4rVOofbg+i09KsQpCKrG2dIvf16rgjsH1mXyayyCarOiBSXxzjTwzyv3p06fh2XxwVx//d+kJhAcHB8OjaXQGmWVjIxmkImioMTswxcLOTdRdNUwB4XcPgWn5c9yNKINUBlGLL99quzoXzI0a7y0XftSLVRk0WkzCUjjW0CvFxEUmDsoc01AEqRgaMtHk69evw5E4qDOoMULTGKEIUjUUoUST8/Pz4Ug41Bm8h8wRhyJIIxBNGKj79u3bcMQPdQammKOnZ8kogjQCDZ3lUZ8/fz4ccUM6dXt72xtK5khHBmkIumOZ8sEYABFiGwpwCntMRN0ibFCK1Thjj1STt7M2gAwihAelWEJ4kEGE8CCDCOFBNUhFMKD35s2b4VkeGDhUL9d0ZJCKoEcqdH3gUKre7qxClGIJ4UEGEcKDDCKEBxlECA8yiBAeZBAhPMggQniQQYTwIIMI4UEGEcKDpppUBHOxcq9wyDwszcWajgwihAelWEJ4kEGE8CCDCOFBBhHCgwwihAcZRAgPMogQHmQQIXay2fwPRgwKqT8PICAAAAAASUVORK5CYII="
}
var myChart = echarts.init(document.getElementById('main'));
//温馨提示image 选取有严格要求不可过大否则firefox不兼容 iconfont上面的图标可以
var maskImage = new Image();
maskImage.src = data.image
maskImage.onload = function () {
myChart.setOption({
backgroundColor: '#fff',
tooltip: {
show: false
},
series: [{
type: 'wordCloud',
gridSize: 1,
sizeRange: [12, 55],
rotationRange: [-45, 0, 45, 90],
maskImage: maskImage,
textStyle: {
normal: {
color: function () {
return 'rgb(' +
Math.round(Math.random() * 255) +
', ' + Math.round(Math.random() * 255) +
', ' + Math.round(Math.random() * 255) + ')'
}
}
},
left: 'center',
top: 'center',
// width: '96%',
// height: '100%',
right: null,
bottom: null,
// width: 300,
// height: 200,
// top: 20,
data: data.value
}]
})
}
})
}