# display-key attribute

Type: | boxed-bottom|boxed-top|boxed-left|boxed-right|none
Inherited: | no
Used By: | Graph elements
Default: | boxed-bottom
See: | display-percentage key keybox-color

Where to display the key. Valid values for all graphs are:

- `none` - The Graph should have no key at all
- `boxed-bottom` - The Graph should have a key in a box at the bottom of the output
- `boxed-right` - The Graph should have a key in a box to the right of the output
- `boxed-top` - The Graph should have a key in a box above the output
- `boxed-left` - The Graph should have a key in a box to the left of the output

In addition, elements may also choose from the following values:

- `flat-inner-flat-outer` - Put the label on the slice if it fits, or next to the slice if it doesn't
- `flat-inner-rotated-outer` - Put the label on the slice if it fits, or rotate it and put it next to the slice if it doesn't
- `rotated-inner-rotated-outer` - Put the label on the slice if it fits, or next to the slice if it doesn't. Rotate it to the same angle as the slice regardless
- `rotated-inner-flat-outer` - Put the label on the slice and rotate it to the same angle if it fits: otherwise, put it next to the graph and don't rotate it
- `flat-outer` - Put the label next to the slice
- `rotated-outer` - Put the label next to the slice and rotate it to the same angle as the slice

    piegraph { display-key:rotated-inner-flat-outer }