MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

Barchart add tooltip

Open cynuxsolutions opened this issue 9 years ago • 3 comments

I wanted to show star and value tooltip in Bar graph of CombinedChart MPAndroidChart like in below image. 0yule

If bar value is >= to goal value then add star in bar. And if user click on particluar bar then show tooltip as per image. Can any one help me for customize same.

cynuxsolutions avatar Dec 27 '16 07:12 cynuxsolutions

For the tooltip, use a Marker.

For the star, probably some sort of custom Renderer though there may be an easier way.

JStav avatar Dec 27 '16 18:12 JStav

@JStav Thanks for your response. For star i used custom Renderer and it working fine.

cynuxsolutions avatar Dec 30 '16 06:12 cynuxsolutions

Great! Glad I could help

JStav avatar Dec 30 '16 11:12 JStav