记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
02fe322a
Commit
02fe322a
authored
Sep 24, 2021
by
anjiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交chime社交相关
parent
95b5c0b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
performanceData.html
...rces/templates/zhengzai/kylin/report/performanceData.html
+45
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/report/performanceData.html
View file @
02fe322a
...
...
@@ -313,6 +313,21 @@
data
:
[
{
type
:
'average'
,
name
:
'平均值'
}
]
},
itemStyle
:
{
normal
:
{
//这里是重点
color
:
function
(
params
)
{
//注意,如果颜色太少的话,后面颜色不会自动循环,最好多定义几个颜色
var
colorList
=
[
'#c23531'
,
'#2f4554'
,
'#61a0a8'
,
'#d48265'
,
'#91c7ae'
,
'#749f83'
,
'#ca8622'
];
//给大于颜色数量的柱体添加循环颜色的判断
var
index
=
params
.
dataIndex
;
if
(
params
.
dataIndex
>=
colorList
.
length
)
{
index
=
params
.
dataIndex
-
colorList
.
length
;
}
return
colorList
[
index
]
}
}
}
}
]
...
...
@@ -407,6 +422,21 @@
data
:
[
{
type
:
'average'
,
name
:
'平均值'
}
]
},
itemStyle
:
{
normal
:
{
//这里是重点
color
:
function
(
params
)
{
//注意,如果颜色太少的话,后面颜色不会自动循环,最好多定义几个颜色
var
colorList
=
[
'#c23531'
,
'#2f4554'
,
'#61a0a8'
,
'#d48265'
,
'#91c7ae'
,
'#749f83'
,
'#ca8622'
];
//给大于颜色数量的柱体添加循环颜色的判断
var
index
=
params
.
dataIndex
;
if
(
params
.
dataIndex
>=
colorList
.
length
)
{
index
=
params
.
dataIndex
-
colorList
.
length
;
}
return
colorList
[
index
]
}
}
}
}
]
...
...
@@ -501,6 +531,21 @@
data
:
[
{
type
:
'average'
,
name
:
'平均值'
}
]
},
itemStyle
:
{
normal
:
{
//这里是重点
color
:
function
(
params
)
{
//注意,如果颜色太少的话,后面颜色不会自动循环,最好多定义几个颜色
var
colorList
=
[
'#c23531'
,
'#2f4554'
,
'#61a0a8'
,
'#d48265'
,
'#91c7ae'
,
'#749f83'
,
'#ca8622'
];
//给大于颜色数量的柱体添加循环颜色的判断
var
index
=
params
.
dataIndex
;
if
(
params
.
dataIndex
>=
colorList
.
length
)
{
index
=
params
.
dataIndex
-
colorList
.
length
;
}
return
colorList
[
index
]
}
}
}
}
]
...
...
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