cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
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