3D stacked horizontal bar chart

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
sifar786
Forum Commoner
Posts: 27
Joined: Thu Aug 21, 2008 11:50 pm

3D stacked horizontal bar chart

Post by sifar786 »

Hi,

I have a PHP code which runs a MySql query and generates Arrays. For each projectcode, it generates 1] Associative Array for Employees working on that project
2] Associative Array for Employee Budgeted Hours
3] Associative Array for Employee Completed Hours

4] An Employee Available Hours Associative Array is created by subtracting Completed hours - Budgeted Hours.

I want to display the values in these array as a 3D stacked horizontal bar chart for each Employee.

I have googled for a 3D stacked horizontal bar chart php script but could not find any. Is there anyone who has made such a type of script???

The bar chart should look like this:
Name Budgeted Completed Available
______________________________________
sam | 35 | 45 | 10|
______________________________________|

_______________________________
Jack | 30 | 20 | 10|
_______________________________|

something like the above.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: 3D stacked horizontal bar chart

Post by yacahuma »

sifar786
Forum Commoner
Posts: 27
Joined: Thu Aug 21, 2008 11:50 pm

Re: 3D stacked horizontal bar chart

Post by sifar786 »

i have tried that but not found any for 3D stacked horizontal bar chart.

Anyone with any ideas???
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: 3D stacked horizontal bar chart

Post by yacahuma »

that is the only one I know. You can look for flash based output.
sifar786
Forum Commoner
Posts: 27
Joined: Thu Aug 21, 2008 11:50 pm

Re: 3D stacked horizontal bar chart

Post by sifar786 »

Thanks.

I guess theres none made except those paid flash graphs.

:((
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: 3D stacked horizontal bar chart

Post by VladSun »

Why don't you write one by your own?
There are 10 types of people in this world, those who understand binary and those who don't
sifar786
Forum Commoner
Posts: 27
Joined: Thu Aug 21, 2008 11:50 pm

Re: 3D stacked horizontal bar chart

Post by sifar786 »

If i knew how to, i would certainly do that...however i am an amateur with respect to PHP.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: 3D stacked horizontal bar chart

Post by VladSun »

There are 10 types of people in this world, those who understand binary and those who don't
Post Reply