HI, Im trying to add the displayName for the a LineSeries so that it can display correctly in the legend, I'm using the following code to add a new series.

public function defineSeries(name:String):void {
            var s:LineSeries = new LineSeries();
            s.yField="decQueryTime";
            s.dataProvider = dbQueryTimeRequest.lastResult.result.row;
                   
            var currentSeries:Array = querytime.series;
           
            currentSeries.push(s);           
            querytime.series = currentSeries;
}

This works, but in the legend field it inserts the new colour but it has no name? Can Anyone help?


------------------------------------------------
Eugene Louw
------------------------------------------------


--
------------------------------------------------
Eugene Louw

11 Khartoum Road
Ecclesall
Sheffield
S11 8RD

Home : +441142686221
Mobile : +447788600118
------------------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to