修改dataZoom结束函数
This commit is contained in:
@ -170,7 +170,14 @@ export default {
|
|||||||
top: 50,
|
top: 50,
|
||||||
bottom: 50,
|
bottom: 50,
|
||||||
},
|
},
|
||||||
dataZoom: {},
|
dataZoom: {
|
||||||
|
type: 'slider',
|
||||||
|
start: 0,
|
||||||
|
end: this.dataZoomEnd(month.length, 5),
|
||||||
|
textStyle: {
|
||||||
|
color: '#fff',
|
||||||
|
},
|
||||||
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
name: '数量',
|
name: '数量',
|
||||||
@ -299,7 +306,10 @@ export default {
|
|||||||
dataZoom: {
|
dataZoom: {
|
||||||
type: 'slider',
|
type: 'slider',
|
||||||
start: 0,
|
start: 0,
|
||||||
end: 50,
|
end: this.dataZoomEnd(deptName.length, 5),
|
||||||
|
textStyle: {
|
||||||
|
color: '#fff',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
color: ['#ccc', 'red'],
|
color: ['#ccc', 'red'],
|
||||||
yAxis: [
|
yAxis: [
|
||||||
|
@ -508,7 +508,14 @@ export default {
|
|||||||
top: 50,
|
top: 50,
|
||||||
bottom: 50,
|
bottom: 50,
|
||||||
},
|
},
|
||||||
dataZoom: {},
|
dataZoom: {
|
||||||
|
type: 'slider',
|
||||||
|
start: 0,
|
||||||
|
end: this.dataZoomEnd(month.length, 5),
|
||||||
|
textStyle: {
|
||||||
|
color: '#fff',
|
||||||
|
},
|
||||||
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
name: '数量',
|
name: '数量',
|
||||||
@ -641,7 +648,10 @@ export default {
|
|||||||
dataZoom: {
|
dataZoom: {
|
||||||
type: 'slider',
|
type: 'slider',
|
||||||
start: 0,
|
start: 0,
|
||||||
end: 50,
|
end: this.dataZoomEnd(deptName.length, 5),
|
||||||
|
textStyle: {
|
||||||
|
color: '#fff',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
color: ['#ccc', 'red'],
|
color: ['#ccc', 'red'],
|
||||||
yAxis: [
|
yAxis: [
|
||||||
|
Reference in New Issue
Block a user