Namespace: GlobFX.SwiffChartGenerator
Assembly: GlobFX.SwiffChartGenerator (in GlobFX.SwiffChartGenerator.dll)
Specifies the width in pixels of the chart.
Public Property Width As Integer
public int Width { get; set; }
An integer value that specifies the width in pixels of the chart.
The Width property specifies the width in pixels of the movie or image generated from a chart object.
Loading a chart style with the LoadStyle method sets the width to the value stored in the style file.
The following code illustrates use of the Width property.
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
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;
Height Property | Title Property | Subtitle Property | FrameRate Property
Applies To: Chart Object