Namespace: GlobFX.SwiffChartGenerator
Assembly: GlobFX.SwiffChartGenerator (in GlobFX.SwiffChartGenerator.dll)

Specifies the height in pixels of the chart.

Visual Basic
Public Property Height As Integer
C#
public int Height { get; set; }

Property Value

An integer value that specifies the height in pixels of the chart.

Remarks

The Height property specifies the height in pixels of the movie or image generated from a chart object.

Loading a chart style with the LoadStyle method sets the height to the value stored in the style file.

Sample Code

The following code illustrates use of the Height property.

Visual Basic
chart.SetDataFromTxtFile("C:\\myData.txt")
chart.LoadStyle("C:\\myStyle.scs")

' Retrieve movie Width and Height set by the call of LoadStyle method 
Dim w As Integer = chart.Width
Dim h As Integer = chart.Height 

' Now scale the movie by 2 
chart.Width= 2 * w
chart.Height= 2 * h
C#
chart.SetDataFromTxtFile("C:\\myData.txt");
chart.LoadStyle("C:\\myStyle.scs");

// Retrieve movie Width and Height set by the call of LoadStyle method 
int w= chart.Width;
int h= chart.Height; 

// Now scale the movie by 2 
chart.Width= 2 * w;
chart.Height= 2 * h;

See Also

Width Property | Title Property | Subtitle Property | FrameRate Property

Applies To: Chart Object