idea for this kind of images

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rami
Forum Contributor
Posts: 217
Joined: Thu Sep 15, 2005 8:55 am

idea for this kind of images

Post by rami »

i am using jpgraph to generate graphs for cricket games..i record each ball currently i am recording for a batsman..number of ones, no of twos, no of three, no of fours ,no of five,no of six in a game as a separate columns
but i am entering the side the runs has been scored...ie direction....
i want to generate this kind of direction run score graph...

Image

so what will be best idea...
i dont want to introduce field like legsidezero,upsidezero,frontzero,backzero,legsideone...so on...
that will be really difficult so what to do.....

any simplier way i can do that..any good logic....

currently best idea i can think up is making separate table and doing legzero,upsidezero.. and so on and entering data at last ..may be after finishing game or after batsman is put so i dont need update...but i need to track the direction the runs is scored..so what can i do...

and by the way in jpgraph how do i make to draw in particular section of the pie..is that single pie chart ..or is it possible with jpgraph
Post Reply