Open KevinAlvarez-JaJa opened 3 months ago
The change comes from here https://github.com/PhilJay/MPAndroidChart/pull/5420 and I recommend to start to debug
The change comes from here PhilJay#5420 and I recommend to start to debug
I have been debugging and I just wanted to ask if there are any example uses of either of the rounded bar chart renderers (apart from the pie chart renderer), as I have not found any working use cases? It would help a lot if I knew the intended way to use the custom renderer of the bar charts.
I made at least a sample https://github.com/AppDevNext/AndroidChart/pull/239/commits/3bc194d7e12ab83ada2e28c44ee44a34abfd1085#diff-d5e9f4a0673a80af653d3221b0e4e8830ec3dfabdf090f6deca92eb75b74a9c0
containing screenshot tests as well https://github.com/AppDevNext/AndroidChart/pull/239/commits/814de5e7c833749f694532c74aae79a661332194
Im trying to program a spending limit with rounded corners and my current chart is this:
I use a horizontal bar chart which is split into spent and remaining, assigned values here:
However, when setting the renderer like here:
as needed
The bar chart is loaded in as I can highlight it however there is no color at all, it is the same color as the background (commenting out setting the custom renderer fixes this)
I think the RoundedHorizontalBarChartRenderer doesn't work with split bar charts. If this is not the case if someone can let me know what I am doing wrong, if it is the case then I would be happy to give a go fixing it.