Page 1 of 2
Wrond legend display with 2015.14 update
Posted: Tue Jan 27, 2015 8:23 am
by 16571032
Actually I get a wrong display when showing the legend at the bottom
- WrongLegend.PNG (3.41 KiB) Viewed 26206 times
Placing the legend at the right side gives a correct result
- Uli
Re: Wrond legend display with 2015.14 update
Posted: Tue Jan 27, 2015 9:27 am
by yeray
Hi Uli,
This is a known problem already detected and reported in the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1030
Feel free to add your mail to the CC list to be automatically notified when an update arrives.
Re: Wrond legend display with 2015.14 update
Posted: Tue Jan 27, 2015 1:31 pm
by 16571032
Hi Yeray,
the public tracker says RESOLVED FIXED.
And you are telling there that the file Chart.pas is updated. So where to get it?
- Uli
Re: Wrond legend display with 2015.14 update
Posted: Tue Jan 27, 2015 2:04 pm
by yeray
Hello,
I've just sent the modified unit to the mail account you have registered in this forum.
Don't hesitate to let us know if you still find any problem with it.
Re: Wrond legend display with 2015.14 update
Posted: Tue Jan 27, 2015 3:14 pm
by 16569451
Hello Yeray,
could you please send me the modified unit also?
Thanks in advance.
Re: Wrond legend display with 2015.14 update
Posted: Tue Jan 27, 2015 3:51 pm
by yeray
Hi,
Bert Kreisel wrote:could you please send me the modified unit also?
Sure! Just done!
Re: Wrond legend display with 2015.14 update
Posted: Mon Feb 02, 2015 2:01 pm
by 16571032
Hello Yeray,
I'm very sorry but the bottom legend is still wrong.
I need to use a legend with checkboxes.
In my own program I get now the legend displayed correctly but get a wrong behaviour. So a click on some checkboxes switches on/off the wrong series. To switch on/off a desired series I need to click beside a checkbox in the legend text. This means that the mouse position is not calculated correctly.
As it is difficult to send the full source code I have tried to make an example. The example also behaves wrongly but a bit different (some checkboxes are missed but you can click also on the text). Anyway you can see a malfunction and check what's wrong.
So simply drop a TChart component on a project form and run
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var i: integer;
SeriesArray: array[0..5] of TChartSeries;
begin
Form1.Width := 800;
Form1.Height := 400;
Chart1.Legend.CheckBoxes := true;
for i := 0 to High(SeriesArray) do
begin
SeriesArray[i] := TLineSeries.Create(Chart1);
SeriesArray[i].FillSampleValues(100);
end;
Chart1.AddSeries(SeriesArray);
for i := 0 to 5 do
Chart1.Series[i].Title := 'this is long series title '+IntToStr(i);
end;
As I like to deploy a correct version of my program a quick fixup would be very appreciated.
- Uli
Re: Wrond legend display with 2015.14 update
Posted: Mon Feb 02, 2015 3:47 pm
by yeray
Hi Uli,
I've tried this with both v2015.14 and with the current internal sources we have here and it seems to work fine in both:
- all_visible.png (94.51 KiB) Viewed 26096 times
- two_hidden.png (79.35 KiB) Viewed 26099 times
Here it is the project I used:
Am I missing anything?
Re: Wrond legend display with 2015.14 update
Posted: Tue Feb 03, 2015 2:32 am
by 16471352
i just downloaded the TeeChart Pro v2012/14 VCL version today and also have this misaligned legend checkbox error.
can you please send me the modified unit as well?
also, is there a way to automatically update teechart without individually requesting each patch?
thank you,
Tracey
Re: Wrond legend display with 2015.14 update
Posted: Tue Feb 03, 2015 2:39 am
by 16471352
correction to the above: i have TeeChart Pro 2015 for XE7. the version number was incorrect in my order confirmation. sorry for any confusion!
Tracey
Re: Wrond legend display with 2015.14 update
Posted: Tue Feb 03, 2015 9:58 am
by yeray
Hello Tracey,
Tracey wrote:i just downloaded the TeeChart Pro v2012/14 VCL version today and also have this misaligned legend checkbox error.
can you please send me the modified unit as well?
I see you don't have the sources so I'm preparing a TeeChart Pro BETA installer for XE7.
I'll send the link to it as soon as possible.
Tracey wrote:also, is there a way to automatically update teechart without individually requesting each patch?
Yes, with the regular maintenance releases. However, if we consider a fix is important enough, we are glad to prepare beta installers.
Re: Wrond legend display with 2015.14 update
Posted: Thu Feb 05, 2015 9:00 am
by 16571032
Hello Yeray,
I have downloaded your test project testBottomLegendCheckboxes.zip
Indeed it works with 3D display. BUT please switch 3D off and you get
- testBottomLegendCheckboxes.png (55.58 KiB) Viewed 26071 times
Regards
Uli
Re: Wrond legend display with 2015.14 update
Posted: Sun Feb 08, 2015 5:39 pm
by 16471352
hi yeray:
thanks for the TeeChart Pro BETA installer for XE7. it fixed the misalignment problem.
however now on plots where the legend is more than one row, the checkboxes in all but the first column are not visible, similar to what was reported by uli above. i am also using 2D plots.
thanks!
Tracey
Re: Wrond legend display with 2015.14 update
Posted: Mon Feb 09, 2015 1:44 pm
by yeray
Hello Uli and Tracey,
You are right the change I proposed doesn't seem to fix this in some circumstances.
I've reopened the ticket so it can be reviewed:
http://bugs.teechart.net/show_bug.cgi?id=1030
Re: Wrond legend display with 2015.14 update
Posted: Mon Mar 09, 2015 2:44 pm
by 16571032
Hello Yeray,
now a month has passed but no solution up to now.
Ticketing a bug in the database, even with importance 'high major' does not solve anything. Someone must try to fix the bug.
So may I kindly ask you what's happening ? It's "just" 16 bugs reported for VCL TeeChart since then still open, only 2 bugs solved. So is no one dealing with them ?
I would be quite bad if I need to wait for the release of a next version.
Uli