Open mersimoski opened 1 year ago
Hi @mersimoski, you can pass the onPress action in the data array. Like the below array.
const data = [ { key: 1, amount, svg: { fill: '#212120', onPress: () => { Alert.alert('onPress', '1') } }, label: '1', completedAt: new Date() },]
Hello, i dont know if it already exists but is it possible to have a pressable pie of the pie chart, im generating text over the pies and if i add onPress on them it works only on the text press which is not good UX, i want the whole part of a certain pie percentange to be clickable, thanks in advance.