0 Replies Latest reply on Nov 27, 2006 11:33 AM by Hanno1962

    MXML component

    Hanno1962 Level 1
      I have an MXML component using chart and chartseries.

      if I call my component using MXML is nicely populates

      <cfcom:Pr_PieChart id="PieChart1" dataProvider="{graphdata}" selectedCell="1"/>

      if I call my component using AS (below) is remains blank. What would I miss here ?

      private function drawchart():void {
      var chart1:Pr_PieChart = new Pr_PieChart();
      chart1.id = "PieChart1"
      chart1.dataProvider = graphdata
      chart1.selectedCell = "1"