Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sfp-program
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
sfp-program
Commits
fb2a816d
Commit
fb2a816d
authored
Oct 10, 2022
by
kyle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图表优化
parent
cf7b0742
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
pages/housePurchase/housePurchase.vue
+4
-4
No files found.
pages/housePurchase/housePurchase.vue
View file @
fb2a816d
...
@@ -360,7 +360,7 @@
...
@@ -360,7 +360,7 @@
}
}
this
.
myChart
.
setOption
({
this
.
myChart
.
setOption
({
legend
:
{
legend
:
{
data
:
[
'首付款
'
,
'总贷款金额
'
]
data
:
[
'首付款
(万元)'
,
'总贷款金额(万元)
'
]
},
},
grid
:
{
grid
:
{
left
:
'20%'
,
// 调整这个属性
left
:
'20%'
,
// 调整这个属性
...
@@ -374,7 +374,7 @@
...
@@ -374,7 +374,7 @@
yAxis
:
{},
yAxis
:
{},
series
:
[
series
:
[
{
{
name
:
'首付款'
,
name
:
'首付款
(万元)
'
,
data
:
this
.
downPaymentList
.
map
(
item
=>
(
item
/
10000
).
toFixed
(
2
)),
data
:
this
.
downPaymentList
.
map
(
item
=>
(
item
/
10000
).
toFixed
(
2
)),
type
:
'bar'
,
type
:
'bar'
,
stack
:
'x'
,
stack
:
'x'
,
...
@@ -384,13 +384,13 @@
...
@@ -384,13 +384,13 @@
}
}
},
},
{
{
name
:
'总贷款金额'
,
name
:
'总贷款金额
(万元)
'
,
data
:
this
.
totalLoanList
.
map
(
item
=>
(
item
/
10000
).
toFixed
(
2
)),
data
:
this
.
totalLoanList
.
map
(
item
=>
(
item
/
10000
).
toFixed
(
2
)),
type
:
'bar'
,
type
:
'bar'
,
stack
:
'x'
,
stack
:
'x'
,
label
:{
label
:{
show
:
true
,
show
:
true
,
position
:
'
top'
position
:
'
inside'
,
}
}
}
}
]
]
...
...
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