I'm using the MPAndroidChart library, trying to customize the Stacked Bars.
The objective is to display the differences between 2 currencies.
So suppose this example for January.
Currency #1 = 8;
Currency #2 = 12
The idea is to show in the same bar both values, but instead of sum the 2 values ( 8 + 12) to have the value 8 "in front" and the value 12 "behind".
So the total high of the bar is the max value.
I tried to do that, extending the BarEntry class, and instead of calculate the sum, just set the max value. But I'm seeing only one bar now (the one with value = 12)
Do you know if this kind of logic is supported? Any advice?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…