Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-scene
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 4524fdf5
authored
Jan 29, 2024
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
d4ae65d9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
src/views/lifeSceneDataPage/components/BarChartOptions.js
src/views/lifeSceneDataPage/components/BarLineOptions.js
src/views/lifeSceneDataPage/components/BarChartOptions.js
View file @
4524fdf
...
@@ -9,13 +9,13 @@ import * as echarts from 'echarts'
...
@@ -9,13 +9,13 @@ import * as echarts from 'echarts'
function
getBarOptions
(
obj
)
{
function
getBarOptions
(
obj
)
{
const
{
tooltipFormatter
}
=
obj
const
{
tooltipFormatter
}
=
obj
var
barLineOption
=
{
var
barLineOption
=
{
tooltip
:
{
//
tooltip: {
trigger
:
'axis'
,
//
trigger: 'axis',
borderWidth
:
0
,
//
borderWidth: 0,
padding
:
0
,
//
padding: 0,
formatter
:
tooltipFormatter
||
''
,
//
formatter: tooltipFormatter || '',
confine
:
true
//
confine: true
},
//
},
xAxis
:
{
xAxis
:
{
data
:
[]
data
:
[]
},
},
...
...
src/views/lifeSceneDataPage/components/BarLineOptions.js
View file @
4524fdf
...
@@ -3,13 +3,13 @@ import utils from '../../../utils/util'
...
@@ -3,13 +3,13 @@ import utils from '../../../utils/util'
function
getBarLineOptions
(
obj
)
{
function
getBarLineOptions
(
obj
)
{
const
{
tooltipFormatter
,
seriesData
}
=
obj
const
{
tooltipFormatter
,
seriesData
}
=
obj
var
barLineOption
=
{
var
barLineOption
=
{
tooltip
:
{
//
tooltip: {
trigger
:
'axis'
,
//
trigger: 'axis',
borderWidth
:
0
,
//
borderWidth: 0,
padding
:
0
,
//
padding: 0,
backgroundColor
:
'#051526'
,
//
backgroundColor: '#051526',
formatter
:
tooltipFormatter
||
''
//
formatter: tooltipFormatter || ''
},
//
},
xAxis
:
{
xAxis
:
{
data
:
[]
data
:
[]
},
},
...
...
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