|
-
You need to change the parameter in the embed tag too.
As for the multiple values thing, you could do it with flashvars by passing multiple name-value pairs.
flashvars="labelx=Regions&labely=Profit&xnames=Sou th|Nord|East|West&yvalues=100|200|500|600"
You'll have to parse out the arrays using the split method, and then turn the resulting array of Strings into an array of Numbers.
You could also do it with ExternalInterface after the swf has loaded, and pass in proper javascript objects. There are pros and cons each way.
Also, it looks like you're not providing any x values, so make sure your chart does something intelligent in that case like equally spacing the data points.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|