I'm confused about your question... You've provided the example below for creating a CategoryAxis instance... the same method should work for a DateTimeAxis instance instead. Make sure you provide the xField property for your Series items that will render along this axis, and you should be fine.
Brendan On 5/29/07, mocalocamm <[EMAIL PROTECTED]> wrote:
I am trying to create my charts using AS instead of MXML like this: var c:ColumnChart= new ColumnChart(); c.dataProvider = chartData; c.showDataTips = "true"; c.percentWidth = 100; c.percentHeight = 100; var hAxis:CategoryAxis = new CategoryAxis(); hAxis.categoryField = "date"; c.horizontalAxis = hAxis; But I ned to add a DateTime axis so I can set the minimum and maxim parameters. I cannot find how to do this anywhere! Does anybody know? Thanks much Moca
-- Brendan Meutzner Stretch Media - RIA Adobe Flex Development [EMAIL PROTECTED] http://www.stretchmedia.ca

