cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
hogi
Level XII

Gradient: color for Missing

Is there a way to change the color of Missing entries in GraphBuilder when using a gradient?

hogi_0-1679558264825.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Gradient: color for Missing

Most likely in similar manner as you can modify the gradient (creating custom color theme)

jthi_0-1679564380570.png

jthi_1-1679564412323.png

Graph Builder(
	Include Missing Categories(1),
	Variables(X(:sex), Y(:age), Color(:weight)),
	Elements(Points(X, Y, Legend(10))),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				10,
				Properties(
					0,
					{gradient(
						{Color Theme(
							{"Blue to Gray to Red Copy", 4099, {{42, 63, 255}, {192,
							192, 192}, {252, 11, 11}, Missing({0, 0, 160})}, 65, 1}
						), Width(12)}
					)},
					Item ID("weight", 1)
				)
			)}
		)
	)
)
-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: Gradient: color for Missing

Most likely in similar manner as you can modify the gradient (creating custom color theme)

jthi_0-1679564380570.png

jthi_1-1679564412323.png

Graph Builder(
	Include Missing Categories(1),
	Variables(X(:sex), Y(:age), Color(:weight)),
	Elements(Points(X, Y, Legend(10))),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				10,
				Properties(
					0,
					{gradient(
						{Color Theme(
							{"Blue to Gray to Red Copy", 4099, {{42, 63, 255}, {192,
							192, 192}, {252, 11, 11}, Missing({0, 0, 160})}, 65, 1}
						), Width(12)}
					)},
					Item ID("weight", 1)
				)
			)}
		)
	)
)
-Jarmo