Hi,
I am using the UltraWinChart controls on my small panel (center positioned), which is part of the main form.
Now, what i require is something like this :
Chart has an in-built enlarge button but that enlarges to the size of the panel and not outside it.
I want the chart to expand it to cover the whole form and there should be a mechanism to restore the enlarged chart size to original size.
Thus, Chart should have expand view action enabling the view to take over all the view. For this a double click and/or an expand button is necessary (and of
course the reverse as well).
Another approach would be to use expanders instead of ultratiles, collapsing one makes more room vertically for the other ones in the same column.
Also closing one would achieve the same effect (then some toolbar buttons to bring them back are needed).
Can you give some details for either of the approach ?
An exmaple would be gr8.
Regards,
Sumz
Hi Sumz,
I'm a bit confused. Your question seems to be about resizing controls on a form and the particular control doesn't really seem to matter all that much - this doesn't seem to be specific to the chart, and I'm a little confused about what it has to do with the WinGrid.
Am I misunderstanding your question? Or did you mean to post this in the Chart forum?
Hi Mark,
Thanks for reply.
I have a win grid in a small panel and I am showing few charts in it.
I want to implement something like when a user click the chart it should expand for whole screen.
(The screen has around 9 such small panels.)
Thanks,
How do you have a chart in the grid? Are you using the UltraControlContainerEditor?
Either way, there's nothing built-in to the grid to do this kinda of thing. You would probably have to create a new Char control and bind it to the data in the grid cell and then show it in the same place as the grid on the form.
Sorry Mike,There is no grid at all. My mistake.I will reexplain you - inshort :
I have a UltraTilePanel in which i have added UltraTile in each panel. In Each UltraTile, i have added a UltraWinChart.
Chart has an in-built enlarge button but that enlarges to the size of the UltraTile it resides in.
This should be on clicking the enlarge button or on double click of the chart itself (anything will do).
Let me know if there is any better approach for doing the same ?