Line series are black in EPS export, pen properties lost?
Posted: Mon May 02, 2005 5:37 pm
I'm creating charts with colored line at Runtime and exporting in different formats.
JPEG is OK, WMF also.
In EPS I dont get any color in the the line series. The lines are only black and the width is not changing. It seems like pen properties are not used. colors are Ok in another places in the chart (bands, labels...).
I can see the EPS export sample is correct, am I missing something?
I'm using TeeChartPro 7.04 Delphi 7
This is my code for the colors :
mySerie : TChartSerie;
...
mySerie1 := TLineSeries.Create(myChart);
for the colors
TLineSeries(mySerie1).Color := clMycolor;
TLineSeries(mySerie1).LinePen.width := myWidth;
and for export :
TeeSaveToPSFile( myChart, aFileName);
Thank you for your help.
J-Marc
JPEG is OK, WMF also.
In EPS I dont get any color in the the line series. The lines are only black and the width is not changing. It seems like pen properties are not used. colors are Ok in another places in the chart (bands, labels...).
I can see the EPS export sample is correct, am I missing something?
I'm using TeeChartPro 7.04 Delphi 7
This is my code for the colors :
mySerie : TChartSerie;
...
mySerie1 := TLineSeries.Create(myChart);
for the colors
TLineSeries(mySerie1).Color := clMycolor;
TLineSeries(mySerie1).LinePen.width := myWidth;
and for export :
TeeSaveToPSFile( myChart, aFileName);
Thank you for your help.
J-Marc