Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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
胡宝山
template_vue
Commits
8e371627
Commit
8e371627
authored
Dec 01, 2023
by
W_Y
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/project9-8' into project9-8
parents
0dfadf5d
2f0aa6b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
control.vue
src/views/controlPlatform/control.vue
+11
-1
No files found.
src/views/controlPlatform/control.vue
View file @
8e371627
...
@@ -487,7 +487,17 @@ export default {
...
@@ -487,7 +487,17 @@ export default {
},
},
xAxis
:
{
xAxis
:
{
type
:
'category'
,
type
:
'category'
,
data
:
this
.
dataList
data
:
this
.
dataList
,
axisLabel
:
{
formatter
:
function
(
value
)
{
// 控制每个数据的显示宽度为5个字符
var
maxLength
=
5
if
(
value
.
length
>
maxLength
)
{
return
value
.
substring
(
0
,
maxLength
)
+
'
\
n'
+
value
.
substring
(
maxLength
)
}
return
value
}
}
},
},
yAxis
:
{
yAxis
:
{
type
:
'value'
type
:
'value'
...
...
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