Exploring, modeling, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Y axis Tick Values inside the graph

New Contributor
Posts: 3

Y axis Tick Values inside the graph

Dear community support,

Is it possible to use the graph builder to create a custom horizontal bar chart with the Y axis tick values inside the graph?

Normally the Y axis tick values appear on the left of the Y axis, I want them inside the graph, on the right, with the data "on top" of the Y tick values.

As an example I found this image.


Any replies would be greatly appreciated.

Best regards,


SAS Employee
Posts: 11

Re: Y axis Tick Values inside the graph

Hi Stefan,

One thing you can try is overlaying a scatterplot on top of the barchart.  You can then add a datalabel role to the scatterplot and make its type=character.  Next, you would need to turn off the display of the y axis tickmarks for the barchart and use the datalabels from the scatterplot in their place.  This method would require you to create a dummy dataset for the scatter plot so that you can position the labels exactly where you want them.  You might also have to make some changes to the properties of the scatterplot markers so that they would not be visible. (Maybe make them the same color as the barchart fill color).  Attached is a very rudimentary example that illustrates a path you can follow in attempt to solve your problem.  Hopefully others can share more possibilities.



New Contributor
Posts: 3

Re: Y axis Tick Values inside the graph

Dear Scott,

Thank you for your detailed reply. Unfortunatly the method doesnt work as my data sets are too big to create a scatterplot.

I will keep fiddling and if I find a solution I will post it here too. Maybe its a nice feature to implement in coming versions as the Y tick lables are being generated already, its just a matter of mirroring their horizontal position to the other side of the Y axis.

Post a Question
Discussion Stats
  • 2 replies
  • 1 like
  • 2 in conversation