![]() It also shows how to display the chart within the page.Ĭreate a new file named ChartArrayBasic.cshtml. This procedure shows how you can create a chart from data in arrays, using the default chart type. You can use arrays to contain the data that you want to include in your chart. Using an ArrayĪs explained in Introduction to ASP.NET Web Pages Programming Using the Razor Syntax, an array lets you store a collection of similar items in a single variable. The data you display in a chart can be from an array, from the results returned from a database, or from data that's in an XML file. This article shows you how to set some (not all) of these elements. The following picture shows many of the chart elements that you can customize when you use the Chart helper. ![]() Area chartĬharts show data and additional elements like legends, axes, series, and so on. The Chart helper can render more than 30 types of charts, including all the types of charts that you might be familiar with from Microsoft Excel or other tools - area charts, bar charts, column charts, line charts, and pie charts, along with more specialized charts like stock charts. It supports many options for formatting and labeling. The Chart helper can render an image that displays data in a variety of chart types. When you want to display your data in graphical form, you can use Chart helper. The information in this article applies to ASP.NET Web Pages 1.0 and Web Pages 2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |