# How to get padding between axis label and ticks with VegaLite.jl?

**URL:** <https://discourse.julialang.org/t/how-to-get-padding-between-axis-label-and-ticks-with-vegalite-jl/72249>\
**Category:** General Usage\
**Tags:** plotting, vega, vegalite\
**Created:** [November 29, 2021, 5:05pm UTC](https://discourse.julialang.org/t/how-to-get-padding-between-axis-label-and-ticks-with-vegalite-jl/72249 "2021-11-29T17:05:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nosferican](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nosferican/32/9275_2.png) [@Nosferican](https://discourse.julialang.org/u/Nosferican)\
**Post date:** [November 29, 2021, 5:05pm UTC](https://discourse.julialang.org/t/how-to-get-padding-between-axis-label-and-ticks-with-vegalite-jl/72249/1 "2021-11-29T17:05:04Z")

</div>

I am having an issue with VegaLite.jl where the label is overlapping with the ticks in the y-axis. I haven’t been able to find any parameter to add some padding between the two values. CC: @davidanthoff

 ![example](https://global.discourse-cdn.com/julialang/original/3X/1/f/1f24a83dd25c5e2d718b1bf5c27621902d2e9285.png)

---

<div class="post-metadata">

**Author:** ![Eric](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eric/32/25565_2.png) [@Eric](https://discourse.julialang.org/u/Eric)\
**Post date:** [November 29, 2021, 11:13pm UTC](https://discourse.julialang.org/t/how-to-get-padding-between-axis-label-and-ticks-with-vegalite-jl/72249/2 "2021-11-29T23:13:33Z")

</div>

I would try the “titlePadding” on the axis.

Some documentation is available here: ([Header | Vega-Lite](https://vega.github.io/vega-lite/docs/header.html#general))  
and here is an example in json vega editor, not julia, but hopefully, it will give you a starting point.  
([Vega Editor](https://vega.github.io/editor/#/url/vega-lite/N4IgJAzgxgFgpgWwIYgFwhgF0wBwqgegIDc4BzJAOjIEtMYBXAI0poHsDp5kTykBaADZ04JAKyUAVhDYA7EABoQAEzjQATjRyZ289AEEABJnVxBwiIaZJ1h2DcyGIMNgHcasssfiGAqgGVDHDYcBkEkHTlDZRoIExomBkjZQzYAM0MkMjhDMnU2BjxM2WVcuBK4Ww9DACYABgbKRRUIlFRQBnVBNBbMJAJg0PDkqRl5AF8lEyRZCDS2dQQ0AG1QNJpBTEqe5QiGBEoATzgbQwBeM9qGupBJ0CgkQSgwiLgdvYOIOAAPc8uawwAfkMAHIAGKIR5wEGGVCggCyUJBzSQEB62Qq6luAF0lO5lPQ0KA4nAcGgAIwAdkmIGQ6gA1j1rFilOUoGwYp4iSB2YJ9no1jQzMp0eVVCyMCdxdydJhBHAwXJMP4aAAvN6oepKcJMMyK2TKtUa8licY0w7crJ5PhbHoQfbNdbCno4OAheXNWUe9CDF7JFHfWIyujygAKSGUnLIaAAHHUzUpvtynYIRegsm8podXT0FpzHrclLyFsmhanRZjmtAodz1DNsisQABiABslLE5IAnABmZpNh4xmMt8kgbFms1AA))
