简体   繁体   中英

Plot time on y-axis and time on x-axis in MS Chart

I am new to MS Chart and graph world!!

My requirement is as follows

We have attendance Management System which logs in coming and out going time of employees.

My task is to create graph that will plot date on x axis and time on y-axis.

Eg if an employee came at 9:00 AM in morning on 15th Sept 2012, then 15th Sept will show on x-axis and y value will be 9:00 AM.

So on selection of date range such a graph will be plotted.

I am getting value in datetime format from database

Please let me know how do i do it?

I am using C#.Net and MS Chart

this is the simplest explanation I could come up with.Take a good look at it Chart Control in WinForms

Let us know if it helps

May be this example could ameliorate your problem. Date Time Manipulation

Feel free to mark it as answer if it helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM