Current version 10.0 A lite version is available: xChartLite. A mini version is also available: xChartMini. Learning B4XViews and XUI, I wrote this CustomView xChart Class. It is an evolution of Erels' Android Charts Framework. The xChart custom view is a B4X libary. It works on all three...
www.b4x.com
Is there a way to hide values that are 0?
The color does not quite match my background color, since I don't want to display 0 now, it would be nice if you could hide them
Can you post a small project showing the problem.
Normally the zeros should be displayed in white. The program looks for the contrast color.
In your case, the reader does even not know that there are 4 bars and not three.
I set the ChartBackgroundColor to transparent so that I have one less property (I use several charts) to worry about when switching from dark to light mode, which is probably why it can't determine the correct color
The transparent color is the problem.
I will not add a HideZeroValues property because it will not solve the real problem. Zero values are a special case. What about values near zero ?
When the text length of a bar value is longer than the bar height, the text is displayed above or below the bar and in these cases the problem remains.