Krysalis jCharts
 
  Font size:      
 

Axis Labels

PDF
PDF

Fonts

			
Scale Font

Vertical X Axis Labels

By default, the X-Axis labels are rendered horizontally under the tick. This can be changed to vertical by using a method on the AxisProperties Object.

The following example sets the x-axis labels to be rendered at an angle of 90 degrees.

			axisProperties = new AxisProperties( false );
			axisProperties.setXAxisLabelsAreVertical( true );
			
Label Rotation

Rotated X Axis Labels

By default, the X-Axis labels are rendered horizontally under the tick. This can be changed to an angle by using a method on the AxisTypeProperties Object. The label is centered at the top middle of the text label.

Warning
Note: The label rotation value must be between 0 and 90, the behaviour for angles greater or less than this range is undefined

The following example sets the x-axis labels to be rendered at an angle of 30 degrees.

		AxisProperties axisProperties= new AxisProperties( false );
		axisProperties.getXAxisProperties().setLabelRotationAngle(30);
			
X Axis Label Rotation

Currency

			
Currency

Groupings

			
Axis Rounding


Valid HTML 4.01!Valid CSS!