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".

PHP Sample Code

The following PHP code illustrates use of the GetVersion method.

// Create a new chart object 
$chart = new SwiffChart;

// Display its version in the HTML page 
print($chart->GetVersion());
print("<br>");

See Also

Chart Object

Applies To: Chart Object