Determines whether the generated content (SVG or Flash) is to be compressed or not.
boolean object->IsCompressed( )
If the generated content (SVG or Flash) is to be compressed, this method returns true; otherwise, it returns false.
This option only applies to SVG or Flash generated content.
Note: Flash Player 6 or higher is required for playing back a compressed Flash movie.
The following PHP example sets the data and loads the graphics settings of a given chart object. Then it disables the SWF compression if it is enabled.
$chart->SetDataFromQuery(); $chart->LoadStyle( "C:\\myStyle.scs" ); // If the Flash movie is compressed, disable compression if( $chart->IsCompressed() ) { $chart->SetCompressed( false ); } $chart->ExportAsResponse();
Applies To: Chart Object