Hello,
I want to draw a trade on the DataChart. like draw a line on a section between 2 bars.
Hoa can I do that??????
Thanks
Hello Hani,
Thank you for your post.
I have been looking into your issue and have created a small sample application for you. In the sample application I am using trend lines for the series by using the TrendLineType="WeightedAverage" property. More about the Trend Lines you can find on the following link from our documentation: http://help.infragistics.com/Help/Doc/WPF/2013.2/CLR4.0/html/xamDataChart_Trend_lines.html.
Please find the attached sample application and feel free to let me know if you have any further questios on this matter.
Thank you for your reply.
I couldn't open the sample. I have visual studio 10.
I looked in the example, The example show how to draw one long trand. but I need to draw/remark many trades, each trade has time for enter and time for exit.
Here is link of picture of what I need: https://drive.google.com/file/d/0ByFdYzs7wCrzZzRsRzhhdWZORWM/edit?usp=sharing
Thank you
Hani
I have been looking into your issue. Would you please send the picture as zip file. Thank you for the cooperation. Looking forward to hearing from you.
Thank you for the feedback. I am glad I was able to help.
Thank you very much.
it is exacly what I need.
I have been looking into your issue and have created a small sample application for you.
Currently the XamDataChart does not support partial trendlines. In order to achieve the functionality your want I can suggest to add an additional series (LineSeries for example), which ItemsSource would be the part of the original data, where you want to set the TrendLine. Then you can enable the TrendLines for this additional series.
The other option I can suggest is to log a new Product Idea in our site(http://ideas.infragistics.com) for partial TrendLines, or vote for an existing one.
Steps to create your idea:
The benefits of submitting the product idea yourself include:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
Additional benefits of the Product Idea system include:
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
The product ideas site allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thank you for contacting Infragistics.
See attaches picture