Answers for "markerview mpchart android"

0

markerview mpchart android

Your MarkerView is not showing because you have not highlighted any entry in your chart. The MarkerView is only displayed for entries that are highlighted.

Since you disabled the functionality to highlight entries per tap (by calling chart.setHighlightPerTapEnabled(false)), you can only highlight values programmatically, like this:

chart.highlightValue(...)
Posted by: Guest on February-23-2021
0

markerview mpchart android

Please have a look at the documentation of the markerview.

There you can find information how to achieve what you want. Basically, you will have to extend the MarkerView class and refresh it's content in the refreshContent(Entry e, int dataSetIndex) method.

Share
Posted by: Guest on February-23-2021

Code answers related to "markerview mpchart android"

Browse Popular Code Answers by Language