How can I put more characters on xAxis


Is there any way I can set texts on xAxis with angle of inclination 45°? I have drawn a chart like that using MS Excel 2007 and it shows like the attached JPG file.

There is a method I know is using VML <v:path> to solve the text inclination in IE, but I am still puzzled from defining xAxis in dhtmlXChart :open_mouth:

yAxis: {},
xAxis: {
template: function() {


item labels are rendered as absolutely positioned html containers.

dhx_axis_item_x css class is applied to xAxis labels. You may redefine it to rotate the text. Here is teh related post: