Chart(Int32, Int32, String, String) Chart(Int32, Int32, String, String) Chart(Int32, Int32, String, String) Constructor

Definition

Initializes a new instance of the Chart class.

public Chart (int width, int height, string theme = null, string themePath = null);
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)
Parameters
width
Int32 Int32 Int32

The width, in pixels, of the complete chart image.

height
Int32 Int32 Int32

The height, in pixels, of the complete chart image.

theme
String String String

(Optional) The template (theme) to apply to the chart.

themePath
String String String

(Optional) The template (theme) path and file name to apply to the chart.

Applies to