Open alburdette619 opened 6 years ago
Handling this one too...
@alburdette619 did you find any solution to this?
i had the same issue ended up putting another transparent layer on top of all other layers, that placed all points from all charts. then, when positioned directly above the visible point, it responded to touches.
Sorry to not reply @angelos3lex I put in #240 that adds support for a stacked line chart that address this. To make my specific child touchables bigger however I did much of what @ido-kang did. The points on my graph are now decorational only and there are transparent squares above all of them with touch events.
Hi ,Sorry am new to react native i try to use your example to create multiple line but no luck my app keep crashing,is there a solution for that,thanks.
What is the problem?
Currently the only way to overlay multiple lines is to follow the layered charts story and overlay them. The works and displays all data, but doesn't allow for touch events on children beyond the top most chart.
When does it happen?
Follow the decorator story, add onPress to each
Circle
, and add multiple line charts with the decorator child.What platform?
React Native version: 0.55.4
Code to reproduce