Flash Charting Components - Object - Methods, Properties
Hi.
I am using the free flash charting component provided from macromedia. I am using the bar chart.
I have a chart and two buttons on my stage. With one of the buttons I am able to add a new value to my bar chart successfully.
The code I use for this is the following:
on (press) {
MovChart.addItem({label:"July",value:50});
}
This works great.
My problem is:
With the other button, I want to do the exact opposite and remove the value I just added:
I tried the following to no avail:
on (press) {
MovChart.removeItem({label:"July",value:50});
}
I cannot find any reference to the objects methods and only a few basic properties, there is no type of 'intellisense' so I cannot see what this object exposes. Can anyone help me make sense of this:
Regards - James.
Last edited by mcrustk2; 04-27-2006 at 03:41 PM.
|