Hi all,

Thanks very much for all your help so far ... I am now accessing the
chart object from within the line renderer with:

override protected function updateDisplayList(unscaledWidth:Number,
                                                     
unscaledHeight:Number):void
        {
                
        var lc:ColumnChart;
        var ls:LineSeries = parent as LineSeries;
        lc = ls.owner as ColumnChart;

In examining debug, I found

lc.series[0].seriesRenderData of type ColumnSeriesRenderData which
"Represents all the information needed by the ColumnSeries to render"
and within that

seriesRenderData.renderedXOffset, The offset of each column from its x
value, in pixels;
seriesRenderData.renderedhalfWidth,Half the width of a column, in pixels;

Thinking that I was now cooking with gas/petroleum/ethanol/mazola I coded

var renderedXOffset:Number = lc.series[0].seriesRenderData.renderedXOffset

to find that any reference to .seriesRenderData creates an error. If I
can see this dot notation in the debug variable pane, shouldn't I be
able to code it? Again TIA,

Mic.

Reply via email to