Mpandroidchart: How to show multiple value of BarEntry on markerView

Created on 4 Oct 2017  ·  3Comments  ·  Source: PhilJay/MPAndroidChart

How can I create custom MarkerView like bellow?
screen shot 2017-10-04 at 12 57 44 pm

Most helpful comment

222

the stack colum - you can use BarDataSet‘s method to setStackLabels
qq 20171219115755
the marker - you can add extraData when you set charData then use Entry.getData to get that extradata
sss
qq 20171219120229

All 3 comments

you can create custom marker. refer to this link https://github.com/PhilJay/MPAndroidChart/wiki/MarkerView

222

the stack colum - you can use BarDataSet‘s method to setStackLabels
qq 20171219115755
the marker - you can add extraData when you set charData then use Entry.getData to get that extradata
sss
qq 20171219120229

感谢老哥, 我看demo里面没有,我还以为 markerView 很垃圾呢,没想到是这么用的,学到了 @Sum41forever

Was this page helpful?
0 / 5 - 0 ratings