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
cbe5f611
Commit
cbe5f611
authored
Jul 23, 2024
by
leon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: daily
parent
bff7eba4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
48 deletions
+25
-48
CustomChart.vue
components/CustomChart/CustomChart.vue
+2
-3
echarts.js
uni-ec-canvas/echarts.js
+23
-45
No files found.
components/CustomChart/CustomChart.vue
View file @
cbe5f611
...
@@ -50,7 +50,6 @@
...
@@ -50,7 +50,6 @@
}
=
this
.
elementData
}
=
this
.
elementData
const
seniorConfig
=
this
.
elementInfo
.
option
.
seniorConfig
const
seniorConfig
=
this
.
elementInfo
.
option
.
seniorConfig
this
.
ec
.
option
=
this
.
$u
.
common
.
converFunction
(
seniorConfig
,
dataList
,
geoCoordMapList
)
this
.
ec
.
option
=
this
.
$u
.
common
.
converFunction
(
seniorConfig
,
dataList
,
geoCoordMapList
)
console
.
log
(
this
.
ec
.
option
)
chart
.
setOption
(
this
.
ec
.
option
)
chart
.
setOption
(
this
.
ec
.
option
)
const
that
=
this
const
that
=
this
chart
.
on
(
'click'
,
event
=>
{
chart
.
on
(
'click'
,
event
=>
{
...
@@ -115,8 +114,8 @@
...
@@ -115,8 +114,8 @@
if
(
value
.
categories
)
{
if
(
value
.
categories
)
{
this
.
ec
.
option
.
yAxis
.
data
=
value
.
categories
this
.
ec
.
option
.
yAxis
.
data
=
value
.
categories
}
}
if
(
value
.
title
&&
this
.
ec
.
option
.
graphic
)
{
if
(
value
.
title
&&
this
.
ec
.
option
.
title
)
{
this
.
ec
.
option
.
graphic
.
elements
[
0
].
sty
le
.
text
=
value
.
title
this
.
ec
.
option
.
tit
le
.
text
=
value
.
title
}
}
this
.
currentIndex
=
index
this
.
currentIndex
=
index
if
(
index
===
dataList
.
length
-
1
)
{
if
(
index
===
dataList
.
length
-
1
)
{
...
...
uni-ec-canvas/echarts.js
View file @
cbe5f611
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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