Determines whether the generated content (SVG or Flash) is to be compressed or not.

boolean object.IsCompressed( ) 

Arguments

object
Required. A Chart object.

Return Value

If the generated content (SVG or Flash) is to be compressed, this method returns true; otherwise, it returns false.

Remarks

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.

JSP Sample Code

The following JSP 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.SetDataFromTxtFile("C:\\myData.txt");
chart.LoadStyle( "C:\\myStyle.scs" );

// If the Flash movie is compressed, disable compression 
if( chart.IsCompressed() )
  chart.SetCompressed( false );

chart.ExportAsResponse();

See Also

SetCompressed Method

Applies To: Chart Object