cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, December 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, January 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
AdditiveRange10
Level III

Offsetting Value labels in a bar graph

Hello All,

I have a question regarding value label offsets which I have not been able to figure out. I have a script which generates a lot of bar graphs with 2 Y variables and then another Y variable below. All of the Y variables should have label values. However, I am putting a hard axis max on the Y axis of the top two variables so that in some cases the bar tops would be cut off. Thus the label value would not be visible.

I want to have the labels be somewhere close to the Y=0 line or slightly offset from it. Something like the image attached 

AdditiveRange10_0-1731437654120.png
I am using JMP 16 but will be getting 18 soon so solutions for both are welcome.

2 REPLIES 2
jthi
Super User

Re: Offsetting Value labels in a bar graph

One thing you could do is to add second Y-axis on the right side (add to same Y-axis first and then right click -> move to right) and then make maximum Y value very large on that. Disable labels for left side and leave them enabled for right side.

jthi_0-1731438343821.png

Then hide the axis from right side

jthi_1-1731438420313.png

jthi_3-1731438441636.png

 

 

-Jarmo
hogi
Level XIII

Re: Offsetting Value labels in a bar graph

Besides the nice trick via the secondary Y axis, here is an excellent blog post how to fine tune the position via JSL:

Graph Builder Bar Graph Label Offset  (@Byron_JMP )

 

and here is a post in the wish list with the idea to provide the functionality directly via the GUI:

Graph builder bar chart data label control 

Recommended Articles