No way to add padding to inner container in react-native-chart-kit
I’m using a custom render on the dots to print the abbreviated value above the dot instead of using a y axis legend. However, the top-most value gets cut off by the upper boundary of the chart’s container. I tried adding padding top to both the chart component itself, as well as the chart props. Adding paddingTop
to the chart component props does add padding but it’s only to the outer container. Adding any styles to the style prop in the chartConfig
prop seems to have no effect.
add accessibility label for data points on a line chart using react-native-chart-kit
i’m new to react native, so please bear with me.