Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
c9a97a86
Commit
c9a97a86
authored
Apr 28, 2022
by
crushh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/ai营销二期' into master
parents
b9d7d701
97c3087b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ai-data.vue
src/views/ai/ai-data-report/ai-data.vue
+4
-4
No files found.
src/views/ai/ai-data-report/ai-data.vue
View file @
c9a97a86
...
...
@@ -266,7 +266,7 @@ export default {
const
chart
=
new
G2
.
Chart
({
container
:
'chart-tag'
,
forceFit
:
true
,
height
:
2
2
0
,
height
:
2
6
0
,
padding
:
0
});
chart
.
source
(
data
.
filter
(
el
=>
el
.
count
>
0
));
...
...
@@ -282,7 +282,7 @@ export default {
.
label
(
'percent'
,
val
=>
{
return
{
formatter
:
(
text
,
item
)
=>
{
return
item
.
point
.
label
+
'
\
n
'
+
item
.
point
.
percent
;
return
item
.
point
.
label
+
'
'
+
item
.
point
.
percent
;
}
};
})
...
...
@@ -313,7 +313,7 @@ export default {
const
chart
=
new
G2
.
Chart
({
container
:
'chart-record'
,
forceFit
:
true
,
height
:
2
2
0
,
height
:
2
6
0
,
padding
:
0
});
chart
.
source
(
data
.
filter
(
el
=>
el
.
count
>
0
));
...
...
@@ -330,7 +330,7 @@ export default {
.
label
(
'percent'
,
()
=>
{
return
{
formatter
:
(
text
,
item
)
=>
{
return
item
.
point
.
label
+
'
\
n
'
+
item
.
point
.
percent
;
return
item
.
point
.
label
+
'
'
+
item
.
point
.
percent
;
}
};
})
...
...
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