SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

Set Ref Lines axis settings JSL

Accepted Solution Solved
Reply
N/A
Posts: 1
Accepted Solution

Set Ref Lines axis settings JSL

Hello

I've used JSL to change some axis settings of a column sucessfully. Though for one of the settings, "Ref Lines" I can't find a solution.

This works for me:

dt << New Column("Values_ln",

  Formula(:Values),

  Set Property("axis", {min(0.1), Max(150), Inc(1), Minor Ticks(1), Show Major Grid(1), Show Minor Grid(1), Inside Ticks(0), Scale(Log)}

  );

  );

But i also want the Ref Lines Setting to be 0.3 and I cant find that setting i.e. nothing happens when i do this:

Set Property("axis", {min(0.1), Max(150), Inc(1), Minor Ticks(1), Show Major Grid(1), Show Minor Grid(1), Inside Ticks(0), Scale(Log), Ref Lines(0.3)}


There is an attached image of the box i want to fill.


Thanks


Ref Lines.jpg

Accepted Solutions
Solution
‎09-09-2014 05:00 PM
SAS Employee
Posts: 244

Re: Set Ref Lines axis settings JSL

Hi ,

Try Add Ref Line() like this:

Set Property("axis", {min(0.1), Max(150), Inc(1), Minor Ticks(1), Show Major Grid(1), Show Minor Grid(1), Inside Ticks(0), Scale(Log),

Add Ref Line(0.3)}

I figured it out by adding the property by hand using the dialog you pictured, then I right-clicked at the top of the column and chose Copy Column Properties. That puts a script on the clipboard which I then pasted into a script editor.

I hope that helps.

BTW: There's a whole Community just for JMP users at community.jmp.com. You'll find that's a better place to post questions like this. I hope I'll see you there soon.

-Jeff

View solution in original post


All Replies
Solution
‎09-09-2014 05:00 PM
SAS Employee
Posts: 244

Re: Set Ref Lines axis settings JSL

Hi ,

Try Add Ref Line() like this:

Set Property("axis", {min(0.1), Max(150), Inc(1), Minor Ticks(1), Show Major Grid(1), Show Minor Grid(1), Inside Ticks(0), Scale(Log),

Add Ref Line(0.3)}

I figured it out by adding the property by hand using the dialog you pictured, then I right-clicked at the top of the column and chose Copy Column Properties. That puts a script on the clipboard which I then pasted into a script editor.

I hope that helps.

BTW: There's a whole Community just for JMP users at community.jmp.com. You'll find that's a better place to post questions like this. I hope I'll see you there soon.

-Jeff

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 528 views
  • 0 likes
  • 2 in conversation