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 2ae3083e
authored
Mar 27, 2024
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
f8db0749
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
src/pages/monitor/LineCharts.vue
src/pages/monitor/alarmAnalysis.vue
src/pages/monitor/monitor.vue
src/pages/monitor/LineCharts.vue
View file @
2ae3083
...
@@ -36,7 +36,6 @@ export default {
...
@@ -36,7 +36,6 @@ export default {
},
},
methods
:
{
methods
:
{
drawBarLine
()
{
drawBarLine
()
{
console
.
log
(
this
.
dataList
);
this
.
barLineOptions
=
{
this
.
barLineOptions
=
{
xAxis
:
{
xAxis
:
{
type
:
'category'
,
type
:
'category'
,
...
@@ -44,7 +43,7 @@ export default {
...
@@ -44,7 +43,7 @@ export default {
boundaryGap
:
true
,
//坐标轴两边留白
boundaryGap
:
true
,
//坐标轴两边留白
data
:
this
.
xAxisData
,
data
:
this
.
xAxisData
,
axisLabel
:
{
//坐标轴刻度标签的相关设置。
axisLabel
:
{
//坐标轴刻度标签的相关设置。
interval
:
this
.
linetype
==
1
?
(
this
.
dataList
.
length
>
10
?
4
:
0
):
0
,
//设置为 1,表示『隔一个标签显示一个标签』
interval
:
this
.
linetype
==
1
?
(
this
.
dataList
.
length
>
10
?
1
:
0
):
0
,
//设置为 1,表示『隔一个标签显示一个标签』
// margin:15,
// margin:15,
textStyle
:
{
textStyle
:
{
color
:
'#FFFFFF'
,
color
:
'#FFFFFF'
,
...
...
src/pages/monitor/alarmAnalysis.vue
View file @
2ae3083
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
:xAxisData=
"xAxisDataList"
></LineCharts>
:xAxisData=
"xAxisDataList"
></LineCharts>
</div>
</div>
<div
v-else
class=
"empty-box"
>
<div
v-else
class=
"empty-box"
>
<img
src=
"
../..
/assets/images/empty-status.png"
alt=
""
>
<img
src=
"
@
/assets/images/empty-status.png"
alt=
""
>
<div>
暂无里程数据
</div>
<div>
暂无里程数据
</div>
</div>
</div>
</div>
</div>
...
...
src/pages/monitor/monitor.vue
View file @
2ae3083
This diff is collapsed.
Click to expand it.
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