Here I will show you an easy way by "Traditional Android Way", it's quite simple, my code is below:
Just need to add some padding to the container layout, or some margin to the chart view, and finally set clipChildren&clipToPadding to false.
Result below:
the blue area is padding or margin area.
