cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
JehoulH
Level II

Heatmap not displaying cells with no data in Graph Builder

Editor's Note: This topic was moved from a comment inBordered or Higher Contrast Heatmap in Graph Builder . Please refer to this Wish List item for context.

 

Hi all,

 

I'd like to come back to this topic. I am trying to create a similar heatmap, but the cells that don't have values don't get a border, as you can also see in the example of Paul (row DH). Any suggestion how this can be achieved?

I'm using the heatmap to build a kind of wafer map that has 21 zones. I would like to border all the zones, but the problem is that for some zones there is no data. I already tried to fill in 0, but then it messes with the color gradient.

 

Looking forward to your reply.

2 ACCEPTED SOLUTIONS

Accepted Solutions
ih
Super User (Alumni) ih
Super User (Alumni)

Re: Bordered or Higher Contrast Heatmap in Graph Builder

What color would you like the cells with no values to be, I'm guessing white?  If so you could add gridlines to the axis and add the heatmap line color, then you should see every thing filled in:

 

ih_3-1634736969241.png

 

ih_1-1634736907836.png

 

ih_2-1634736941120.png

 

 

 

Here is a script to recreate these values:

Names default to here(1);

dt = Open( "$Sample_data/big class.jmp" );

dt << Graph Builder(
	Size( 550, 482 ),
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ) ),
	Elements( Heatmap( X, Y, Legend( 4 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Label Row(
				{Major Grid Line Color( 0 ), Minor Grid Line Color( 0 ),
				Show Major Grid( 1 ), Show Minor Grid( 1 )}
			)}
		),
		Dispatch(
			{},
			"weight",
			ScaleBox,
			{Label Row(
				{Major Grid Line Color( 0 ), Minor Grid Line Color( 0 ),
				Show Major Grid( 1 ), Show Minor Grid( 1 )}
			)}
		),
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{DispatchSeg( RectSeg( 1 ), Line Width( 1 ) )}
		)
	)
)

View solution in original post

JehoulH
Level II

Re: Bordered or Higher Contrast Heatmap in Graph Builder

I actually just found the solution myself... change automatic to long divider! thanks for the tip!

View solution in original post

4 REPLIES 4
JehoulH
Level II

Re: Bordered or Higher Contrast Heatmap in Graph Builder

JehoulH_0-1634118298703.png

Here is how it looks like, but due to entering 0 the colors of the actual datapoints are impacted. And if I don't put 0, the cells without data are not bordered:

JehoulH_1-1634118459254.png

 

 

ih
Super User (Alumni) ih
Super User (Alumni)

Re: Bordered or Higher Contrast Heatmap in Graph Builder

What color would you like the cells with no values to be, I'm guessing white?  If so you could add gridlines to the axis and add the heatmap line color, then you should see every thing filled in:

 

ih_3-1634736969241.png

 

ih_1-1634736907836.png

 

ih_2-1634736941120.png

 

 

 

Here is a script to recreate these values:

Names default to here(1);

dt = Open( "$Sample_data/big class.jmp" );

dt << Graph Builder(
	Size( 550, 482 ),
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :weight ) ),
	Elements( Heatmap( X, Y, Legend( 4 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"height",
			ScaleBox,
			{Label Row(
				{Major Grid Line Color( 0 ), Minor Grid Line Color( 0 ),
				Show Major Grid( 1 ), Show Minor Grid( 1 )}
			)}
		),
		Dispatch(
			{},
			"weight",
			ScaleBox,
			{Label Row(
				{Major Grid Line Color( 0 ), Minor Grid Line Color( 0 ),
				Show Major Grid( 1 ), Show Minor Grid( 1 )}
			)}
		),
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{DispatchSeg( RectSeg( 1 ), Line Width( 1 ) )}
		)
	)
)
JehoulH
Level II

Re: Bordered or Higher Contrast Heatmap in Graph Builder

Hello ih,

Thanks for this suggestion, this is exactly what I'm looking for. However, for my case the grid lines are crossing the actual zones as you can see below:

 

JehoulH_1-1635169757612.png

Do you think there is a way to get the grid lines in between?

 

JehoulH
Level II

Re: Bordered or Higher Contrast Heatmap in Graph Builder

I actually just found the solution myself... change automatic to long divider! thanks for the tip!