cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
TreeStatsNoob
Level II

Graph Builder legend issues

When I make a bar graph I have changed both bar colors to gray but made one pattern hash marked. However the pattern change is not reflected on the legend. How can I fix this? 

TreeStatsNoob_0-1585346171517.png

 

Thank you. 

10 REPLIES 10
txnelson
Super User

Re: Graph Builder legend issues

What release of JMP are you running?  I am not having the issue in JMP 15.1

Jim
TreeStatsNoob
Level II

Re: Graph Builder legend issues

I have JMP 15.0 downloaded from my university.
txnelson
Super User

Re: Graph Builder legend issues

Here is my example.  Does it work on your copy of JMP.

cross.PNG

names default to here(1);
dt = Open("$SAMPLE_DATA/big class.jmp");

dt << Graph Builder(
	Legend Position( "Inside Right" ),
	Variables( X( :age ), Y( :height ), Overlay( :sex ) ),
	Elements( Bar( X, Y, Legend( 6 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Min( 0 ), Max( 125.6145 ), Inc( 20 ), Minor Ticks( 0 )}
		),
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				6,
				Properties( 0, {Fill Color( 0 )}, Item ID( "F", 1 ) ),
				Properties(
					1,
					{Fill Color( 1 ), Fill Pattern( "hatch medium" )},
					Item ID( "M", 1 )
				)
			)}
		),
		Dispatch( {}, "400", LegendBox, {Set Title( "" )} )
	)
)
Jim
TreeStatsNoob
Level II

Re: Graph Builder legend issues

Thank you for your help but unfortunately that didn't work either. The legend shows a change in color but not pattern. 

 

TreeStatsNoob_1-1585419994758.png

 

txnelson
Super User

Re: Graph Builder legend issues

Looks like the solution is for you to get the 15.1.0 version of JMP.  Check with your University supplier.  They should have it by now.

Jim
TreeStatsNoob
Level II

Re: Graph Builder legend issues

I was able to get version 15.1 and still have the same problem. 

txnelson
Super User

Re: Graph Builder legend issues

Are you running on a Mac or a PC?  Which operating system?  I think you will have to contact JMP Support

     support@jmp.com

Jim
TreeStatsNoob
Level II

Re: Graph Builder legend issues

I am using a Mac, OS Catalina, 10.15.2

 

txnelson
Super User

Re: Graph Builder legend issues

You need to contact JMP Support

   support@jmp.com

Jim