yaxis-label attribute

Type:various
Inherited:no
Used By:Graph elements except piegraph
Default:No default value, in Black 10pt Helvetica
See:align color font-family font-size font-style font-weight vertical-align xaxis-label y yaxis

The yaxis-label family of attributes set the style and content of the label to print on the y axis.

Set the yaxis-label attribute to the label you want displayed on the y axis of the graph.

The following options can also be set to determine how to display this label.

yaxis-label-rotate sets the rotation of the text, in degrees clockwise from 12 o'clock.

yaxis-label-color sets the color of the label text

yaxis-label-font-family sets the font to use to display the label text, in the same way as font-family

yaxis-label-font-style sets the font style to use, in the same way as font-style

yaxis-label-font-weight sets the font weight to use, in the same way as font-weight

yaxis-label-font-size sets the size of the font to use, in the same way as font-size

yaxis-label-align and yaxis-label-valign set the alignment of the text. Generally these are set by the system to an appropriate value, but can be set separately in the same way as the align or vertical-align attributes.

bargraph { yaxis-label:"Number of Units"; yaxis-label-font-style:italic; }