Re: adding a line to CartesianDataCanvas

2014-11-04 Thread mark goldin
--- > > If you reply to this email, your message will be added to the discussion > > below: > > > > > http://apache-flex-users.246.n4.nabble.com/adding-a-line-to-CartesianDataCanvas-tp8571.html > > To unsubscribe from Apache Flex Users, click here &g

Re: adding a line to CartesianDataCanvas

2014-11-03 Thread pkumar.flex
anks > > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://apache-flex-users.246.n4.nabble.com/adding-a-line-to-CartesianDataCanvas-tp8571.html > To unsubscribe from Apache Flex Users, click h

Re: adding a line to CartesianDataCanvas

2014-11-03 Thread Deepak MS
Did you try setting _line's width and height? On Mon, Nov 3, 2014 at 11:11 PM, mark goldin wrote: > Is it possible? I need to draw a line on the background. > > My code: > > > > > > > var _line:UIComponent = new UIComponent(); > _line.graphics.lineStyle(5); > _line.graphics.moveTo(0, 60); >

adding a line to CartesianDataCanvas

2014-11-03 Thread mark goldin
Is it possible? I need to draw a line on the background. My code: var _line:UIComponent = new UIComponent(); _line.graphics.lineStyle(5); _line.graphics.moveTo(0, 60); _line.graphics.lineTo(100, 60); canvas.addChild(_line); No error, no line. Thanks