Search tutorials
Actionscript for frame 3
Frame 3 should contain the following code:
//create arrays containing variables
ArrLabel = loading.ChartLabels.split(",");
ArrValue = loading.ChartValues.split(",");
var ChartData = new DataProviderClass();
for (var i=0; i < ArrLabel.length; i++) {
ChartData.addItem({DataLabel:ArrLabel[i], DataValue:ArrValue[i]});
}
MyChart.setDataProvider(ChartData);
MyChart.setLabelSource("DataLabel");
MyChart.setValueSource("DataValue");
| » Level Intermediate |
|
Added: 2002-07-14 Rating: 8 Votes: 27 |
| » Author |
| Applications Developer Marconi Australia |
| » Download |
| Download the files used in this tutorial. |
| Download (107 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!