Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
‘superliu’
3 years ago
Commit
7cbd9bb15dac103b6e02dbc06c50422f04397605
1 parent
bea5fbef
杭州-通知查询-echars 分类组统计样式调整
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/noticeIndex.js
hg-monitor-web-base/src/main/resources/static/src/controller/noticeIndex.js
View file @
7cbd9bb
...
...
@@ -375,7 +375,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'common','sessions', 'xmSelect'
grid
:
[{
top
:
20
,
bottom
:
45
,
left
:
3
0
,
left
:
4
0
,
right
:
5
}],
xAxis
:
[{
...
...
@@ -422,9 +422,22 @@ layui.define(['table', 'form', 'admin', 'layer', 'common','sessions', 'xmSelect'
}
}],
series
:
series
,
dataZoom
:
[
{
type
:
'inside'
}
],
}
echartObject
.
setOption
(
option
)
const
zoomSize
=
6
;
echartObject
.
on
(
'click'
,
function
(
params
)
{
echartObject
.
dispatchAction
({
type
:
'dataZoom'
,
startValue
:
xData
[
Math
.
max
(
params
.
dataIndex
-
zoomSize
/
2
,
0
)],
endValue
:
xData
[
Math
.
min
(
params
.
dataIndex
+
zoomSize
/
2
,
yData
.
length
-
1
)]
});
});
}
/********************单独加载更多****************************/
function
loadNoticeMoreChart
(
echartObject
,
xData
,
yData
)
{
...
...
Please
register
or
login
to post a comment