Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
Answered: add space on x-axis in graph
is it possible to add space both side on x axis to display full marker?
test.png
-
Best Answer Posted by
shydreamz
try using getGutters function in series
Code:
series: [{
type: 'line',
axis: 'left',
xField: 'name',
yField: 'iphone',
title: 'iPhone',
getGutters:function(){
return[10,0];
}
}]
this will give a kind on displace label of x-axis with 10.
-
Sencha User
you can add
in series config to get space from axis.
-
Sencha User
xPadding not working in line chart but it's work in column chart.
is there any other way ?
-
Sencha User
Hi, I just ran into this thread and wonder if you found a workaround...
I second your desire to have a space between the y axis and the line. I don't see any reason why xPadding is not available for a line series.
-
Sencha User
try using getGutters function in series
Code:
series: [{
type: 'line',
axis: 'left',
xField: 'name',
yField: 'iphone',
title: 'iPhone',
getGutters:function(){
return[10,0];
}
}]
this will give a kind on displace label of x-axis with 10.