Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
data-view
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 2038cff0
authored
Mar 01, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
还原回1.2.0版本
1 parent
6fe7a184
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
src/components/LineChart.vue
src/components/ViewTitle.vue
src/components/LineChart.vue
View file @
2038cff
...
@@ -164,13 +164,7 @@ export default {
...
@@ -164,13 +164,7 @@ export default {
this
.
lineOptions
.
series
[
0
].
data
=
seriesDate
this
.
lineOptions
.
series
[
0
].
data
=
seriesDate
this
.
lineOptions
.
tooltip
.
textStyle
.
fontSize
=
this
.
setChartFontSize
(
10
)
this
.
lineOptions
.
tooltip
.
textStyle
.
fontSize
=
this
.
setChartFontSize
(
10
)
if
(
this
.
queryType
==
0
)
{
if
(
this
.
queryType
==
0
)
{
// this.lineOptions.yAxis.scale = true
this
.
lineOptions
.
yAxis
.
scale
=
true
let
min
=
Math
.
floor
((
Math
.
min
(...
seriesDate
)
*
0.6
)
/
10
)
*
10
console
.
log
(
min
.
toString
().
length
)
if
(
min
.
toString
().
length
>
5
)
{
min
=
Math
.
trunc
(
min
/
10000
)
+
'0000'
}
this
.
lineOptions
.
yAxis
.
min
=
min
}
else
{
}
else
{
this
.
lineOptions
.
yAxis
.
max
=
Math
.
ceil
(
Math
.
max
(...
seriesDate
)
/
10
)
*
10
this
.
lineOptions
.
yAxis
.
max
=
Math
.
ceil
(
Math
.
max
(...
seriesDate
)
/
10
)
*
10
this
.
lineOptions
.
yAxis
.
min
=
Math
.
floor
((
Math
.
min
(...
seriesDate
)
*
0.9
)
/
10
)
*
10
this
.
lineOptions
.
yAxis
.
min
=
Math
.
floor
((
Math
.
min
(...
seriesDate
)
*
0.9
)
/
10
)
*
10
...
...
src/components/ViewTitle.vue
View file @
2038cff
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"logo user-select"
>
<div
class=
"logo user-select"
>
<img
style=
"height: 4vh"
src=
"@/assets/images/logo.svg"
alt=
"logo"
/>
<img
style=
"height: 4vh"
src=
"@/assets/images/logo.svg"
alt=
"logo"
/>
</div>
</div>
<div
class=
"view-title flex user-select"
>
XXX
4S
集团客户池数据大屏
</div>
<div
class=
"view-title flex user-select"
>
XXX集团客户池数据大屏
</div>
<div
class=
"time"
>
<div
class=
"time"
>
<div
class=
"top flex"
>
<div
class=
"top flex"
>
<img
src=
"@/assets/images/time.svg"
class=
"icon"
/>
<img
src=
"@/assets/images/time.svg"
class=
"icon"
/>
...
...
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