Chart(Int32, Int32, String, String) 构造函数

定义

初始化 Chart 类的新实例。

public Chart (int width, int height, string theme = default, string themePath = default);
new System.Web.Helpers.Chart : int * int * string * string -> System.Web.Helpers.Chart
Public Sub New (width As Integer, height As Integer, Optional theme As String = null, Optional themePath As String = null)

参数

width
Int32

整个图表图像的宽度(以像素为单位)。

height
Int32

整个图表图像的高度(以像素为单位)。

theme
String

(可选)要应用到图表的模板(主题)。

themePath
String

(可选)要应用到图表的模板(主题)路径和文件名。

适用于