cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
Mango1102
Level I

How do I make to see two labels(N(count) & its %) at the same time on Pie chart.

I just know that we can select an option for Label display to "value" & "percent" through the Label on the Graph.

but i would like to see both values at the same time on the chart.

2 REPLIES 2
jthi
Super User

Re: How do I make to see two labels(N(count) & its %) at the same time on Pie chart.

Most likely there are other options but here are few (I'm using JMP's Big Class as example table).

 

One option is to overlay two identical pie charts and then use custom formatting for the "N" label (you could do that for % label, but it easier to do for N), in this case I added row change to the custom format

jthi_0-1731311887926.png

 

You could also create new column which has those "label" values and use that for your pie chart.

jthi_1-1731312201030.png

 

New Column("Column 6",
	Character,
	"Nominal",
	Formula(
		"N: " || Char(Col Number(:sex, :sex)) || "
" ||
		Char((100 * Col Number(:sex, :sex)) / Col Number(:sex)) || "%"
	),
	Set Selected
)
-Jarmo

Re: How do I make to see two labels(N(count) & its %) at the same time on Pie chart.

You can check if the caption box option helps as well, setting location to group by factor and play with X/Y Position.

 

/****NeverStopLearning****/