Thanks for the help on this @Ba_Gen!
It looks like this post was for our now deprecated older version of the chart component.
With the new v2 bar chart component, you can add in the code snippet you shared into this input field in the spot I show in my screenshot below.
