PDA

View Full Version : [CLOSED] Chart Design Suggestion



matrixwebtech
Jul 04, 2015, 10:08 PM
In this http://mvc2.ext.net/#/Chart_Bar/Basic/ chart area is .Width(800) and .Height(600) , but I dont have that much space and I have to draw 4-6 chart there .
for this situation I need to resize or shrink each chart . may be .Width(800) and .Height(600) in this space I have to place 4 charts . please suggest me how do I do this .

please see attached image ,may be you get some idea .

24057

fabricio.murta
Jul 05, 2015, 3:44 AM
Hello @matrixwebtech!

For that all you have to do is resize your chart (and fonts) accordingly and then position them inside panels...

One way would be to:
1. build a panel with VBoxLayout (pV)
2. inside it, add two panels with HBoxLayout (pH1 and pH2)
3. on each of the two panels with HBoxLayout, add as items, two charts -- resized as you feel fit (ch1, ch2, ch3, ch4)
4. you can add a third HBoxLayout panel inside the pV one (pH3) and add the remaining graph and table (ch5 and tb1)...

then you will have something like this:



pV---------------
| pH1------------
| | ch1 ch2
| |
| pH2------------
| | ch3 ch4
| |
| pH3------------
| | ch5 tb1
| |
|


There are a whole lot of ways of positioning the graphs as you like, that's just one of them.

I hope this helps!