1 Reply Latest reply on Aug 5, 2008 8:42 AM by Newsgroup_User

    Constant line on chart

    spacehog Level 1
      How do I add a line on a chart that stays fixed at a certain level. I need to create a ceiling line (in this example at the number 50) as a second series. Nothing seems to work.


      [Bindable]
      public var chtConstant:Number = 50;

      <mx:series>
      <mx:LineSeries yField="ctLines" xField="abbrvDT" />
      <mx:LineSeries yField="{chtConstant}" xField="abbrvDT" />
      </mx:series>