react-native-gifted-charts icon indicating copy to clipboard operation
react-native-gifted-charts copied to clipboard

added option to auto adjust pointer only for x or y axis instead of both of them

Open IgnacioMadariaga opened this issue 2 years ago • 1 comments

If i activate autoAdjustPointerLabelPosition, the app renderer the pointerComponent bellow the line and the user finger covers the showed values.

So, i create two optional props: autoAdjustPointerXLabelPosition and autoAdjustPointerYLabelPosition, this value is default to true if autoAdjustPointerLabelPosition its true, but i can set one of them into false, allowing the developer to select according his use cases.

IgnacioMadariaga avatar Jan 23 '23 17:01 IgnacioMadariaga

Works great! Thanks @IgnacioMadariaga

sclavijo93 avatar Aug 16 '23 17:08 sclavijo93