Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
oEshield
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 04e36e36
authored
Mar 29, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改bug
1 parent
0033fae5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
src/pages/monitor/LineCharts.vue
src/pages/monitor/alarmAnalysis.vue
src/pages/monitor/LineCharts.vue
View file @
04e36e3
...
...
@@ -43,6 +43,7 @@ export default {
this
.
barLineOptions
=
{
grid
:
{
right
:
'19%'
,
left
:
'15%'
},
xAxis
:
{
type
:
'category'
,
...
...
@@ -53,7 +54,7 @@ export default {
fontSize
:
10
,
lineHeight
:
16
},
boundaryGap
:
tru
e
,
//坐标轴两边留白
boundaryGap
:
fals
e
,
//坐标轴两边留白
data
:
this
.
xAxisData
,
axisLabel
:
{
//坐标轴刻度标签的相关设置。
interval
:
this
.
linetype
==
1
?
(
this
.
dataList
.
length
>
10
?
1
:
0
):
0
,
//设置为 1,表示『隔一个标签显示一个标签』
...
...
src/pages/monitor/alarmAnalysis.vue
View file @
04e36e3
...
...
@@ -119,7 +119,7 @@
:xAxisData=
"xAxisDataList"
:lineChartsYear=
"lineChartsYear"
></LineCharts>
</div>
<div
v-else
class=
"empty-box"
>
<img
src=
"
@/assets/images/empty-status
.png"
alt=
""
>
<img
src=
"
https://wx.glsx.com.cn/upload/biz/501829f0-6c34-443c-bf56-ae94072a6619
.png"
alt=
""
>
<div>
暂无里程数据
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment