Skip to content

Commit

Permalink
fix(theme): hide axisTick by default
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenOutman committed Jun 14, 2022
1 parent 5439e3a commit 66eca98
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/theme/rsuite_light.project.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"name": "通用坐标轴",
"axisLineShow": true,
"axisLineColor": "#e5e5ea",
"axisTickShow": true,
"axisTickShow": false,
"axisTickColor": "#333",
"axisLabelShow": true,
"axisLabelColor": "#575757",
Expand Down
8 changes: 4 additions & 4 deletions src/theme/rsuite_light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const theme = {
}
},
axisTick: {
show: true,
show: false,
lineStyle: {
color: '#333'
}
Expand Down Expand Up @@ -219,7 +219,7 @@ const theme = {
}
},
axisTick: {
show: true,
show: false,
lineStyle: {
color: '#333'
}
Expand Down Expand Up @@ -249,7 +249,7 @@ const theme = {
}
},
axisTick: {
show: true,
show: false,
lineStyle: {
color: '#333'
}
Expand Down Expand Up @@ -279,7 +279,7 @@ const theme = {
}
},
axisTick: {
show: true,
show: false,
lineStyle: {
color: '#333'
}
Expand Down
7 changes: 0 additions & 7 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,6 @@ const createOptions = {
return _merge(
{
boundaryGap: !!series.find((comp: any) => comp.type[symbols.typeKey] === symbols.bars),

axisTick: {
show: false
},
axisLabel: transformTextOption(axisLabel, {
show: true
}),
Expand Down Expand Up @@ -269,9 +265,6 @@ const createOptions = {
axisLine: {
show: false
},
axisTick: {
show: false
},
axisLabel: transformTextOption(axisLabel, {
show: true
}),
Expand Down

0 comments on commit 66eca98

Please sign in to comment.