We have purchased Infragistics WPF Controls and now I realized that I have difficulties to do the matter.
For example I have models of axes and series. How can I bind them to XamDataChart? I made AxisSource and SeriesSource dependency properties which updating Axes and Series collections, but I can only bind collections of infragistics Axes and Series not my models of them. I think some type of DataTemplate is suitable for that purpose but can't imagine how to apply it.
Could you please help me?
Hello Dmitry,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I used Behavior in order to bind the series. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
Thank you for your answer, I will understand it and reply.
But looking through suggested project quickly...
28 lines in XAML vs 770 lines in procedural code?! It seems to me that it reduces advantages of XAML usage. And it will be painfully to support and make changes in such a project.
I am just checking if you need any further assistance on the matter.
Hello Nassim,
Could you please modify the sample using your approach and send it back to us, so we could be able to investigate this further for you?
Hi Stefan,
Thank you for your answers, I tried this solution, but I'm having problems with adding tooltips dynamically ! can you please help me ?
Regards
--
Nassim
No,
Finally I was compelled to add dependency properties for axes and series to which I was able to bind models collections. The property looks through resources for templates and applying it.
Hello Rishi,
I have updated the sample project, so now there is a common Legend for all the Series.
Hi,
Code works great, only other requirements is to have a common legend for all the lineseries. Can you please let me know how exactly I can add the legend in to the above code? its urgent.
Rishi