You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to have multiple line charts with different x and y values combined in one chart?
I am using scatter on each line and on pressing scatter want to display data under the chart.
Right now, scatter is being displayed on data points but I am only able to use touch points on the first line chart only.
I am only getting touch point data from first line. On pressing scatter on other lines i am getting NaN.
Also, in "value" variable no matter i click on which line i am always getting ''isFirstPressActive'' as true.
The text was updated successfully, but these errors were encountered:
ammann29
changed the title
multiple line charts with different tooltips in one chart
multiple line charts with different tooltips combined in one chart
Oct 4, 2024
because not all the pumps have a value for where you are touching, so that is why it's NaN, and in your code you were always reaching for pump1s data primarily... It's pretty sensitive touch area, but try this out.
Question
Is it possible to have multiple line charts with different x and y values combined in one chart?
I am using scatter on each line and on pressing scatter want to display data under the chart.
Right now, scatter is being displayed on data points but I am only able to use touch points on the first line chart only.
I am only getting touch point data from first line. On pressing scatter on other lines i am getting NaN.
Also, in "value" variable no matter i click on which line i am always getting ''isFirstPressActive'' as true.
"victory-native": "^41.0.1"
"react-native": "^0.71.7"
"@shopify/react-native-skia": "^1.4.2"
"react-native-reanimated": "^3.15.4"
"react-native-gesture-handler": "^2.20.0"
Screen.Recording.2024-10-04.at.12.59.10.PM.mov
The text was updated successfully, but these errors were encountered: