Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
rich-maker
Commits
a43aed94
Commit
a43aed94
authored
Aug 04, 2021
by
Choi Ga Young
Browse files
원화표시
parent
81d004bc
Changes
1
Show whitespace changes
Inline
Side-by-side
ChartY.js
View file @
a43aed94
...
...
@@ -43,7 +43,7 @@ const ChartY = ({ resDataY, year, setYear }) => {
}
type
=
'
clear
'
/>
<
/View
>
<
View
>
<
Text
style
=
{
style
.
Font
}
>
수입
:
{
totalYI
}
원
<
/Text
>
<
Text
style
=
{
style
.
Font
}
>
수입
:
{
(
totalYI
).
toLocaleString
().
replace
(
/
\B(?=(\d{3})
+
(?!\d))
/g
,
"
,
"
)
}
원
<
/Text
>
<
BarChart
style
=
{{
marginBottom
:
"
2%
"
,
marginTop
:
"
2%
"
}}
data
=
{
resDataY
.
temp1
[
0
]}
...
...
@@ -52,7 +52,7 @@ const ChartY = ({ resDataY, year, setYear }) => {
chartConfig
=
{{
...
chartConfig
,
fillShadowGradient
:
'
#1E90FF
'
}}
fromZero
=
{
true
}
/
>
<
Text
style
=
{
style
.
Font
}
>
지출
:
{
totalYO
}
원
<
/Text
>
<
Text
style
=
{
style
.
Font
}
>
지출
:
{
(
totalYO
).
toLocaleString
().
replace
(
/
\B(?=(\d{3})
+
(?!\d))
/g
,
"
,
"
)
}
원
<
/Text
>
<
BarChart
style
=
{{
marginTop
:
"
2%
"
}}
data
=
{
resDataY
.
temp2
[
0
]}
...
...
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