PhilJay / MPAndroidChart

A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
Other
37.48k stars 9k forks source link

How to set Top Margin Between X-Axis and Labels #3432

Open vksingh225 opened 6 years ago

vksingh225 commented 6 years ago

I want to give spacing in linechart between the labels and the X-axis, how can i achieve this ? Because at zero condition the circle and the labels are touching each other. line-chart

bogdan-evtushenko commented 3 years ago

Take a look on this issue #4070.

jay43 commented 1 year ago

You need to apply offset:

Also You can check this Answer: https://github.com/PhilJay/MPAndroidChart/issues/4070#issuecomment-398335791