Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ycc-website
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Website
ycc-website
Commits
27115f0c
Commit
27115f0c
authored
Mar 03, 2022
by
chenqikuai
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:优化折线图展示
parent
8fd5d1ad
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
10 deletions
+9
-10
charts.vue
src/components/charts.vue
+1
-2
chartsInAddr.vue
src/components/chartsInAddr.vue
+1
-2
m-numOfOnChainTx.vue
src/components/mobile/map/m-numOfOnChainTx.vue
+2
-2
index.vue
...components/pc/BlockChainBrowser/AddressOverview/index.vue
+1
-1
ChainTxNumberChart.vue
...pc/BlockChainBrowser/ChainOverview/ChainTxNumberChart.vue
+3
-2
m-address-balance-graph.vue
...components/m-address-overview/m-address-balance-graph.vue
+1
-1
No files found.
src/components/charts.vue
View file @
27115f0c
...
@@ -163,7 +163,6 @@ export default Vue.extend({
...
@@ -163,7 +163,6 @@ export default Vue.extend({
color
:
'#7c88ad'
,
color
:
'#7c88ad'
,
},
},
},
},
boundaryGap
:
false
,
data
:
times
data
:
times
?.
map
((
i
)
=>
{
?.
map
((
i
)
=>
{
return
i
.
format
return
i
.
format
...
@@ -215,7 +214,7 @@ export default Vue.extend({
...
@@ -215,7 +214,7 @@ export default Vue.extend({
itemStyle
:
{},
itemStyle
:
{},
},
},
],
],
grid
:
this
.
grid
,
grid
:
{
...
this
.
grid
}
,
})
})
}
}
})
})
...
...
src/components/chartsInAddr.vue
View file @
27115f0c
...
@@ -91,10 +91,9 @@ export default VueTypedMixins(chartsMixin).extend({
...
@@ -91,10 +91,9 @@ export default VueTypedMixins(chartsMixin).extend({
color
:
'#7c88ad'
,
color
:
'#7c88ad'
,
},
},
},
},
boundaryGap
:
false
,
data
:
times
data
:
times
?.
map
((
i
)
=>
{
?.
map
((
i
)
=>
{
return
moment
.
unix
(
i
).
format
(
'YYYY
-MM-
DD'
)
return
moment
.
unix
(
i
).
format
(
'YYYY
.MM.
DD'
)
})
})
.
reverse
(),
.
reverse
(),
},
},
...
...
src/components/mobile/map/m-numOfOnChainTx.vue
View file @
27115f0c
...
@@ -26,10 +26,10 @@
...
@@ -26,10 +26,10 @@
:scale=
"currentFilter"
:scale=
"currentFilter"
style=
"height: 100px;"
style=
"height: 100px;"
:grid=
"
{
:grid=
"
{
top: '1
5
px',
top: '1
2
px',
bottom: '25px',
bottom: '25px',
left: '50px',
left: '50px',
right: '
4
0px',
right: '
2
0px',
}"
}"
>
</charts>
>
</charts>
</div>
</div>
...
...
src/components/pc/BlockChainBrowser/AddressOverview/index.vue
View file @
27115f0c
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
top: '10px',
top: '10px',
bottom: '25px',
bottom: '25px',
left: '50px',
left: '50px',
right: '
5
0px',
right: '
2
0px',
}"
}"
>
</charts-in-addr>
>
</charts-in-addr>
</div>
</div>
...
...
src/components/pc/BlockChainBrowser/ChainOverview/ChainTxNumberChart.vue
View file @
27115f0c
...
@@ -22,14 +22,15 @@
...
@@ -22,14 +22,15 @@
:grid=
"
{
:grid=
"
{
top: '20px',
top: '20px',
bottom: '25px',
bottom: '25px',
left: '
6
0px',
left: '
5
0px',
right: '
6
0px',
right: '
2
0px',
}"
}"
>
</charts>
>
</charts>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
Charts
from
'@/components/charts.vue'
import
Charts
from
'@/components/charts.vue'
import
Vue
from
'vue'
import
Vue
from
'vue'
export
default
Vue
.
extend
({
export
default
Vue
.
extend
({
...
...
src/views/mobile/address/components/m-address-overview/m-address-balance-graph.vue
View file @
27115f0c
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
top: '10px',
top: '10px',
bottom: '25px',
bottom: '25px',
left: '50px',
left: '50px',
right: '
4
0px',
right: '
2
0px',
}"
}"
style="height: 110px;"
style="height: 110px;"
>
</charts-in-addr>
>
</charts-in-addr>
...
...
chenqikuai
@chenqikuai
mentioned in commit
748f7ae1
·
Mar 03, 2022
mentioned in commit
748f7ae1
mentioned in commit 748f7ae18ac2f8eb14ee7c2865eaea786342a520
Toggle commit list
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