Hi Bart,
Certain types of statistical data do well in charts. IP addresses would not,
but, for example, browser manufacturer and version would (anything which you
can do a roll-up of). Assuming that you have a database from which you can
select data, you should be able to execute queries that contain "rolled up"
information in them.
Pttting these into a chart can be a relatively simple process, or it can be
more sophisticated. The simplest way is to use HTML elements such as divs
for your bars, putting them into an HTML table, and setting the height/width
according to the statistics. You could probably create a reusable control
that displays statistical data in a bar chart like this fairly easily.
The more difficult but more flexible method is to use these statistics to
create images, such as a bar chart, pie chart, or what-have-you. In this
case you would need an ASPX page that serves as your "image." The Page would
create a drawing from the data, set the Response.ContentType to "image/jpg"
(whatever the right MIME type), and save the image to the
Response.OutputStream. The page would be referenced in an image tag in
another page.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
"Bart Schelkens" <bs********@hotmail.com> wrote in message
news:O4**************@TK2MSFTNGP15.phx.gbl...
Hi,
I've created a website that stores some data in a log-table (like which
ip-adres, which browser,...).
Now my boss wants to view this data in a chart.
How can I do this in asp.net ?
Thanks in advance.