We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To continue with issue
When I change the dataset, it just rerenders for datapoints. It doesn't rerender to remove old line and add new line based on dataset
The text was updated successfully, but these errors were encountered:
this my code, I overcame by update a new timestamp to key prop (force rerender). Is there any better solution than this?
` useEffect(() => {
if (batteryChart && batteryChart.length > 0) { const result = parseDTOtoChartModel( batteryChart, renderDataPointLabelComponent, ).dataSet setDataSet(result) savedDataSet.current = result.map(a => Object.assign({}, a)) setRenderChartWithDateKey(date) // force rerender } else if (batteryChart) { setDataSet(emptyChart24hDataset) savedDataSet.current = emptyChart24hDataset.map(a => Object.assign({}, a), ) setRenderChartWithDateKey(date) // force rerender } }, [batteryChart])`
Sorry, something went wrong.
No branches or pull requests
Simulator.Screen.Recording.-.iPhone.14.Pro.Max.-.2024-07-26.at.10.44.09.mp4
To continue with issue
When I change the dataset, it just rerenders for datapoints. It doesn't rerender to remove old line and add new line based on dataset
The text was updated successfully, but these errors were encountered: