mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
chore: Disables minor ticks by default (#26310)
This commit is contained in:
committed by
GitHub
parent
8c32c6da16
commit
eb65cea971
@@ -160,6 +160,7 @@ export default function transformProps(
|
||||
opacity,
|
||||
opacityB,
|
||||
minorSplitLine,
|
||||
minorTicks,
|
||||
seriesType,
|
||||
seriesTypeB,
|
||||
showLegend,
|
||||
@@ -499,6 +500,7 @@ export default function transformProps(
|
||||
formatter: xAxisFormatter,
|
||||
rotate: xAxisLabelRotation,
|
||||
},
|
||||
minorTick: { show: minorTicks },
|
||||
minInterval:
|
||||
xAxisType === 'time' && timeGrainSqla
|
||||
? TIMEGRAIN_TO_TIMESTAMP[timeGrainSqla]
|
||||
@@ -520,7 +522,7 @@ export default function transformProps(
|
||||
type: logAxis ? 'log' : 'value',
|
||||
min: yAxisMin,
|
||||
max: yAxisMax,
|
||||
minorTick: { show: true },
|
||||
minorTick: { show: minorTicks },
|
||||
minorSplitLine: { show: minorSplitLine },
|
||||
axisLabel: {
|
||||
formatter: getYAxisFormatter(
|
||||
@@ -541,7 +543,7 @@ export default function transformProps(
|
||||
type: logAxisSecondary ? 'log' : 'value',
|
||||
min: minSecondary,
|
||||
max: maxSecondary,
|
||||
minorTick: { show: true },
|
||||
minorTick: { show: minorTicks },
|
||||
splitLine: { show: false },
|
||||
minorSplitLine: { show: minorSplitLine },
|
||||
axisLabel: {
|
||||
|
||||
Reference in New Issue
Block a user