Hi, using a DateTime axis isn't suitable because it won't always be a DateTime (it could be 1, 1, 1, 1, 1, 1 etc for the labels). However - you did give me an idea with regards to using the labelFunction property.
I've now added in an [EMAIL PROTECTED] attribute to my xml. So test data now looks like: <row id="1" label="1" value="1"/> <row id="2" label="1" value="2"/> <row id="3" label="1" value="3"/> <row id="4" label="1" value="4"/> <row id="5" label="1" value="5"/> <row id="6" label="1" value="6"/> <row id="7" label="1" value="7"/> <row id="8" label="1" value="8"/> <row id="9" label="1" value="9"/> <row id="10" label="1" value="10"/> I use the id for the axis and interpolation, but use a labelFunction property to retrieve the actual label property from the data. Thanks!! Mark ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sunil Bannur Sent: 22 October 2007 12:05 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Having duplicate rows in a chart If you use a categoryAxis, this is not possible. Try using a Datetime Axis and define a label function, to get the labels you want. Thanks -Sunil ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Monday, October 22, 2007 3:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Having duplicate rows in a chart Hi, does anyone know how I can get duplicate rows in a datagrid / chart? I have a datagrid and chart (using xml data source) that looks like this: Monday 4 Tuesday 56 Wednesday 404 Thursday 3 Friday 12 Monday 54 Tuesday 94 Wednesday 3 Thursday 0 Friday 189 But in the graph, I only get one set of figures (for the last week). I can see why this is happening - the last data field value overrides the original one - but is there any way of stopping this behaviour? Thanks, Mark