How to Use OWC to draw charts in ASP. NET (1)

Source: Internet
Author: User

How to Use OWC to draw charts in ASP. NET (1)
I. Overview
2. Set the chart Engine
Iii. OWC license issues
Iv. Operation Mechanism of OWC
5. Install OWC 10 on the Web Server
Vi. OWC programming mode
When there are already too many threads, there are already too many threads
Body:
When there are already too many threads, there are already too many threads
I. Overview
When developing applications, interactive charts are often required. For example, you may be developing an application that manages sales and product data and stores the data on the SQL Server database. The application allows users to add data and update existing data, in addition to these features, applications are also required to intuitively describe data in the form of a pie chart, column chart, or XY scatter chart.
In Windows desktop applications, such requirements are never a problem. There are too many graphics libraries and drawing components available. However, for Web applications, the problem becomes much more complicated. You can use the following methods to draw charts in a Web application:
■ Client:
Using various ActiveX components, Web browsers are likely to achieve the "rich" Features of Windows client programs. The disadvantage is that the client settings are complicated and client software must be released. The license fee is usually calculated per client. In addition, non-MS Windows/IE clients are generally difficult to run.
■ Server:
Use the server code running on the Web server to dynamically generate charts and send them to the client as GIF or JPG images. The advantage of this method is that the client only needs a standard browser. The disadvantage compared with the client technology is that the graphic interaction capability is poor (no scaling or scrolling is allowed unless a new request is submitted to the server ). Many map websites (such as Mapquest.com) use this technology extensively. Note: map images are not stored on the Web server, but are dynamically generated from the map database when a user sends a request.
This article mainly discusses how to use the server-side chart rendering technology in ASP. NET Web pages provide graphical functions. Specifically, this article analyzes how to use the data stored in the ms SQL database to generate a scatter chart.
2. Set the chart Engine
To draw a chart in an ASP. NET application, you must have an appropriate chart engine. ASP. NET has a built-in Graphics Tool library, that is, System. the GDI + of the Drawing namespace can be used to create simple pie charts, column charts, and line charts. However, it is a low-level API and cannot be used as an engine for Drawing charts, in particular, it is not suitable for drawing complex charts.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.