.NET news » Search results

Search results for query "chart" (18):

Creating Charts with the Google Chart API

This article looks at how to use the Google Chart API to create charts. The Google Chart API is a free service from Google that enables web developers to generate chart images on the fly by creating an <img> element with a src attribute that points to a URL that includes the chart data, labels, and other information in the querystring. Read on to learn how to use the Google Chart API in your ASP.NET website!

Using Microsoft's Chart Controls In An ASP.NET Application: Exporting Charts

The Chart Web control makes it easy to display a chart in an ASP.NET web page - simply drag the Chart control onto the page, set a few properties and either bind it to a data source control or write a few lines of code that get and bind the data of interest. When a page with a Chart control is visited by a user, the Chart control renders an <img> element on the page that displays the rendered chart.

The Chart control is great for displaying a chart on a web page, but what if a user wants to view that chart offline, or send the chart to a colleague? In an earlier installment, Programmatically Generating Chart Images, we examined a number of ways to generate the chart image programmatically. This technique is useful if you want to modify the chart image before displaying it (to, say, add a watermark) or if you want to send the chart to a recipient via email. This technique can also be used to allow the visitor to export the chart image into an alternative format.

This article shows how to let users export a chart from a web page to an alternative format. Specifically, we'll look at adding an "Export" button to the chart web page that, when clicked, exports the chart displayed in the web page to either an image file that can be downloaded or as a PDF file.

2010-10-05 19:00:00   Source: Using Microsoft's Chart Controls In...   Tags: Source Control

Using Microsofts Chart Controls In An ASP.NET Application: Rendering the Chart

This article explores the three different techniques the Microsoft Chart Controls has at its disposal for generating chart images. Well look at how to use each option, enumerate the pros and cons, and discuss when to consider using one option over another.

2009-08-18 19:00:00   Source: Using Microsofts Chart Controls In...   Tags: ASP.NET Graphics

Using Microsofts Chart Controls In An ASP.NET Application: Getting Started

While the Microsoft Chart Controls have some rough edges, their cost (free), number of chart types, and array of supported charting features make them an excellent choice for adding charts to an ASP.NET web application. This article, the first in a series of articles on the Chart Controls, shows how to download, install, and get started using the Microsoft Chart Controls.

2009-07-21 19:00:00   Source: Using Microsofts Chart Controls In...   Tags: ASP.NET Graphics

Using Microsoft's Chart Controls In An ASP.NET Application: Using the Chart Controls with ASP.NET MVC

The Microsoft Chart controls are a series of classes in the System.Web.UI.DataVisualization.Charting namespace that allow web developers to ability to add charts to their ASP.NET applications. The most pertinent charting-related class is the Chart class, which contains information about the chart's appearance, series, charting areas, and so forth. In most of the demos and code samples we've explored thus far, we've used the Chart class as a Web control, adding the <asp:Chart> declarative markup to our ASP.NET page, setting a few properties and, occasionally, writing a few lines of code. When used as a Web control, the Chart class both creates the chart (as an image) and then renders an <img> element that points to the generated chart image.

Using the Chart Web control is a standard practice in a WebForms application, but it is not suggested when building an ASP.NET MVC application. (While it is possible to add Web controls - including the Chat Web control - to the views of an ASP.NET MVC application, it is generally frowned upon.) So, if we can't use the Chart Web control in an ASP.NET MVC application, how do we display a chart? In addition to being used as a Web control, the Chart class can also be used programmatically. It is quite possible to create a new Chart object, set some properties, plot the data points, and then generate the chart image. In fact, we looked at using this technique in an earlier installment, Programmatically Generating Chart Images, in which we saw (among other things) how to generate chart images programmatically and add them as attachments in an email message.

This article explores how to display charts in an ASP.NET MVC application.

2010-09-21 19:00:00   Source: Using Microsoft's Chart Controls In...   Tags: Other

A WPF Pie Chart with Data Binding support

This article describes the development of a pie chart user control for WPF that uses data binding. The pie chart is not backed by its own model, rather, it binds directly to your data objects. This has the big advantage that the WPF framework takes care of handling events that relate to changes in the bound data, updating the pie chart view accordingly.
2008-07-25 02:25:00   Source: A WPF Pie Chart with Data Binding...   Tags: Graphics Components

A Simple Pie Chart Control - Improved 3-D Pie Chart

A follow up to the simple pie chart control article which will detail the new improvements
2010-06-30 17:41:00   Source: A Simple Pie Chart Control -...   Tags: Graphics

ASP.NET MVC Chart Control

Shows how chart controls are used in ASP.NET MVC.
2010-11-07 01:24:00   Source: ASP.NET MVC Chart Control   Tags: ASP.NET

Using Microsofts Chart Controls In An ASP.NET Application: Plotting Chart Data

The first installment in this article series showed some simple examples of plotting chart data. This article delves into more intricate examples, showing how to plot database data, data from an XML file, and data from other types of data sources.

2009-07-28 19:00:00   Source: Using Microsofts Chart Controls In...   Tags: ASP.NET Graphics

Simple Column Chart Generator

This article shows how to generate some column chart images for your users on a easy way. You can simply give some arguments to the class library and receive back an image object, or directly save it on hard disk.
2008-01-18 18:02:00   Source: Simple Column Chart Generator   Tags: Graphics Examples