Click here to Skip to main content
16,022,737 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a task that need to display the employees worked hours and idle hours using chart control.These data is coming from access db.

I have Ms office chart 9.0 and 11.0 contorls in my framework(3.5)
But i don't know how to use these controls.

Ex;-

per day every employee has 8 hours,per week 40 hours.iam storing the worked hours in the db.


when the lead want to display the week wise chart:=


38 2 35 5
wrked idle worked idel
hours

---------------------------------------------------
ramesh Ranjini

Ramesh & Rajini are the employees

Ramesh worked hours are 38 and idle hours are 2 like this


Thanks,
Sucharitha
Posted
Updated 5-Aug-12 20:51pm
v3
Comments
Joan M 6-Aug-12 3:48am    
What have you done till now?
How is the data stored?
Do you know how to connect to the database?
How many employees do have to be shown?
How do you plan to select those employees?
What do you need to know about the charting controls?
...

Your question is too vague and too wide. Improve it please.
Kenneth Haugland 6-Aug-12 15:13pm    
From OP:
Hi Joan Murt, Till now i have wrote the query group by employee...query works perfectly but i don't know how to bind that query into chart control. Based on the datewise search i need to show both worked and idle hours of every employee.

1 solution

You would find lots of exmples on Google [^]on how to use the chart control....
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900