Hello,
when zooming a bar chart in V7, the width of the bars remained constant, only the white space between them grew. Now in V8 the bar chart zooms proportionally, thus the bars become wider when zooming in. My customer does not like that. Is there a way to make V8 act like V7 in that aspect?
Regards,
Matthias
Different zoom behaviour in TeeChart V7 and V8
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Different zoom behaviour in TeeChart V7 and V8
Hi Matthias,
This works fine for me here using latest v8 release available at the client area which is v8.05. Some issues were fixed on this fixed. Can you please check if v8.05 solves the issue at your end? If you are already using v8.04 please attach a simple example project we can run "as-is" to reproduce the problem here.
Thanks in advance.
This works fine for me here using latest v8 release available at the client area which is v8.05. Some issues were fixed on this fixed. Can you please check if v8.05 solves the issue at your end? If you are already using v8.04 please attach a simple example project we can run "as-is" to reproduce the problem here.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Different zoom behaviour in TeeChart V7 and V8
Hi Narcis,
thanks for pointing me to V8.05, hadn't noticed it before. However, it does not solve the issue. Please have a look into the attached archive. It contains two sample projects, in fact the getting started examples, and 4 screenshots. The Delphi 7 / TeeChart 7.07 and the Delphi 2009 / TeeChart 8.05 version look similar after starting the program, but when I zoom in to display only 2 bars out of the 3, the bars remain constant in width with V7 and become wider with V8. I'd like to get the V7 behaviour with V8, but do not see how.
Matthias
thanks for pointing me to V8.05, hadn't noticed it before. However, it does not solve the issue. Please have a look into the attached archive. It contains two sample projects, in fact the getting started examples, and 4 screenshots. The Delphi 7 / TeeChart 7.07 and the Delphi 2009 / TeeChart 8.05 version look similar after starting the program, but when I zoom in to display only 2 bars out of the 3, the bars remain constant in width with V7 and become wider with V8. I'd like to get the V7 behaviour with V8, but do not see how.
Matthias
- Attachments
-
- TeeChart_ZoomIssue.zip
- Screenshots and sample projects
- (93.21 KiB) Downloaded 178 times
Re: Different zoom behaviour in TeeChart V7 and V8
Hi Matthias,
Try adding the following to your v8 project after adding the values to the series:
Try adding the following to your v8 project after adding the values to the series:
Code: Select all
Chart1.Draw;
Series1.CustomBarWidth := Series1.BarWidth;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Different zoom behaviour in TeeChart V7 and V8
Hi Yerai,
these two lines do the job - thanks a lot! Just for the record: it's not exactly the old behaviour, because now the bar width remains constant also when changing the window (and thus chart) size, which wasn't the case with V7. But that's only a minor detail and not relevant for my case.
So again - thank your for your fast help!
Matthias
these two lines do the job - thanks a lot! Just for the record: it's not exactly the old behaviour, because now the bar width remains constant also when changing the window (and thus chart) size, which wasn't the case with V7. But that's only a minor detail and not relevant for my case.
So again - thank your for your fast help!
Matthias
Re: Different zoom behaviour in TeeChart V7 and V8
Hi Matthias,
Well, for that you still could change your bar's width at OnResize event to permit your bars to grow with your window.
Well, for that you still could change your bar's width at OnResize event to permit your bars to grow with your window.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |