react-native-vs-charts
react-native-vs-charts copied to clipboard
_renderYAxisLabels etc. is rendered even if showValueLabels etc. is false
I noticed that all the elements of <Axes> such as grids, ticks, labels, axis lines are always rendered even if the corresponding props were set to false. As I'm not showing all of these elements, skipping their rendering has helped me with the slow performance I experienced with 300 categories.
This quick&dirty fix illustrates the issue: https://github.com/johannesschirrmeister/react-native-vs-charts/commit/5d09571348f48d80efd52ff31f52845ad99040cf