How to fix Mpandroidchart value is over when it is 0

Asked

Viewed 40 times

0

inserir a descrição da imagem aqui

I’m having this problem when using Mpandroidchart, can anyone tell me if you have any method to put a spacing between one value and another? not to be so on top? Thank you

1 answer

0

Fala Rafael,

You want to show on the chart even when the value is 0?

Because you can add to the chart, only when the value is greater than 0, example:

if(value > 0){
   dataSet.add(...)
} else {
   // faz nada
}

Hugs.

  • Yes, because sometimes for example are 3 dice, one of them can come with 24 thousand and the other with 10, then I have to display the same way, I wonder if there is a way I put a spacing between the texts not to be like this

Browser other questions tagged

You are not signed in. Login or sign up in order to post.