Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2247

Summary: Correct plotting of axes with RAD Studio 10.1 Berlin, incorrect axes plotting with RAD Studio 10.3 Rio
Product: VCL TeeChart Reporter: Bill Anderson <ww_anderson>
Component: AxisAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: chris, marc
Priority: ---    
Version: 18.160504   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: A picture showing the incorrect grid plotting on the black axes

Description Bill Anderson 2019-10-01 09:35:50 EDT
When my program was run with RAD Studio 10.1 Berlin and TeeChart Pro VCL 2016.18 the AXES of the TCharts were plotted perfectly.

However, when I upgraded to Rad Studio 10.3 Rio and TeeChart Pro VCL 2018 (2018.26.181203) plotting of the axes was incorrect.  Now the left and top axes of the TCharts have a GRAY (grid pixel) color on them rather than being all BLACK (the axis) color.

Since the missing black pixel on the Top and Left axes is the same color as the major and minor grids (gray), it appears that the grid is writing the pixel one too many pixels to the top and left.

It appears to be aproblem with WRITING THE GRID.


Has this BUG been found before, and if so, has it been fixed?  It is a cosmetic bug, but it looks sloppy - particularly if the grid lines are close together or are more than 1 pixel wide.


I have enclosed a *.png picture file (AxesGridBUG_Berlin_vs_Rio.png) showing
  1) from my program
    a) correct axis plotting in RAD Studio 10.1 Berlin and TeeChart 2016 compiled program
    b) INcorrect axis plotting in 10.3 Rio and TeeChart 2018 - in the development interface
    c) INcorrect axis plotting in 10.3 Rio and TeeChart 2018 compiled program
  2) from the test program, Project2
    a) INcorrect axis plotting in 10.3 Rio and TeeChart 2018 - in the development interface
    b) INcorrect axis plotting in 10.3 Rio and TeeChart 2018 compiled program

I have also enclosed a zip file (TChart_GridAxis_Rio_BUG.zip) from Rio and 2018 TeeChart showing a TEST program where the compiled version shows the major grids (color red) writing over the black left axis, and the minor grids (color aqua) also writing over the black left axis.

Thank you for your help.

Sincerely,
Bill Anderson
Comment 1 Bill Anderson 2019-10-01 09:40:33 EDT
Created attachment 921 [details]
A picture showing the incorrect grid plotting on the black axes
Comment 2 Bill Anderson 2019-10-01 09:41:52 EDT
I couldnt add the project2 zip file because it was too big. If you need it, I can make it downloadable from my University web site.
Comment 3 christopher ireland 2019-10-01 10:10:44 EDT
Bill - with any luck you should be able to upload your zip file to: 
http://steema.net/upload.aspx

Thanks!
Comment 4 marc meumann 2019-10-01 11:02:21 EDT
Hello Bill,

Could you confirm if a new chart dropped on a Form displays the same behaviour?

If you could load the test project up to the download location that Chris linked it would be useful for us to cross-check what may be happening.

Regards,
Marc
Comment 5 Bill Anderson 2019-10-01 11:46:46 EDT
Hi Marc,

DejaVu - but this is my last Rio / TeeChart bug!

I guess it hasn't been reported before?

> Could you confirm if a new chart dropped on a Form displays the same behaviour?
Yes, in the project2 test program, I just dropped a TChart into a form.  Then I had to change the properties of TChart to what I had in my program (at least up to the Left axis) and add the horizontal grids. Then I compiled it and saw the writing of major and minor grids on the left axis.  I added none of my code to the project.  This is the lower right chart in the *.png file.


> If you could load the test project up to the download location that Chris 
> linked it would be useful for us to cross-check what may be happening.

I tried to download the zip file to Chris' location but I got this error (maybe because the zip file is too big?):
  Server Error in '/' Application.


So I downloaded it to the Univ of Bristol download site:
  File name: TChart_GridAxis_Rio_BUG.zip
  File size: 19,440,454 bytes
  Your file is now available for download from the following URL:
  <https://fluff.bris.ac.uk/fluff/u3/anwwa/JXOdJ2H3M_lyxT98PEkePgrHi/>
  and will remain there until: Tue Oct 15 22:59:59 2019 UTC.

Sincerely,
Bill
Comment 6 Bill Anderson 2019-10-02 09:47:12 EDT
Hi Marc,

I see that the Axis/Grid bug has been fixed.  But how did you fix it? 

Do I just need to change some Property settings in the Object inspector?

Or will I need to wait for the next available bug fix installation?

Sincerely,
Bill
Comment 7 marc meumann 2019-10-09 06:13:33 EDT
Hello Bill,

The fix is internal. We are compiling the next version release right now. It’ll go through a preliminary check and the definitive version should be available for customer download on either Friday 11th or Monday 14th.

Regards,
Marc
Comment 8 Bill Anderson 2019-10-14 12:53:12 EDT
Hi Marc,

I uninstalled the old TeeChart version, Build 2018.26.181203, and then installed the new version, Build 2019.28.191011.  It installed with no errors mentioned.

However, when I started up RAD Studio Rio, I got these first two errors (and MANY subsequent ones besides):

bds.exe - Entry Point Not Found
The procedure entry point @System@Classes@TFieldsCache@$bcctr$qqrv could not be located in the dynamic link library C:\WINDOWS\SYSTEM32\Tee926.bpl. 
OK   

and 

Error
Can't load package C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX 2019.28\Delphi26\Delphi26.win32\Bin\DclTeePro926.bpl.
The specified procedure could not be found.
Do you want to attempt to load this package the next time a project is loaded?
[Yes] [No]

and I was nowhere close to compiling my project. 

Would you please tell me what I have to do to get the new TeeChart working?

Sincerely,
Bill
Comment 9 Bill Anderson 2019-10-15 10:51:33 EDT
Hi Marc,

I fixed the RAD Studio loading and compiling problems, and both this bug (2247) and my other bug (2237) appear to be fixed.  Many thanks.

Sincerely,
Bill