1

I want to know is it possible to set background like this in MP chart library's Line chart like this, only in the graph area:

Expected Graph Result

I tried

lineChart.background = ContextCompat.getDrawable(requireContext() , R.drawable.ic_graph)

but it applied background to the whole linechart with axis and everything.

enter image description here

Matt
  • 12,848
  • 2
  • 31
  • 53
Rahul Pawar
  • 403
  • 3
  • 13

0 Answers0