Did you try setting _line's width and height? On Mon, Nov 3, 2014 at 11:11 PM, mark goldin <[email protected]> wrote:
> Is it possible? I need to draw a line on the background. > > My code: > <mx:annotationElements> > <mx:CartesianDataCanvas id="canvas" includeInRanges="true"> > </mx:CartesianDataCanvas> > </mx:annotationElements> > > > 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 >
