![]() |
| ||
| how to make a pie or bar chart in asp.net? 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 |
| ||
| Re: how to make a pie or bar chart in asp.net? 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. |
| ||
| Re: how to make a pie or bar chart in asp.net? |
| ||
| Re: how to make a pie or bar chart in asp.net? You can draw this using a simple System.Drawing.Graphics bitmap canvas. Use mathematics to calculate the layout of the the charts. |
| ||
| Re: how to make a pie or bar chart in asp.net? 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? |
| ||
| Re: how to make a pie or bar chart in asp.net? Hi, Sorry you have to search this. |
| ||
| Re: how to make a pie or bar chart in asp.net? 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. |
| All times are GMT -4. The time now is 9:54 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC