0 Replies Latest reply on Dec 15, 2008 4:36 PM by spacehog

    Centering columns in columnChart

    spacehog Level 1
      I have a columnChart with a single columnSeries and a DateTimeAxis for the horizontalAxis. I am trying to figure out how to get the column to be centered on the tick mark for it's day. I have tried offset and that does not seem to do anything. By default the left side of a column is aligned with the tick. This makes it very difficult to read.

      <?xml version="1.0" encoding="utf-8"?>
      <mx:ColumnChart xmlns:mx=" http://www.adobe.com/2006/mxml" showDataTips="true" color="#000000">
      <mx:DateTimeAxis dataUnits="days" minorTickUnits="days" minorTickInterval="1" labelUnits="days" />
      <mx:ColumnSeries yField="listCT" xField="uDate" width="5" labelAlign="center"/>