Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
report-html-template
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
frontend
report-html-template
Commits
e3d1f2c8
Commit
e3d1f2c8
authored
Aug 03, 2023
by
ChenXiHi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/branch_yx' of
http://47.108.78.218:28999/frontend/report-html-template
# Conflicts: # energy-report/index.html
parents
7151831e
495d9374
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
8 行增加
和
15 行删除
+8
-15
energy-report/index.css
+2
-2
energy-report/index.html
+6
-13
没有找到文件。
energy-report/index.css
查看文件 @
e3d1f2c8
...
...
@@ -1099,8 +1099,8 @@ body {
width
:
100%
;
}
.content-item-left-icon
{
width
:
12
0px
;
height
:
95
px
;
width
:
6
0px
;
height
:
48
px
;
}
}
...
...
energy-report/index.html
查看文件 @
e3d1f2c8
...
...
@@ -604,14 +604,7 @@
},
]
}
const
getEchartsDataPadding
=
()
=>
{
if
(
windowWidth
>
768
)
{
return
[
0
,
0
,
0
,
65
]
}
return
[
0
,
0
,
0
,
25
]
}
//用电趋势
const
getEcharts
=
()
=>
{
let
option
=
{
...
...
@@ -830,7 +823,7 @@
var
option
=
{
grid
:
{
left
:
'
2
%'
,
left
:
'
1
%'
,
right
:
'5%'
,
bottom
:
'6%'
,
top
:
30
,
...
...
@@ -889,7 +882,7 @@
color
:
'rgba(255, 255, 255, 1)'
,
},
// align: 'center',
padding
:
getEchartsDataPadding
()
padding
:
[
0
,
0
,
0
,
65
]
},
// offset:5,
axisTick
:
{
...
...
@@ -1440,7 +1433,7 @@
axisLabel
:
{
interval
:
0
,
textStyle
:
{
fontSize
:
1
2
,
//更改坐标轴文字大小
fontSize
:
1
4
,
//更改坐标轴文字大小
color
:
"#fff"
,
padding
:
[
0
,
0
,
0
,
0
],
},
...
...
@@ -1948,7 +1941,7 @@
const
getBarEcharts
=
()
=>
{
let
option
=
{
grid
:
{
left
:
"
4
%"
,
left
:
"
3
%"
,
right
:
"1%"
,
bottom
:
"3%"
,
containLabel
:
true
,
...
...
@@ -2291,7 +2284,7 @@
grid
:
{
top
:
50
,
left
:
"1%"
,
right
:
-
3
0
,
right
:
-
2
0
,
bottom
:
20
,
containLabel
:
true
,
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论