Dec 20, 2012, 5:33 PM
[OPEN] [#1547] [2.x] Offseting the first datapoint on the x- axis
How can the x-axis of the Ext js chart be configured so that the first data point on the x axis is not on the zero mark. from the website documentation
http://docs.sencha.com/ext-js/4-1/#!...-cfg-adjustEnd
the is a property called length and width that is suppose to offset the axis. I have tried that as shown below. But still the first point is on the zero level of the y-axis. What do you recommend?
http://docs.sencha.com/ext-js/4-1/#!...-cfg-adjustEnd
the is a property called length and width that is suppose to offset the axis. I have tried that as shown below. But still the first point is on the zero level of the y-axis. What do you recommend?
axes: [{
type: 'Numeric',
position: 'left',
fields: result.result.Yfields,
title: result.result.YfieldLabel,
minimum: 0,
adjustMinimumByMajorUnit: 0,
labelTitle: {
"font": "bold 11px Arial"
}
}, {
type: 'Category',
position: 'bottom',
fields: [result.result.Xfield],
title: result.result.XfieldLabel,
grid: true,
length: 100,
width: 100,
labelTitle: {
"font": "bold 11px Arial"
}
}],
Last edited by fabricio.murta; Sep 15, 2017 at 10:28 PM.