Retrieves the version of a chart object.

String object.GetVersion( ) 

Arguments

object
Required. A Chart object.

Return Value

The GetVersion method returns a string value that contains the version of the Swiff Chart Generator.
The string is formatted as "Major.Minor.Level.SubLevel". Example: "3.0.0.1".

JSP Sample Code

The following JSP code illustrates use of the GetVersion method.

// Create a new chart object 
SwiffChart chart= new SwiffChart(installation_dir);

// Display its version in the HTML page 
out.println( chart.GetVersion() + "<br>" );

See Also

Chart Object

Applies To: Chart Object