Namespace: GlobFX.SwiffChartGenerator
Assembly: GlobFX.SwiffChartGenerator (in GlobFX.SwiffChartGenerator.dll)

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

Visual Basic

    Public Property Compressed As Boolean

C#

    public bool Compressed { get; set; }

#### Property Value

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.

#### Sample Code

The following code illustrates use of the Compressed property.

Visual Basic

    chart.SetDataFromTxtFile("C:\\myData.txt")
    chart.LoadStyle( "C:\\myStyle.scs" )

    ' Let's display an compressed SWF movie
    chart.Compressed= True

C#

    chart.SetDataFromTxtFile("C:\\myData.txt");
    chart.LoadStyle( "C:\\myStyle.scs" );

    // Let's display an compressed SWF movie
    chart.Compressed= true;

Applies To: Chart Object