Hi all,
we have an app that creates charts and put them in a panel. The problem is that due to the limitations of .Net's panel control, we can only put around 220 charts in one panel (3 of them in one row), with each chart having a height of 399. So after a row of 220 we start to get problems. We are looking for a container that doesnt have this limit, we need to put in around 2000 charts in whatever panel we go with. Please suggest if Infragistics has a solution.
Thanks a lot.
..ab
Hello,
You could try using UltraGrid in order to arrange and display your Charts. In order to do that you should use UltraControlContainerEditor where you should put your Chart. More information about this component you will find on the following link:
http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/html/WinControlContainerEditor.html
Also I’ve made small sample in order to demonstrate you usage of UltraControlContainerEditor with UltraChart and UltraGrid.
I hope that this will helps you.
Hey,
Thanks a lot for the sample that you attached. Its almost what I need. I have one very important question/confusion that I have to clear now. My situation is like that you can say I have a number of charts in an array, already instantiated, already drawn upon with data. Say they are 10 of them for example. In the code that you have given me, I see that there is one ultrachart on the Form, and you pass it like:
ultraControlContainerEditor1.RenderingControl = this.ultraChart1;
the ultraControlContainerEditor1 is assigned in the layout event of the grid. What my situation is I have N number of charts already instantiated. I want to place them on the grid cells, but there wont be any datasource passing necessary, since they are already rendered upon. I also want them to be interactive if the user clicks an individual chart.
Please suggest how should I change your sample to achieve this. Thanks!