idea for this kind of images
Posted: Mon Jan 22, 2007 5:29 am
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...

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
but i am entering the side the runs has been scored...ie direction....
i want to generate this kind of direction run score graph...

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