-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onPress usage with LineChart #570
Comments
|
Did you figure it out? |
Can try to use this function when use the custom component from "LineChart"
|
Hi @izniburak @wkchoong @ahsan-abrar |
Hi,
I use v1.4.3 of the package. I have a question about the
onPress
functionality inLineChart
.I think it doesn't have an useful experience, because to press
dot
in the chart is very hard. I tried to usecustomDataPoint
prop and prepared a custom component withPressable
component in order to useonPress
. ButonPress
still didn't work.Apart from that, I also couldn't use
onPress
functionality with the chart texts in the X axis. Normally, when I useBarChart
and press the any text in X axis,onPress
is triggered. Why we don't use similar functionality withLineChart
?Also, I know that,
LineChart
has some props such asfocusEnabled
,onFocus
,onPress
to handle 'press' actions. But, as I said, I think the experience of the LineChart onPress events not good. I would be good if it has similar behaviour withBarChart
.Do you have any suggestion for that?
The text was updated successfully, but these errors were encountered: