Can we add MarkerView to PieChart and HorizontalBarChart from MPAndroidChart library?
I did try adding the MarkerView to the pie chart as the following:
TooltipView tooltipView = new TooltipView(context,R.layout.tooltip_layout, metadata);
chart.setMarkerView(tooltipView);
But when I click on the slice of the pie chart, no MarkerView is shown.
Also, the same thing happens for horizontal bar chart.
HorizontalBarChart. I'm using v2.1.3 of MPAndroidChart library. My implementation of customMarkerViewis correct, because if I simply changeHorizontalBarCharttoBarCharteverything works as expected. Once I returnHorizontalBarChartback, no markers are displayed. - HitOdessit