Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Adobe Flex Pie Chart

Hi,

I want to populate data from a query template to a adobe flex pie chart. I am doing this because business user prefers beautiful objects ;).

Can anyone help me out in how to achieve this. I have some knowledge about flex.

Thanx in Advance

Former Member
Former Member replied

Hi,

You can see a Video tutorial on xMII-Flex integration made by Abesh

at /people/abesh.bhattacharjee/blog/2007/08/27/use-xmii-services-in-adobe-flex-20-video

Coming to your question

you should declare the web service in your flex application as

<mx:HTTPService id="ServiceName"/>

then you can call it in a function let's say Hi()

private function Hi():void{
ServiceName.url=encodeURI("http://xMIIServerIP/Lighthammer/Illuminator?QueryTemplate="PathToQueryTemplate"&IllumLoginName="LoginName"&IllumLoginPassword="Password"&content-type=text/xml");
			ServiceName.send();
		}

You can call this function in any event according to your requirements.

Note: The URL is specific to 11.5 version of xMII. You may need to change it accordingly for 12.0.

Regards,

Musarrat

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question