Hi,
i have a TeeChart v2011.03.30407 problem with the syncronisation between series color and the legend color.
I have a program with 16 series with different colors and the option "Font Series Color" is checked.
When i start my program the legend has not the same color as the series color.
When I insert the following code in the FormActive function
//----------------------------------------------------------------------------------------
for(int i=0;i<16;i++)
Chart1->SeriesList->Items->Color = Chart1->SeriesList->Items->Color;
//----------------------------------------------------------------------------------------
the series color and the legend color equal but the color is different as the color in the object inspector.
IDE: C++Builder 5
with best regards,
Michael.
Teechart 2011 Legend Color Bug ?
Re: Teechart 2011 Legend Color Bug ?
Hi Michael,
What series type are you using?
What series type are you using?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Teechart 2011 Legend Color Bug ?
Hi Yeray,
TFastLineSeries
a sample with the different colors
http://fino.go-sys.de/image1.jpg
a sample with the code in the FormActive function.
http://fino.go-sys.de/image2.jpg
a sample with the correct colors
Series1->SeriesColor = clBlue;
Series2->SeriesColor = clRed;
Series3->SeriesColor = clGreen;
http://fino.go-sys.de/image3.jpg
Best Regards,
Michael.
TFastLineSeries
a sample with the different colors
http://fino.go-sys.de/image1.jpg
a sample with the code in the FormActive function.
http://fino.go-sys.de/image2.jpg
a sample with the correct colors
Series1->SeriesColor = clBlue;
Series2->SeriesColor = clRed;
Series3->SeriesColor = clGreen;
http://fino.go-sys.de/image3.jpg
Best Regards,
Michael.
Re: Teechart 2011 Legend Color Bug ?
Hello Michael,
I'm trying to reproduce it in a simple example project with just this code but I can't:
Could you please modify it so we can reproduce the problem here? Or could you please send us a simple example project we can run as-id to reproduce the problem here?
Thanks in advance.
I'm trying to reproduce it in a simple example project with just this code but I can't:
Code: Select all
void __fastcall TForm1::FormCreate(TObject *Sender)
{
Chart1->View3D = false;
Chart1->Legend->FontSeriesColor = true;
for (int i=0; i<3; i++)
{
TFastLineSeries* fastLine = new TFastLineSeries(this);
fastLine->ParentChart=Chart1;
fastLine->FillSampleValues();
}
}
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Teechart 2011 Legend Color Bug ?
Dear all
I use Dephi and got the same result. Legend and series colors are different but only at runtime.
When I use old Teechart version with the same software there is no bug with the colors.
In sourcecode I do not make any changes in colors, only configure Legend with Font Series color.
PS
I'm not sure but I use TQRChart with Quickreport5.x and it is every time a big problem to get the packages compiled without any error.
Best Regards
I use Dephi and got the same result. Legend and series colors are different but only at runtime.
When I use old Teechart version with the same software there is no bug with the colors.
In sourcecode I do not make any changes in colors, only configure Legend with Font Series color.
PS
I'm not sure but I use TQRChart with Quickreport5.x and it is every time a big problem to get the packages compiled without any error.
Best Regards
Re: Teechart 2011 Legend Color Bug ?
Hi,
Thanks in advance.
It would be helpful if you could arrange a simple example project we can run as-is to reproduce the problem here.mbw wrote:I use Dephi and got the same result. Legend and series colors are different but only at runtime.
When I use old Teechart version with the same software there is no bug with the colors.
In sourcecode I do not make any changes in colors, only configure Legend with Font Series color.
Thanks in advance.
If you find any problem with it any-time, don't hesitate to let us know and we'll try to help you preparing/compiling the packages.mbw wrote:I'm not sure but I use TQRChart with Quickreport5.x and it is every time a big problem to get the packages compiled without any error.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |