Unfortunately we don’t provide listener for scrolling on axis title out of the box. The closest behavior which we provide out of the box are XAxisDragModifier/YAxisDragModifier. They modify VisibleRange of axis when you perform scroll gesture inside axis rect. These modifiers are implemented as custom ChartModifiers which listens to touch events from entire chart, but change VisibleRange only if touch event is within axis bounds. So theoretically you can use similar approach to perform some custom action instead of changing VIsibleRange.
May I ask what are you trying to achieve? Why do you need scrolling on axis title?
If you’re using X/YAxisDragModifier and want to increase touch area, you can set MinTouchArea property on this modifier. In this case modifier should extend touch area in horizontal/vertical direction by specified amount of pixels.
Is this suitable for your needs?
Hi ,i’ve tried adding some values to XAxisDragModifier,but it didn’t make any change on touch area.I think set some wrong values.i’ll share code snippet
val xAxisDragModifier = XAxisDragModifier()
xAxisDragModifier.dragMode = AxisDragModifierBase.AxisDragMode.Pan
xAxisDragModifier.clipModeX = ClipMode.None
its not increasing or decreasing the touch area. What am i doing wrong here?
Please login first to submit.