Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have some information about Medicines that a patient use during a period of time, every Medicine has a StartDate and an EndDate ,I want to show them in a chart so the doctor can see the medicines in a day and duration each medicine used, what kind of Chart should I use to show them ? (ASP.Net and C#) I wanted the dates as X-alias and the medicine names as Y-alias , here is an example of my data
http://s3.picofile.com/file/8204921534/Chart.JPG[^]

Thanks all.
Posted
Updated 8-Aug-15 0:09am
v2
Comments

1 solution

I would choose a bar Chart, where abscissa reflects the period and the Ordinate lists the meds.

Med1            ¦*********************         ******
                ¦
Med2            ¦          ******         ***********
                ¦
Med3            ¦     ************************** 
                ¦
Time            ¦+----+----+----+----+----+----+----+
            Aug  1    2    3    4    5    6    7    8
 
Share this answer
 
Comments
neda_h 9-Aug-15 5:51am    
Tnx , the shape u draw is the exactly thing that I want but I have another problem with BarChart , Is it possible to replace the YValues with some lables ? I mean how can I replace "1" with "lbl1" , "2" with "lbl2" ? that's because I use another date system , so I want the value "2015/01/08" would shown as for example "abc" ? I searched a lot but the only thing that I found was about XValues (med1,med2,..)
[no name] 9-Aug-15 5:59am    
I don't know whether you can do it with the Standard graphic component of .NET, but I'm sure you can do it with the tchart component.

Have a look at their Homepage:
http://www.steema.com/teechart/net#a[^]
neda_h 9-Aug-15 6:07am    
Sure , tnx . How about RangeBar Chart ?

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