I'm trying to use the TeeExport function, eporting to VML format.
However, all series colors are black. How can I have the series colors from my chart?
TeeChart 7/Export
-
- Advanced
- Posts: 103
- Joined: Tue Mar 02, 2004 5:00 am
- Location: Bad Wurzach
- Contact:
Hi Neil,
which TeeChart Pro version and code are you using ?
I've tried with the following code (using the latest TeeChart Pro v7) and works as expected (adding three line series with FillSampleValues) :
which TeeChart Pro version and code are you using ?
I've tried with the following code (using the latest TeeChart Pro v7) and works as expected (adding three line series with FillSampleValues) :
Code: Select all
if SaveDialog1.Execute then
begin
With TVMLExportFormat.Create do
try
Panel:=Chart1;
SaveToFile(SaveDialog1.FileName);
finally
Free;
end;
end;
Pep Jorge
http://support.steema.com
http://support.steema.com
Josep.
First. I logged on with my version 6 license number and password, and was automatically named Neil.
I use D5/TeeChart Pro v7.
The code I use is this:
TeeExport(Self, Chart);
When I select the "Picture as VML (HTM)" option and "Save" or "Send", the result is a browser page with all series colors black. (all other colors are there).
I will try your suggestion also, but I would prefer to use TeeExport function.
First. I logged on with my version 6 license number and password, and was automatically named Neil.
I use D5/TeeChart Pro v7.
The code I use is this:
TeeExport(Self, Chart);
When I select the "Picture as VML (HTM)" option and "Save" or "Send", the result is a browser page with all series colors black. (all other colors are there).
I will try your suggestion also, but I would prefer to use TeeExport function.
Hi,
Click in the Button and save. Then Open with IE and I'm able to see al the Series colors.
Have you tried to reproduce it in another machines ?
Could you please post an example in the steema.public.attachments newsgroups with which I can reproduce the problem "as-is" here ?
..hmm.. Strange..We'll verify to see whch can be the problem. Thanks for the advise.First. I logged on with my version 6 license number and password, and was automatically named Neil.
I've tried here using the TeeExport method and works fine. I simply have used the following code :When I select the "Picture as VML (HTM)" option and "Save" or "Send", the result is a browser page with all series colors black. (all other colors are there).
Code: Select all
uses TeExport,TeeVMLCanvas,TeeEditPro;
procedure TForm1.FormCreate(Sender: TObject);
begin
Series1.FillSampleValues(10);
Series2.FillSampleValues(10);
end;
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
TeeExport(Self,Chart1);
end;
Have you tried to reproduce it in another machines ?
Could you please post an example in the steema.public.attachments newsgroups with which I can reproduce the problem "as-is" here ?
Pep Jorge
http://support.steema.com
http://support.steema.com