|
@@ -407,7 +407,7 @@ function getHazardChartOption(): echarts.EChartsOption {
|
|
|
nameLocation: 'end',
|
|
nameLocation: 'end',
|
|
|
nameGap: 13,
|
|
nameGap: 13,
|
|
|
nameTextStyle: {
|
|
nameTextStyle: {
|
|
|
- color: '#8a9bb5',
|
|
|
|
|
|
|
+ color: '#657897',
|
|
|
fontSize: 12,
|
|
fontSize: 12,
|
|
|
// fontWeight: 600,
|
|
// fontWeight: 600,
|
|
|
fontFamily: FONT_FAMILY
|
|
fontFamily: FONT_FAMILY
|
|
@@ -524,6 +524,15 @@ function getSafeDayChartOption(): echarts.EChartsOption {
|
|
|
}),
|
|
}),
|
|
|
xAxis: {
|
|
xAxis: {
|
|
|
type: 'value',
|
|
type: 'value',
|
|
|
|
|
+ name: '安全生产天数',
|
|
|
|
|
+ nameLocation: 'middle',
|
|
|
|
|
+ nameGap: 30,
|
|
|
|
|
+ nameTextStyle: {
|
|
|
|
|
+ color: '#5b6f8f',
|
|
|
|
|
+ fontSize: 12,
|
|
|
|
|
+ fontWeight: 600,
|
|
|
|
|
+ fontFamily: FONT_FAMILY
|
|
|
|
|
+ },
|
|
|
axisLine: { show: false },
|
|
axisLine: { show: false },
|
|
|
axisTick: { show: false },
|
|
axisTick: { show: false },
|
|
|
axisLabel: {
|
|
axisLabel: {
|
|
@@ -717,6 +726,19 @@ function destroyQhseTrendChart() {
|
|
|
function getSocChartOption(): echarts.EChartsOption {
|
|
function getSocChartOption(): echarts.EChartsOption {
|
|
|
return {
|
|
return {
|
|
|
...ANIMATION,
|
|
...ANIMATION,
|
|
|
|
|
+ title: {
|
|
|
|
|
+ text: 'SOC',
|
|
|
|
|
+ left: '34%',
|
|
|
|
|
+ top: '54%',
|
|
|
|
|
+ textAlign: 'center',
|
|
|
|
|
+ textVerticalAlign: 'middle',
|
|
|
|
|
+ textStyle: {
|
|
|
|
|
+ color: '#3d5f94',
|
|
|
|
|
+ fontSize: 24,
|
|
|
|
|
+ fontWeight: 800,
|
|
|
|
|
+ fontFamily: FONT_FAMILY
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
tooltip: createTooltip({
|
|
tooltip: createTooltip({
|
|
|
trigger: 'item',
|
|
trigger: 'item',
|
|
|
confine: true,
|
|
confine: true,
|