react-native-vs-charts icon indicating copy to clipboard operation
react-native-vs-charts copied to clipboard

_renderYAxisLabels etc. is rendered even if showValueLabels etc. is false

Open johannesschirrmeister opened this issue 9 years ago • 0 comments

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

johannesschirrmeister avatar Nov 24 '16 11:11 johannesschirrmeister