Forum (OLD)

Flat
Charts & Web Service
User: niyack
Date: 12/4/2009 7:18 am
Views: 3125
Rating: 63    Rate [

+

|

-

]
Looking for a way to bind a web service to a chart.
thus far I have seen no samples out there.
I have seen one person say it is not possible.
If WS is not able to bind to a chart, is there another way to dynamicly get data binding to a chart?
Reply
Re: Charts & Web Service
User: Admin
Date: 12/5/2009 6:47 am
Views: 906
Rating: -1    Rate [

+

|

-

]

There is no problem in binding a web service to a chart, through a data grid or directly. I do not have an example available right now, but in principle if you take any of the data grid samples provided, you can link a chart compenent to it. 

I'm in preparation for Lotusphere January 2010, Orlando. Part of this preparation includes the use of ILOG charts bound to a Domino web service. Once this stuff is ready I will post it here.

Reply
Re: Charts & Web Service
User: niyack
Date: 12/7/2009 2:55 pm
Views: 812
Rating: -7    Rate [

+

|

-

]

I will be at Lotussphere also

I will try to catch up with you there, if you do not mind

Reply
Re: Meeting at Lotusphere
User: Admin
Date: 12/11/2009 1:41 pm
Views: 1040
Rating: 17    Rate [

+

|

-

]
Not at all. Looking forward to meeting you there Smile
Reply
Re: Charts & Web Service
User: niyack
Date: 12/8/2009 3:55 pm
Views: 864
Rating: 5    Rate [

+

|

-

]

Do you know of any samples out there?

I am stuck on this now and need to get this working

Reply
Re: Charts & Web Service
User: niyack
Date: 12/8/2009 7:53 pm
Views: 787
Rating: 13    Rate [

+

|

-

]

never mind my last post, I found a sample on how to do this.

it was burried in a video

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:x="mx.rpc.xml.*"

applicationComplete="ws.GetQuote('ADBE AAPL GOOG MSFT JAVA OCLR IBM')">

 

<x:XMLDecoder id="decoder"/>

<mx:Object id="stockData"/>

<mx:WebService id="ws" wsdl="http://www.webservicex.net/stockquote.asmx?wsdl">

<mx:result>

stockData = decoder.decode(event.result);

</mx:result>

</mx:WebService>

 

<mx:ComboBox id="c" dataProvider="['Open', 'Last', 'Change', 'P-E']"/>

<mx:Panel width="100%" height="200" layout="absolute">

<mx:DataGrid dataProvider="{stockData.Stock}" width="100%"/>

</mx:Panel>

<mx:Panel width="100%" height="300" layout="absolute">

<mx:ColumnChart dataProvider="{stockData.Stock}" showDataTips="true" width="100%">

<mx:horizontalAxis>

<mx:CategoryAxis categoryField="Symbol"/>

</mx:horizontalAxis>

<mx:series>

<mx:ColumnSeries yField="{c.selectedItem}"/>

</mx:series>

</mx:ColumnChart>

</mx:Panel>

</mx:Application>

Reply
PreviousNextAdd