I have a strange problem that I want to show multiple graphs at run time and some times a single chart. Kindly suggest me a flexible layout because in future there will be more charts.
currently im using grid im not sharing my code because it is all messy but I am showing you its layout that i achieved with grid layout.
______________________________________
| | |
| | |
| Chart 1 | Chart 2 |
| | |
|-----------------|------------------|
| | |
| | |
| | |
| Chart 3 | Chart 4 |
| | |
-------------------------------------
And charts will be increasing in future I want a flexible lay out that should allow me shoing single chart in center and if there are four charts they should be shown like this other wise single chart should be shown in center.