chore: Disables minor ticks by default (#26310)

This commit is contained in:
Michael S. Molina
2023-12-20 08:34:27 -03:00
committed by GitHub
parent 8c32c6da16
commit eb65cea971
12 changed files with 34 additions and 3 deletions

View File

@@ -146,6 +146,7 @@ export default function transformProps(
markerSize,
metrics,
minorSplitLine,
minorTicks,
onlyTotal,
opacity,
orientation,
@@ -456,6 +457,7 @@ export default function transformProps(
formatter: xAxisFormatter,
rotate: xAxisLabelRotation,
},
minorTick: { show: minorTicks },
minInterval:
xAxisType === AxisType.time && timeGrainSqla
? TIMEGRAIN_TO_TIMESTAMP[timeGrainSqla]
@@ -474,7 +476,7 @@ export default function transformProps(
type: logAxis ? AxisType.log : AxisType.value,
min: yAxisMin,
max: yAxisMax,
minorTick: { show: true },
minorTick: { show: minorTicks },
minorSplitLine: { show: minorSplitLine },
axisLabel: {
formatter: getYAxisFormatter(