Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
ec-report-refactor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lihuizhen
ec-report-refactor
Commits
83470891
Commit
83470891
authored
Oct 24, 2022
by
leon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:horizontal bar yAxis show
parent
363e7591
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
HorizontalBar.vue
components/HorizontalBar/HorizontalBar.vue
+2
-0
No files found.
components/HorizontalBar/HorizontalBar.vue
View file @
83470891
...
@@ -53,6 +53,7 @@
...
@@ -53,6 +53,7 @@
...
that
.
elementInfo
.
option
,
...
that
.
elementInfo
.
option
,
yAxis
:
{
yAxis
:
{
...
that
.
elementInfo
.
option
.
yAxis
,
...
that
.
elementInfo
.
option
.
yAxis
,
show
:
that
.
elementInfo
.
data
.
dataType
===
'static'
,
// 静态数据默认显示,其他状态默认不显示,等请求完成后再显示出来
data
:
categories
data
:
categories
},
},
tooltip
:
that
.
dealTooltip
(
that
.
elementInfo
.
option
.
tooltip
),
tooltip
:
that
.
dealTooltip
(
that
.
elementInfo
.
option
.
tooltip
),
...
@@ -119,6 +120,7 @@
...
@@ -119,6 +120,7 @@
}
}
const
dealSeries
=
this
.
dealSeriesData
(
series
)
const
dealSeries
=
this
.
dealSeriesData
(
series
)
this
.
$set
(
this
.
ec
.
option
,
'yAxis.show'
,
true
)
this
.
$set
(
this
.
ec
.
option
,
'yAxis.data'
,
categories
)
this
.
$set
(
this
.
ec
.
option
,
'yAxis.data'
,
categories
)
this
.
$set
(
this
.
ec
.
option
,
'series'
,
dealSeries
)
this
.
$set
(
this
.
ec
.
option
,
'series'
,
dealSeries
)
this
.
$set
(
this
.
ec
.
option
,
'dataZoom'
,
this
.
elementInfo
.
dataZoom
&&
this
.
elementInfo
.
dataZoom
this
.
$set
(
this
.
ec
.
option
,
'dataZoom'
,
this
.
elementInfo
.
dataZoom
&&
this
.
elementInfo
.
dataZoom
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment