Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
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
office
haoban-3
Commits
71c4c9fc
Commit
71c4c9fc
authored
Jul 21, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: line
parent
3b566ecc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
62 deletions
+7
-62
newAddChart.vue
.../salesleads/actCodeManage/attractFlowLink/newAddChart.vue
+7
-62
No files found.
src/views/salesleads/actCodeManage/attractFlowLink/newAddChart.vue
View file @
71c4c9fc
...
...
@@ -60,27 +60,7 @@ export default {
{
name
:
'今日点击人数'
,
value
:
'clickNum'
,
marker
:
{
symbol
:
'line'
,
style
:
{
stroke
:
'#14C9C9'
,
lineWidth
:
12
,
lineHeight
:
8
}
}
}
]
});
//坐标轴配置(法一配置)
this
.
chart
.
axis
(
'bizDate'
,
{
line
:
{
style
:
{
stroke
:
'#606266'
,
lineDash
:
[
3
,
3
]
}
},
tickLine
:
{
style
:
{
fill
:
'#E4E7ED'
,
lineDash
:
[
3
,
3
]
}
},
label
:
{
style
:
{
fill
:
'#606266'
}
}
});
this
.
chart
.
axis
(
'addNum'
,
{
const
lineConfig
=
{
grid
:
{
line
:
{
type
:
'line'
,
...
...
@@ -99,47 +79,12 @@ export default {
return
val
;
}
}
});
this
.
chart
.
axis
(
'clickTimes'
,
{
grid
:
{
line
:
{
type
:
'line'
,
style
:
{
stroke
:
'#E4E7ED'
,
lineDash
:
[
3
,
3
]
}
}
},
label
:
{
style
:
{
fill
:
'#606266'
},
formatter
:
val
=>
{
// 格式化参数值
return
val
;
}
}
});
this
.
chart
.
axis
(
'clickNum'
,
{
grid
:
{
line
:
{
type
:
'line'
,
style
:
{
stroke
:
'#E4E7ED'
,
lineDash
:
[
3
,
3
]
}
}
},
label
:
{
style
:
{
fill
:
'#606266'
},
formatter
:
val
=>
{
// 格式化参数值
return
val
;
}
}
});
};
//坐标轴配置(法一配置)
this
.
chart
.
axis
(
'bizDate'
,
lineConfig
);
this
.
chart
.
axis
(
'addNum'
,
lineConfig
);
this
.
chart
.
axis
(
'clickTimes'
,
lineConfig
);
this
.
chart
.
axis
(
'clickNum'
,
lineConfig
);
this
.
chart
.
tooltip
({
showCrosshairs
:
true
,
shared
:
true
,
...
...
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