@suibgui I'm not sure what the issue is you're trying to resolve. Do you want the labels in your horizontal bars not to show or is it the way they are showing up that's the problem?
If it's the way they are showing up and you want them to display to the right, try the following:
Change "align":"right" to "align":"left"
Add an "xOffset": <some positive value> where gives you enough space to render your longest string
Change your encoding test type according to what you need as per the docs
I tried these settings using the vega editor:
While we technically don't support using vega-lite but try to help where we can . I'm not a Vega expert but the docs are pretty good. Here's a quick link to the documentation for marks
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.