cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New to using JMP? Hit the ground running with the Early User Edition of Discovery Summit. Register now, free of charge.
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
Choose Language Hide Translation Bar
sibanibisoyi
Level I

Adding Data Labels in a graph using scripting

Hello,

I need help in adding the Data Labels in a graph using Scripting. I want to display always the data value of the recent row. 

I marked the column as Label, and I also marked the row as label. But I don't know how can I write the script for the same.

 

 

1 REPLY 1
txnelson
Super User

Re: Adding Data Labels in a graph using scripting

Below is an example of how to accomplish what you want.  You need to get familiar with the Scripting Index.  It will provide you with the documentation and examples of how to do things such as you have asked.

     Help==>Scripting Index

Names Default To Here( 1 );
dt = Current Data Table();
dt:Column 1 << Set labelled;
dt << select where( :Pressure == 60 ) << label;
Jim