var yAgeDataXAxisStandardGraph:Array = new Array;

*********************AS code
for(var i:int=0;i<10;i++)
{
         var obj:objject =new object;
         obj.yAge = i;
         yAgeDataXAxisStandardGraph.push(obj);

}

**************************************************************************mxml
code
<mx:horizontalAxis>
      <mx:CategoryAxis id="xAxis" labelFunction="defineLabel"
categoryField="yAge" dataProvider="{yAgeDataXAxisStandardGraph}"
title="Age (years)"  />
                                        </mx:horizontalAxis>
******************************************************************

On Jan 12, 11:31 am, Gerald Anto Fernando <[email protected]>
wrote:
> hello frnds,
>
> Please can somebody help me how we can change the data of category
> axis
> (x axis) in line chart,like in horizontal axis we can provide minium
> and maximum value of data but in category axis we can't so anybody
> help me ragarding this how we can change the data of x axis in line
> chart, i want to fix the data of category(x axis) means it should
> remain 9.45 a.m to 3.30 p.m(50 fixed values) every time.
> I am getting live data from trading and assign to data provider with
> specific time period(Using Timer).
> then i want a line chart for corresponding data and time.
> X Aixis should be fixed at first.
> click this following link
>  http://in.finance.yahoo.com/q/bc?s=SAIL.NS&t=1d
> you would see what i want.
>  so please help me.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to