Browse Source

1.修改生产看板的图表颜色

PTD
Marvin 1 year ago
parent
commit
8bf46f6c6a
  1. 106
      AMESCoreStudio.Web/Views/RPT/RPT001.cshtml

106
AMESCoreStudio.Web/Views/RPT/RPT001.cshtml

@ -267,27 +267,72 @@
Highcharts.chart('divChart1', { Highcharts.chart('divChart1', {
title: { title: {
text: queryYear.value + '生產力' text: queryYear.value + '生產力',
style:
{
color:'#FFFFFF'
}
}, },
subtitle: { subtitle: {
text: '' text: ''
}, },
chart: {
backgroundColor:'#262626',
color:'#FFFFFF'
},
xAxis: { xAxis: {
categories: xAxisData categories: xAxisData,
labels: {
style:
{
color:'#FFFFFF'
}
}
}, },
yAxis: { yAxis: {
title: { title: {
text: queryYear.value + '生產力' text: queryYear.value + '生產力',
style:
{
color:'#FFFFFF'
}
},
labels: {
style:
{
color:'#FFFFFF'
}
} }
}, },
plotOptions: { plotOptions: {
series:
{
lineColor:'yellow',
marker: {
fillColor:'#FFFFFF'
}
},
line: { line: {
dataLabels: { dataLabels: {
enabled: true enabled: true,
style:
{
color:'#FFFFFF'
}
}, },
enableMouseTracking: false enableMouseTracking: false
} }
}, },
legend: {
itemStyle: {
font: '9pt Trebuchet MS, Verdana, sans-serif',
color: '#FFFFFF'
},
itemHoverStyle:{
color: '#FFFFFF'
}
},
series: [{ series: [{
type: 'column', type: 'column',
name: '月份', name: '月份',
@ -323,27 +368,72 @@
Highcharts.chart('divChart2', { Highcharts.chart('divChart2', {
title: { title: {
text: queryYear.value + '效率' text: queryYear.value + '效率',
style:
{
color:'#FFFFFF'
}
}, },
subtitle: { subtitle: {
text: '' text: ''
}, },
chart: {
backgroundColor:'#262626',
color:'#FFFFFF'
},
xAxis: { xAxis: {
categories: xAxisData categories: xAxisData,
labels: {
style:
{
color:'#FFFFFF'
}
}
}, },
yAxis: { yAxis: {
title: { title: {
text: queryYear.value + '效率' text: queryYear.value + '效率',
style:
{
color:'#FFFFFF'
}
},
labels: {
style:
{
color:'#FFFFFF'
}
} }
}, },
plotOptions: { plotOptions: {
series:
{
lineColor:'yellow',
marker: {
fillColor:'#FFFFFF'
}
},
line: { line: {
dataLabels: { dataLabels: {
enabled: true enabled: true,
style:
{
color:'#FFFFFF'
}
}, },
enableMouseTracking: false enableMouseTracking: false
} }
}, },
legend: {
itemStyle: {
font: '9pt Trebuchet MS, Verdana, sans-serif',
color: '#FFFFFF'
},
itemHoverStyle:{
color: '#FFFFFF'
}
},
series: [{ series: [{
type: 'column', type: 'column',
name: '月份', name: '月份',

Loading…
Cancel
Save