Namespace: GlobFX.SwiffChartGenerator
Assembly: GlobFX.SwiffChartGenerator (in GlobFX.SwiffChartGenerator.dll)
Specifies the quality for encoding the chart as a JPEG image.
Public Property JpgQuality As Integer
public int JpgQuality { get; set; }
An integer value that specifies the quality of the JPEG encoding.
The JPEG quality parameter is an integer between 0 to 100.
Specify 100 for high quality, 0 for low quality.
The default encoding quality is 75.
The following code illustrates use of the JpgQuality property.
chart.SetDataFromTxtFile("C:\\myData.txt") chart.LoadStyle("C:\\myStyle.scs") ' Choose the JPEG encoding quality chart.JpgQuality = 90 ' Outputs the chart as a JPEG image chart.OutputFormat = OutputFormat.Jpeg
chart.SetDataFromTxtFile("C:\\myData.txt"); chart.LoadStyle("C:\\myStyle.scs"); // Choose the JPEG encoding quality chart.JpgQuality= 90; // Outputs the chart as a JPEG image chart.OutputFormat= OutputFormat.Jpeg;
OutputFormat Property | ExportAsFile Method | ExportAsBinary Method | GetHTMLTag | GetOutputLocation Method
Applies To: Chart Object