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?
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.
I will be at Lotussphere also
I will try to catch up with you there, if you do not mind
Do you know of any samples out there?
I am stuck on this now and need to get this working
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>