Hi Rachel,

You have to create a variable of type array.

var myArr:Array = new Array();

Then you can push your chartItem in that array using the Push method
of arrays.

myArr.push(chartItem1);
myArr.push(chartItem2);
myArr.push(chartItem3);

... and so on.

HTH,

-Ravi

On May 25, 11:25 pm, Rachel Garrett <[email protected]> wrote:
> Thanks, I have found this example many times while searching for
> dataTipItems. Shemesh's code is a more complex problem, where the user
> is selecting data items and they're being pushed to an array. I am
> just looking for the syntax of the array. I don't know how to make an
> array of ChartItems.
>
> Any help would be much appreciated. I think it is simple, but I've
> tried it about 20 ways that don't work!
>
> On May 25, 1:16 am, Ravi Mishra <[email protected]> wrote:
>
> > Hi Rachel,
>
> > Check out the example at this 
> > link:http://shemesh.axspace.com/Charts_Programmatically_Show_DataTips_Usin...
>
> > This example is view source enabled. Right-click on the screen and
> > select view source.
>
> > HTH,
>
> > -Ravi
>
> > On May 24, 5:52 am, Rachel Garrett <[email protected]> wrote:
>
> > > Greetings,
>
> > > I would like to add some ChartItems to the DataTipItems array, so that
> > > I can make some DataTips stay showing. However, I cannot figure out
> > > the syntax. I am fairly new to Flex, so I don't know how to list the
> > > ChartItems.
>
> > > <mx:LineSeries
> > >      id="goalLine"
> > >      yField="goal"
> > >      displayName="Goal"
> > >      dataTipItems="[???]">
> > > </mx:LineSeries>
>
> > > Thank you in advance for the help!
>
> > > --Rachel- Hide quoted text -
>
> > - Show quoted text -
>
>
--~--~---------~--~----~------------~-------~--~----~
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