Hi,
We using infragestics controls in our application. we want to use chart control in our application but we don't know how to bind data at run time.Please send us sample code using c#.net.
Hi afshinalikhani,
I have constructed and attached a sample demonstrating the binding of data to a simple line chart.
Also, I have included the link below to our online documentation for the different chart types, as different chart types will generally have specific requirements for their DataSource.
http://help.infragistics.com/NetAdvantage/WinForms/2012.1/CLR2.0/?page=WinChart.html
If you have any further questions regarding this implementation, please let me know.
Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support
Hi Chris,
Thanks for reply .i have one more questions about line chart. i want to add legend on line chart.
How it will add runtime from c#.net code.
Please reply
I have constructed and attached the sample that I mentioned in my previous post, regarding the composite chart implementation.
Using this approach, the chart area and chart legend’s dimensions and placement will be entirely customizable by the developer.
Please find the sample attached.
If you have any questions at all regarding this implementation, please let me know.
After further researching this requirement, I have determined that modifying the padding area of the line chart when the chart legend is displayed is not actually extended from the line chart; however, it will be possible to achieve this behavior by implementing a composite chart which may be used to display the line chart.
Using this approach with the composite chart, placement of the chart area and the legend will be completely customizable.
I am currently developing an approach and I will post it to this thread once complete.
If you have any questions at all regarding this issue in the meantime, please let me know.
We able to show line chart after application run but its looking too much space left side and right side of graph. how to that space will remove. please reply solution of this.