How to display the days on contributions using react-native-chart-kit

Viewed 16

I'm using react-native-chart-kit to create a contributions chart (Examples shown below). However, it's clear that the Days contributions have taken place on are not easily visible. It would be useful if the squares contained the day number. Does anyone know of a way to achieve this?

enter image description here

<ContributionGraph
      values={contributions}
      endDate={new Date("2022-09-18T18:20:55.000Z")}
      numDays={96}
      width={screenWidth}
      height={220}
      chartConfig={{
         backgroundGradientFrom: config.colors.tertiary,
         color: (opacity = 1) => `rgba(255, 255, 255, ${opacity})`,
         }}
/>

Looking at the documentation, it doesn't appear as though there's a property available for this.

0 Answers
Related