Vault9 Modding Vault9 Graphics Vault9 Code Vault9 Net Vault9 OS Vault9 Gaming Vault9 ChillZone Vault9 Tech Vault9 Archives       Vault9 Global9       Vault9 Fusion     Vault9 Blog     Vault9 Network          
 

Please Note!

This is a read-only board, no new topics or registrations are allowed. The Code Vault has moved to http://forums.vault9.net - Be sure to find more information there!


 
Reply to this topicStart new topic
> ASP News->Using Microsoft's Chart Controls In An ASP.NET Applic
post Sep 29 2009, 05:00 PM
Post #1


Guru
Group Icon

Group: Administration
Posts: 1,203
Joined: 24-July 05
Member No.: 4,918

Sex: Male




The Microsoft Chart controls demos we have examined so far all use the Chart Web control to position the chart image on the web page and to configure a number of its stylistic
settings. For example, while the Plotting Chart Data article showed several demos illustrating the different
ways to specify the points to plot on the chart surface, all of these demos used a Chart Web control to indicate where on the page the chart should appear, along with
its dimensions, its series, its chart areas, its colors, and so on. While the Chart Web control makes it easy to get started with the chart, it is not necessary. From the
ASP.NET page's code-behind class you can: programmatically create a Chart object; specify its width, height, colors, and other display-related properties; plot the charts
data points through any of the mechanisms discussed in Plotting Chart Data; and generate an image for the chart in a number of different image formats, saving the image
data to a file or to a stream.



Being able to programmatically configure the chart and generate the chart image is useful if you want to modify the chart image in some way before displaying it. Perhaps you
want to add a watermark, or embed it inside a PDF file.
Maybe you don't want to display it at all, but instead want to send it as an attachment in an email, or save the image to the web server's file system or to the database.
Whatever the scenario, the good news is that the Microsoft Chart controls make it easy to programmatically create, customize, and generate the chart image.



This article looks at how to programmatically create a chart. Specifically, we'll see how to dynamically add a watermark to the generated chart image, as well as how to
email the chart to a recipient. The demos in this installment do not use the Chart Web control at all; instead, the charts in these demos are created and rendered directly
from the ASP.NET pages' code-behind classes. Read on to learn more!

Read More >



Source: http://www.4guysfromrolla.com/articles/093009-1.aspx
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Sep 29 2009, 05:00 PM
Post #


Member


Group: Administration

Joined: Today, 06:30 AM





Quote PostGo to the top of the page

Reply to this topicStart new topic



 



- Lo-Fi Version Time is now: 21st November 2009 - 06:30 AM
Privacy Policy
South Africa's Top Sites Kinetiq