活跃详情IP增加排序,界面图表园姐增加蓝色风格颜色
This commit is contained in:
@@ -1199,23 +1199,19 @@ function echart_topic_domain(rs){
|
||||
var domainNum=t.byteCount;
|
||||
unit=changeUnit(domainNum);
|
||||
domainNum=changeNum(domainNum);
|
||||
data.push({
|
||||
'id': '2.'+t.webId,
|
||||
'parent': '1.'+d.topicId,
|
||||
'name': t.domain,
|
||||
'value':parseFloat(domainNum)
|
||||
});
|
||||
if(domainNum>0){
|
||||
data.push({
|
||||
'id': '2.'+t.webId,
|
||||
'parent': '1.'+d.topicId,
|
||||
'name': t.domain,
|
||||
'value':parseFloat(domainNum)
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
});
|
||||
|
||||
|
||||
// Splice in transparent for the center circle
|
||||
Highcharts.getOptions().colors.splice(0, 0, 'transparent');
|
||||
|
||||
|
||||
var chart = Highcharts.chart('chart_topic', {
|
||||
|
||||
chart: {
|
||||
backgroundColor: 'rgba(255, 255, 255, 0)',
|
||||
plotBackgroundColor:null,
|
||||
@@ -1246,7 +1242,11 @@ function echart_topic_domain(rs){
|
||||
buttons: exportingButton('#6e6379')
|
||||
},
|
||||
//colors:[ '#44A9A8', '#f36f8a','#25f3e6','#ffff43','#964CEC','#32B0ED','#2b6ed7','#7278DD','#2DA9D8','#C66FE6','#0099cc','#cc0033','#ff6633','#99cccc','#d9f9d0'],
|
||||
colors:['#003078','#004bbc', '#015bb1', '#2f74b5', '#4186c1', '#0058e1','#066aff', '#5597cd', '#5c9dff', '#67a7de', '#77b5dc', '#98cde7','#89b9ff','#78adff'],
|
||||
// colors:['#003078','#004bbc', '#015bb1', '#2f74b5', '#4186c1', '#0058e1','#066aff', '#5597cd', '#5c9dff', '#67a7de', '#77b5dc', '#98cde7','#89b9ff','#78adff'],
|
||||
// colors:['#008ef9','#0594ff', '#002540', '#004679', '#025ba1', '#026fc0','#0279d5'],
|
||||
// colors:['#002540','#004679','#025ba1', '#026fc0', '#0279d5', '#0086e9', '#008ef9','#0594ff', '#25a2ff', '#63bbff', '#88cbff'],
|
||||
colors:[ '#1C4573','#275A9C', '#306EB9', '#3579CE', '#3C85E1', '#3E8EF1','#4294F7', '#4294F7', '#98CBFA'],
|
||||
// colors:colors,
|
||||
noData:{
|
||||
style: {//设置字体颜色
|
||||
color: '#fff',
|
||||
@@ -1293,13 +1293,13 @@ function echart_topic_domain(rs){
|
||||
colorByPoint: true,
|
||||
dataLabels: {
|
||||
rotationMode: 'parallel'
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
level: 3,
|
||||
colorVariation: {
|
||||
key: 'brightness',
|
||||
to: -0.5
|
||||
to: 0.5
|
||||
}
|
||||
}, {
|
||||
level: 4,
|
||||
|
||||
Reference in New Issue
Block a user