vldmarton
vldmarton
Just found a solution - you can use this code to adjust txt color: ``` XAxis xaxis = chart.getXAxis(); YAxis yaxis = chart.getAxisRight(); switch (getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK) { case Configuration.UI_MODE_NIGHT_YES:...
To continue on Rajnish'es answer: Generate random number: `const rnd = (len, chars='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') => [...Array(len)].map(() => chars.charAt(Math.floor(Math.random() * chars.length))).join('')` Use it in state: `const [randomDivKey, setRandomDivKey] = useState(rnd(24))` Use it...