in your source there are many mistakes about incorrect order of creation.
var hAxisRenderer:AxisRenderer=new AxisRenderer();
hAxisRenderer.axis=catAxis; // catAxis is NULL!!!
colChart.horizontalAxis = catAxis; // catAxis is NULL
// add also. You use only one axis, so you don't need use horizontalAxisRenderers
colChart.horizontalAxisRenderer = hAxisRenderer;
The horizontalAxisRenderer is depricated in Flex3.
If i use catAxis without pointing to any value(i.e null). the horizontal axis is showing [Object] for tall the values. and the graph is not showing.
horizontalAxisRenderer is depricated, but you can use it for testing... your choise.
It's allowed setting null values to axis, but framework set default values for axis instead. It's not a error, but you can't see a result.
So you don't have a link to axis from renderer.
Why can't you use mxml for it, it easier to describe.
i will tell you why i am using actionscript instead of mxml.
i am creating charts for a .net application where they will send data in xml format and based on that i need to create chart.that with animations.
the seriesinterpolate works only when there is change in data.
i will attach the file can u check whether i am doing it correctly.
ColumnChart.html 30.3 K