cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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.

3 REPLIES 3
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****/
SophieGray
Level I

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

Thank you so much.

Recommended Articles