I have a problem using GetExport().SaveToJPEGFile() of TeeChart.
I'm using TeeChart ver 7.0.1.5.
There are two captures were made GetExport().SaveToJPEGFile() method.
They were using same program.
Look at this picture. It is normal.
Another Picture.
It is error image.
An Additional explanation,
[normal case]
: can be seen on the screen and be used GetExport().SaveToJPEGFile()
[error case]
: can't be seen on the screen and be used GetExport().SaveToJPEGFile()
I'll be waiting for your answer.
SaveToJPEGFile() Error
Re: SaveToJPEGFile() Error
Hi Seth,
Maybe you are just calling the SaveToJPEGFile function with inappropriate arguments. The following example made with VB6 and TeeCahrt v7 seems to work fine:
Please, check the differences between how do you produce both images and try to explain them.
Maybe you are just calling the SaveToJPEGFile function with inappropriate arguments. The following example made with VB6 and TeeCahrt v7 seems to work fine:
Code: Select all
Private Sub Form_Load()
TChart1.Aspect.View3D = False
Dim i As Integer
For i = 0 To 1
TChart1.AddSeries scLine
TChart1.Series(i).asLine.Pointer.Visible = True
TChart1.Series(i).FillSampleValues 25
Next i
TChart1.Export.SaveToJPEGFile "C:\tmp\test.jpg", False, jpegBestQuality, 80, 600, 400
End Sub
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |