2 Replies Latest reply on Feb 23, 2008 5:19 PM by Peter deHaan

    disabled days

    CJSteu Level 1
      Hi,
      The new function to 'disabledays' in Flex 3.0 is not useable for Stock Charts as it is designed. The gaps in weekend data which were almost imperceptible with Flex 2.0 are now huge gaps at the end of the data series with Flex 3.0 which is much, much worse. I have tried everything to overcome, and can stretch data series with 'scaleX', but can not stretch Horizontal Axis with 'scaleX' - so the axis and series do not line up... (I have tried to adjustlabels, etc... ) if there is a solution please let me know... I do not know Actionscript well so please provide example with AS if a way to solve is using Actionscript.
      I am using Web Services to bring in .Net data into arrays and parsing it and binding it to HOLC Chart and Col Chart for Volumn, everything is great but the weekends and disabled days funtionality... here is some bits of MXML and AS: I don't use Disabled Days as you can see...
      Thanks!

      [Bindable]
      private var offDays:Array = [0,6];



      <mx:horizontalAxis>
      <mx:DateTimeAxis
      autoAdjust="false"
      padding="0"
      baseAtZero="false"
      dataUnits="days"
      minorTickUnits="days"
      parseFunction="{myParseFunction}"
      />
      </mx:horizontalAxis>
      <!--
      dataUnits="days"
      disabledDays="{offDays}"
      -->

      Craig