Hi,
Can connect up the data souce using C# and get XamWebChart to build a line chart. What should the value of DataSouce be when setting the DataSource within XAML using BLEND.
How to connect to a service reference within XAML? Should it be connected within the <igChart:XamWebChart.Series>, if not where?
Thanks,
Keith
If you are interested in using WCF RIA services, you can see this example: https://es.infragistics.com/community/forums/f/retired-products-and-controls/35471/net-ria-services#207014
otherwise, let me see if I can come up with an example. The basic idea, though, is that if you are retrieving a collection of items from a web service, you should be able to set the data source on the series to that collection through binding, and then set your data mapping to identify which properties on the items represent the data the chart needs to operate.
-Graham
Graham,
Thanks for taking a look at my question.
Your is answer is pointed in the correct direction, but my question can be made a bit simpler.
Using Blend can you, or should be able to drop and drag a service reference item from the data menu by selecting an item that is a service reference item dragging it to an Infargistics control such as a XamWebGrid?
I originally ask how to wire the control to WCF within XAML, which was leading to the above question.
Yes, I can wire it all up using C#, but thought there might be a way to get it wired up using Blend, then kicking in some of the design helps that Blend has.
see: https://es.infragistics.com/community/forums/f/retired-products-and-controls/36805/how-to-connect-a-service-reference-in-xaml-instead-of-c-to-a-xamwebchart
I don't believe the chart has any drag drop linkability with service references in Blend. That would be a bit of non-trivial code injection, but interesting none the less. You could request it as a feature here: https://es.infragistics.com/community/ideas