Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-pd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bdf2aed6
authored
Sep 07, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
d1f5d1ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
src/views/internal/components/LineCharts.vue
src/views/internal/components/LineCharts.vue
View file @
bdf2aed
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-09-06 15:08:05
* @Date: 2023-09-06 15:08:05
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-09-07 18:0
1:34
* @LastEditTime: 2023-09-07 18:0
2:59
-->
-->
<
template
>
<
template
>
<div
:id=
"domId"
style=
"width: 100%"
:style=
"
{ height }">
</div>
<div
:id=
"domId"
style=
"width: 100%"
:style=
"
{ height }">
</div>
...
@@ -50,7 +50,6 @@ export default {
...
@@ -50,7 +50,6 @@ export default {
methods
:
{
methods
:
{
tooltipFormatter
(
obj
)
{
tooltipFormatter
(
obj
)
{
console
.
log
(
obj
);
var
_currentItem
=
this
.
dataList
[
obj
[
0
].
dataIndex
]
var
_currentItem
=
this
.
dataList
[
obj
[
0
].
dataIndex
]
var
_html
=
''
var
_html
=
''
var
_txt
=
`<div><div style="color: #FFFFFF">
${
_currentItem
.
statMonth
}
</div><div style="display:flex;align-items:center"><div style="width: 4px;height: 4px;background: #FFC200;border-radius: 4px;margin-right: 4px;"></div><div style="color: #fff;">
${
utils
.
numAddSymbol
(
_currentItem
[
this
.
valName
])}
</div></div></div>`
var
_txt
=
`<div><div style="color: #FFFFFF">
${
_currentItem
.
statMonth
}
</div><div style="display:flex;align-items:center"><div style="width: 4px;height: 4px;background: #FFC200;border-radius: 4px;margin-right: 4px;"></div><div style="color: #fff;">
${
utils
.
numAddSymbol
(
_currentItem
[
this
.
valName
])}
</div></div></div>`
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment