79267785

Date: 2024-12-10 10:05:11
Score: 1.5
Natty:
Report link

in my case is: first you just override getOffset() in your customMarkerView class and return MPPointF(-(width / 2f), -height.toFloat())

after that, set chart view into MarkerView.chartView.

in my case like this.

val marker=CustomMarkerView(requireContext(),R.layout.custom_market_view,dataMarker) marker.chartView = binding.chartDiscover

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: ajizul hakim