cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
Choose Language Hide Translation Bar

non-overlapping labels

What inspired this wish list request? 

I have a bubble plot that I have to label and provide on a recurring basis.  I need the labels to automatically position themselves to they don't overlap though or even hide if there isn't room for them.  JMP doesn't have that functionality (and neither does Excel or Power BI).  However, R does, so that's what I'm forced to use.

 

What is the improvement you would like to see? 

This is the snippet of R code for my ggplot visual that creates the point labels without overlapping them.

g1 = g1 + geom_text_repel(
aes(color = !!input$color_by), # map color here!
size = 3.5, # font size in the text labels
min.segment.length = 0, # draw all line segments
nudge_x = ifelse(g1$data[input$xvar] > 3, -0.2, 0.2),
force = 10,
force_pull = 1,
box.padding = 0.3
)

It's extensively documented here:  https://r-graphics.org/RECIPE-SCATTER-LABELS.html

 

Why is this idea important? 

I create ad hoc analyses outside of R and JMP is my go-to platform for such things.  Unfortunately, labeling the points is terrible and is especially frustrating since I know it's possible in R.  This also feels like an intuitively important feature that could be used on many plot types, not just scatter.