Chart(Int32, Int32, String, String) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
(可选)要应用到图表的模板(主题)路径和文件名。