共用方式為


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

(選擇性) 要套用至圖表之範本 (佈景主題) 的路徑和檔案名稱。

適用於