how to make a pie or bar chart in asp.net?

Reply

Join Date: Oct 2008
Posts: 41
Reputation: julseypart is an unknown quantity at this point 
Solved Threads: 0
julseypart julseypart is offline Offline
Light Poster

how to make a pie or bar chart in asp.net?

 
0
  #1
Apr 5th, 2009
Hi, i wondered if any1 knew how to create a simple bar or pie chart in asp.net. I would like to show how much space users have used e.g. 25/100mb represented graphically and showing percentages

Thanks for help
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 30
Reputation: P.K.Chaudhary is an unknown quantity at this point 
Solved Threads: 5
P.K.Chaudhary P.K.Chaudhary is offline Offline
Light Poster

Re: how to make a pie or bar chart in asp.net?

 
0
  #2
Apr 6th, 2009
Hi,

There are many ways to achieve this:
1. You can use third party dlls to create charts, many are available in market, if you are lucky u will get something free.
2. You can use System.Drawing.Graphics in .net to create your own charts (I assume your requirement is very basic). Its should not take long.
3. You can use CSS, simple bar chart can be created purely using CSS, for pie chart you can use different images and show them based on calcuation. for example you can have 20 odd images(pie01.gif, pie02.gif...) and based on calculation set Style Image to relevant image. for 20% useabge set image = pie02.gif
Its the cheapest and fastest way to achieve this.

I think you must have got the idea.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 370
Reputation: greeny_1984 is an unknown quantity at this point 
Solved Threads: 29
greeny_1984's Avatar
greeny_1984 greeny_1984 is offline Offline
Posting Whiz

Re: how to make a pie or bar chart in asp.net?

 
0
  #3
Apr 6th, 2009
If u r query is achieved,mark the thread as solved

Live and Let Live
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 1
Reputation: consultsarath is an unknown quantity at this point 
Solved Threads: 0
consultsarath consultsarath is offline Offline
Newbie Poster

Re: how to make a pie or bar chart in asp.net?

 
0
  #4
Apr 6th, 2009
You can draw this using a simple System.Drawing.Graphics bitmap canvas. Use mathematics to calculate the layout of the the charts.
Last edited by Narue; Apr 6th, 2009 at 11:32 am. Reason: snipped spam
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 41
Reputation: julseypart is an unknown quantity at this point 
Solved Threads: 0
julseypart julseypart is offline Offline
Light Poster

Re: how to make a pie or bar chart in asp.net?

 
0
  #5
Apr 8th, 2009
thanks, i might just use the css method as im not great at mathematics! Do you know where i could get 20 pie images - one for 5%, 10% ..etc or should i make my own as they would have to be similar?
Last edited by julseypart; Apr 8th, 2009 at 7:02 am.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 30
Reputation: P.K.Chaudhary is an unknown quantity at this point 
Solved Threads: 5
P.K.Chaudhary P.K.Chaudhary is offline Offline
Light Poster

Re: how to make a pie or bar chart in asp.net?

 
0
  #6
Apr 8th, 2009
Hi,

Sorry you have to search this.
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 242
Reputation: mail2saion is an unknown quantity at this point 
Solved Threads: 42
mail2saion's Avatar
mail2saion mail2saion is offline Offline
Posting Whiz in Training

Re: how to make a pie or bar chart in asp.net?

 
0
  #7
Apr 10th, 2009
HI,
The best way is to generate a bar/pie animated chart is fusion chart. Its completely free & easy to use as well as niceeee.

First download the documents from
http://www.fusioncharts.com/Download.asp

READ DOCUMENT CAREFULLY. TOO EASY.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum


Views: 1179 | Replies: 6
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC