1 Reply Latest reply on Jul 22, 2009 1:42 PM by Cr99

    CartesianChart clipping columnSeries

    Cr99 Level 1

      I have a chart created in Actionscript which clips the first and last columns.  How can I fix this?

       

      tmpImg.png

       

      var genericChart:CartesianChart = new CartesianChart();   

      var hAxis:LinearAxis = new LinearAxis();

      var ar:AxisRenderer = new AxisRenderer();

      ar.axis = hAxis;

      ar.setStyle("canDropLabels", "true");

      genericChart.horizontalAxisRenderers = [ar];

      genericChart.horizontalAxis = hAxis;

       

           var vAxis:LinearAxis = new LinearAxis();

           vAxis.baseAtZero = false;

           var axr:AxisRenderer = new AxisRenderer();

           axr.axis = vAxis;

         

              var columnSeries:ColumnSeries = new ColumnSeries();        

              BindingUtils.bindProperty(columnSeries, "dataProvider", series, "pointList");

              columnSeries.columnWidthRatio = 50;      

              columnSeries.verticalAxis = vAxis;

              columnSeries.displayName = ser.name;

              columnSeries.setStyle('stroke', stroke);        

              columnSeries.setStyle("fill", stroke.color);

              columnSeries.xField="signalID";

              columnSeries.yField="point2";

              columnSeries.setStyle("showDataEffect", rearrangeData);

              seriesArray.addItem(columnSeries);

       

           var renderers:ArrayCollection = new ArrayCollection();

           renderers.addItem(axr);

           genericChart.series = seriesArray.toArray().reverse();

           genericChart.verticalAxisRenderers = renderers.toArray();