ASP.NET 4 Unleased - p 74

Chú ý Tham số thứ hai trong phương pháp FinancialFormula là một chuỗi đại diện cho một tập hợp các thông số cho phân tích. Điều này đặt tham số khác nhau cho mỗi công thức. Dự báo công thức được sử dụng trong Ví dụ 15,7 sử dụng một tham số thiết lập của RegressionType, Chu kỳ, ApproxError, ForecastError cho phép bạn tùy chỉnh như thế nào phân tích được thực hiện. Bạn có thể tìm thấy những bộ hoàn chỉnh các thông số cho mỗi công thức trên trang web của MSDN. . | 704 CHAPTER 15 Using the Chart Control NOTE The second parameter in the FinancialFormula method is a string representing a set of parameters for the analysis. This parameter set is different for every formula. The Forecasting formula used in Listing uses a parameter set of RegressionType Period ApproxError ForecastError that enables you to optionally customize how the analysis is performed. You can find the complete set of parameters for every formula on the MSDN website. The statistical and financial formulas built into the Chart control make it easy to add powerful analyses to your web applications with little custom code. In the past adding things such as striplines and performing additional calculations on a data series was either something you had to code yourself or something that cost a great deal of extra money when buying charting controls from vendors. With 4 all that functionality is not only available but also it is available in an easily accessible easy to use API. Customizing a Chart s Appearance The Chart control enables you to customize almost every aspect of its appearance. In addition to customizing the plot area specifying border details adding axis titles and inserting legends the Chart control also enables you to easily render your data in 3D. Customizing the Background and Plotting Area The Chart control provides many properties to customize almost every aspect of the background and plotting area including the background color border colors and widths gradients and data point colors. Some of the properties you can use to customize a chart s appearance follow BackColor The color of the chart s background. BackGradientStyle Specifies how a gradient should be applied to the background. BackSecondaryColor The secondary color used for background gradients. Palette Specifies the color palette to use for chart s data points. BorderSkin-SkinStyle Provides a number of built-in styles to render a shaded three-dimensional border around the .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.