Watch, Follow, &
Connect with Us

Please visit our new home

Public Report
Report From: Delphi-BCB/AddOn/TChart/TDBChart    [ Add a report in this area ]  
Report #:  119523   Status: Closed
[Regression in XE5] TDBChart functionality completed changed and misfunctioning
Project:  Delphi Build #:  19.0.13476.4176
Version:    19.0 Submitted By:   Peter Elwell
Report Type:  Crash / Data loss / Total failure Date Reported:  10/4/2013 3:10:27 PM
Severity:    Critical / Show Stopper Last Updated: 2/6/2014 1:04:46 AM
Platform:    All versions Internal Tracking #:   44101
Resolution: Fixed (Resolution Comments) Resolved in Build: : XE5 Update2
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 10
In one of my main projects all my TDBCharts have been totally corrupted.

The bottom axis labels are no longer placed correctly. In some cases the label text has been aligned where the centre of the text is on the zero axis.

After searhing long and hard through the settings I am unable to effect any change to the alignment.

I will have to revert back to XE4 which works perfectly and has done since Delphi 7.

Until you resolve this issue I will not be using XE5.

Create a new Vcl App and add a TDBChart. Use manual to specify your own data and add a few entries.

The result will be the label text hard up against the 0 axis overlapping the x axis ticks. Try changing the rotation of the text to see what happens.

There is no way to prevent this occuring.

Steps to Reproduce:
1. Create a new VCL Form Application
2. Add a TDBChart to the form
3. Use a Bar style.
4. For series data specify Manual
5. Add a few entries.
6. On the Chart Bottom Axis under label style change the Angle to 90 or 270.
7. The result will be the label text hard up against the 0 axis overlapping the x axis ticks.

There is no way to prevent this occuring.

Tomohiro Takahashi at 10/4/2013 7:01:13 PM -
Could you please attach sample project(with some screenshot) to reproduce/confirm your issue?

Peter Elwell at 10/6/2013 10:51:21 PM -
Sample attached as requested

Peter Elwell at 10/6/2013 2:41:54 PM -
Please see attachments
They show the graph as produced by XE4 and the graph produced by the project source compiled using XE5.
I will build a sample project showing the differences.

Peter Elwell at 10/8/2013 9:48:13 PM -
Please see attached as requrested. A prompt solution would be appreciated.

Tomohiro Takahashi at 10/24/2013 10:34:05 PM -
Please add spaces as below for the time being...
procedure TForm3.ChartTodayGetAxisLabel(Sender: TChartAxis;
  Series: TChartSeries; ValueIndex: Integer; var LabelText: string);
  LabelText := '                              ' + LabelText;

Peter Elwell at 10/29/2013 5:44:42 PM -
Thank you for your update. This would be ok to use if it weren't for the fact the labels have been centre justified. How can I turn this off to straighten the text.
Its also possible to embed tab characters with the same result.

David Berneda at 10/30/2013 1:33:49 AM -
Hi Peter / Tomohiro-san

We're about to release a free update (VCL and FMX) for XE5 Update 1.
Meanwhile, you might want to try a candidate version with full sources (it should fix the vertical labels alignment problem), at this download link:

Peter Elwell at 12/29/2013 6:37:34 PM -
I have just installed XE5 Update 2 and the bug is still present.

Tomohiro Takahashi at 12/29/2013 7:24:00 PM -
Unfortunately, updated version is not released yet...

Peter Elwell at 12/30/2013 2:31:20 PM -
Thank you. I do have a termporary fix from Steema I will try.

Peter Elwell at 10/30/2013 11:36:54 PM -
The Relase Candidate did the job thanks
I look forward to the free update (VCL FMX) for EX5 Update 1

Tomohiro Takahashi at 10/29/2013 7:02:22 PM -
I think this is a issue of bundled version of TeeChart Lite edition...

Tomohiro Takahashi at 1/31/2014 5:38:06 PM -
Today, updated version was released.
[ID: 29708, TeeChart Lite for RAD Studio, Delphi, C++Builder XE5 Update 2]

Could you please retest your issue with it?

Server Response from: ETNACODE01