Specifies whether the generated content (SVG or Flash) should be compressed or not.

void object->SetCompressed( boolean compressed )

Arguments

object
Required. A Chart object.
compressed
Required. A boolean value that specifies whether the generated content (SVG or Flash) is compressed or not.

Remarks

This option only applies to SVG or Flash generated content.

Default: the generated content is not compressed.

Note: Flash Player 6 or higher is required for playing back a compressed Flash movie.

PHP Sample Code

The following PHP code illustrates use of the SetCompressed method in a PHP page.

$chart->SetDataFromQuery();
$chart->LoadStyle( "C:\\myStyle.scs" );

// Let's display an compressed SWF movie 
$chart->SetCompressed( true );
$chart->ExportAsResponse();

See Also

IsCompressed Method

Applies To: Chart Object