Live example:
app/demo/axis-auto-hide.tsx
in the example app.axisAutoHide keeps the chart uncluttered at rest: its X and Y axes — grid,
ticks, and labels — are faded to an idle opacity. They fade back in when a user
scrubs, time-scrolls, flings, or pinch-zooms, then return to their idle opacity
after interaction has settled.
LiveChart,
not LiveChartSeries; it has no effect on an axis already disabled with
xAxis={false} or yAxis={false}.
Configure the idle state
Pass anAxisAutoHideConfig to tune the transition. All durations are in
milliseconds. These are the defaults used by axisAutoHide:
fadeInMs— duration to reveal the axes when interaction begins.fadeOutMs— duration to return to the idle state.idleOpacity— resting opacity from0(hidden) to1(fully visible).hideAfterMs— delay after interaction settles before the fade-out begins.
false immediately restores fully visible axes; enabling it starts at
the configured idle opacity.