Update LineChartProps.md

This commit is contained in:
Abhinandan Kushwaha 2022-05-20 03:10:10 +05:30 committed by GitHub
parent a39517dd12
commit 13d89c61f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -336,6 +336,11 @@ The <b>strokeDashArray</b> property lets us render a dashed/dotted strip along t
3. pointerY
When the chart is pressed, it returns the index of the data point pressed.<br/>
When the chart is scrolled after pressing, it returns the index of the data point currently focused.<br/>
When the chart is released, it returns the index -1.<br/>
### onPress and strip related props
Line or Area charts can be made interactive by allowing users to press on the chart and highlight that particular data point. For example-