If no data than show only axis

I want to show only axis with specific value if there in no data.
like on x-axis and y-axis labels are 0 to 10.

Is there any way to do this.

Chart scales are rendered with data. Therefore, you need to call parse or load method to draw the scale:

[code]var chart = new dhtmlXChart({
view:“bar”,

xAxis:{
template:"#value#"
},

yAxis:{
	start:0,
	end:10,
	step:1,
}		

})
chart .parse([],“json”);[/code]

Problem has been solved.

Thanks for given solution.