4 Replies Latest reply on Jun 17, 2011 2:58 AM by tyagisumeet

    I'm trying to get round the annoying error when less than 2 points are attempted to be drawn on a chart

    nikos101 Level 2
      I'm trying to get round the annoying error when less than 2 points are attempted to be drawn on a chart

      TypeError: Error #1010: A term is undefined and has no properties.
      at mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine()[C:\work\flex\dmv_automation\pro jects\datavisualisation\src\mx\charts\chartClasses\GraphicsUtilities.as:305]


      I have a slider that truncates data in the chart.

      I tried the following in the series definition:

      includeInLayout="{averageRates.length >1}" visible="{averageRates.length >1}"

      but this doesn't work as the error is still thrown before the bindable expression is evaluated I think.