Namespace: GlobFX.SwiffChartGenerator
Assembly: GlobFX.SwiffChartGenerator (in GlobFX.SwiffChartGenerator.dll)
Specifies the frame rate of the Flash movie generated from a chart object.
Public Property FrameRate As Integer
public int FrameRate { get; set; }
An integer value that specifies the frame rate in frames per second of the Flash movie.
The FrameRate property specifies the frame rate in frames per second of the final Flash movie generated from a chart object. That is the number of frames displayed per second in the movie.
Loading a chart style with the LoadStyle method sets the frame rate to the value stored in the style file.
The following code illustrates use of the FrameRate property.
chart.SetDataFromTxtFile("C:\\myData.txt") chart.LoadStyle("C:\\myStyle.scs") ' Retrieve movie frame rate set by the call of LoadStyle method Dim fps As Integer = chart.FrameRate ' We want a movie with a minimum frame rate of 24 frames per second If fps < 24 Then chart.FrameRate = 24 End If
chart.SetDataFromTxtFile("C:\\myData.txt"); chart.LoadStyle("C:\\myStyle.scs"); // Retrieve movie frame rate set by the call of LoadStyle method int fps= chart.FrameRate; // We want a movie with a minimum frame rate of 24 frames per second if( fps < 24 ) chart.FrameRate= 24;
Title Property | Subtitle Property | Width Property | Height Property
Applies To: Chart Object