Skip to main content

I have to make the labels on the bar graph to be vertical.  There are some labels that are shorter than others.  All the labels are pushed close to the bar in vertical position / alignment. 

 

I would like to have all the labels to be justified to the bottom, so event here is a white space for the labels that are shorter,Its OK

 

Appreciate if anyone has an idea to solve this issue. Thanks in advance for your help.

 

Attached is screenshot of the bar graph I am referring to...

3 answers
  1. Mar 28, 2014, 10:14 PM

    Hello Srinivasa Bezwada,

     

    Great question here. The formatting options don't allow for the left justify suggested.

     

    One option that I can think of is to utilize a monospace font such as courier new in conjunction with a calculated field  to create a new field that has a space fill to the right of the text in the original field. 

     

    For instance in the attached workbook, I have shown an example using the State field within the Superstore sample data set with the calculated field:

     

    [State]+Space(20-Len([State]))+CHAR(62)

     

    (notice the addition of the greater than symbol with CHAR(62) because Tableau will automatically right trim blank spaces used in Headers)

     

    This creates a view like this:

    Hello Srinivasa Bezwada, Great question here. The formatting options don't allow for the left justify suggested.

     

    It all falls apart if we swap out a font like Arial though.

     

    If this is a desired feature, please add it to the Ideas section of the forums as well so other users can vote on it.

    Ideas

     

    Hope that helps.

     

    Patrick

0/9000