This commit is contained in:
duanxiaohai 2024-04-16 14:52:07 +08:00
parent 9aa70e38ae
commit fef474d64a
4 changed files with 38 additions and 22 deletions

View File

@ -130,6 +130,9 @@ let option = {
autoSplitNumber: 5,
},
},
axisTick: {
show: true, // x
},
},
yAxis: {
show:true,
@ -138,24 +141,25 @@ let option = {
// max:10,
//y
axisLabel: {
show: true ,
inside: false,
// bargap: 0.5, //
textStyle: {
color: "#ffffff",
},
},
axisTick: {
show: false, // x
},
//y线
axisLine: {
"show":true,
show:true,
lineStyle: {
color: "#ffffff",
width: 1,
type: "solid",
},
},
axisTick: {
show: true, // x
},
//
// scrollbar: {
// orient: "vertical",

View File

@ -65,7 +65,6 @@ const option = {
color: "#ffffff",
},
calculable: true,
// color: "rgba(0, 252, 255, 1)",
color,
xAxis: [
{
@ -77,7 +76,9 @@ const option = {
color: "#ffffff",
},
},
axisTick: {
show: false, //
},
data: ["2019", "2020", "2021", "2022", "2023"],
},
{

View File

@ -77,7 +77,9 @@ const option = {
color: "#ffffff",
},
},
axisTick: {
show: false, //
},
data: ["4.07", "4.08", "4.09", "4.10", "4.11"],
},
{
@ -155,6 +157,11 @@ const option = {
name: "上门服务次数",
data: lineData,
type: "line", //线
itemStyle: {
borderColor: "#00FCFF",
borderWidth: 1,
color: "#00FCFF",
},
},
{
xAxisIndex: 1,

View File

@ -71,7 +71,8 @@ let option = {
// },
// ],
dataZoom: [
{//使
{
//使
id: "dataZoomY",
type: "slider",
yAxisIndex: [0], // y
@ -80,10 +81,16 @@ let option = {
height: "100%",
right: "3%", //
orient: "vertical", // 'horizontal''vertical'
// zoomLock: true, //
start: 0, // ,0 ~ 100
end: 70, //
handleSize: 8,
zoomLock: true, //
fillerColor: "rgba(154, 181, 215, 1)", //
borderColor: "rgba(17, 100, 210, 0.12)",
backgroundColor: "#cfcfcf", //
handleSize: 0, //
showDataShadow: false, // auto
showDetail: false, //
zoomOnMouseWheel: false, //
moveOnMouseWheel: true, //
moveOnMouseMove: true, //
@ -144,12 +151,9 @@ let option = {
type: "solid",
},
},
//
// scrollbar: {
// orient: "vertical",
// //
// height: 100,
// },
axisTick: {
show: false, // x
},
//线
splitLine: {
show: false,