Chart(Int32, Int32, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the Chart class.
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)
Parameters
- width
- Int32
The width, in pixels, of the complete chart image.
- height
- Int32
The height, in pixels, of the complete chart image.
- theme
- String
(Optional) The template (theme) to apply to the chart.
- themePath
- String
(Optional) The template (theme) path and file name to apply to the chart.