xaxis-label attribute

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

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

Set the xaxis-label attribute to the label you want displayed on the x axis of the graph.

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

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

xaxis-label-color sets the color of the label text

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

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

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

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

xaxis-label-align and xaxis-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 { xaxis-label:'Type of Fruit'; xaxis-label-align:right; }