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 596 - In QuickReport Legend not visible with Legend Position Top or Bottom
Summary: In QuickReport Legend not visible with Legend Position Top or Bottom
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Legend (show other bugs)
Version: 131119
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-24 07:52 EST by Bert Kreisel
Modified: 2014-03-25 03:40 EDT (History)
2 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version: RAD 2010


Attachments
TQRChart legend alignment Problem (4.43 KB, application/x-zip-compressed)
2014-02-26 05:07 EST, sandra pazos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bert Kreisel 2014-02-24 07:52:14 EST
In TQRChart the Legend is not visible (design time and run time) if Legend Position is Top or Bottom
Comment 1 sandra pazos 2014-02-26 05:07:43 EST
Created attachment 102 [details]
TQRChart  legend alignment Problem
Comment 2 david berneda 2014-03-13 12:33:43 EDT
Just a quick note: TQRChart is intended to be used only inside QReports, not standalone. 

That might be the cause.
Comment 3 david berneda 2014-03-24 13:48:40 EDT
Fixed. The Chart.Width property was being used instead of Chart.ChartBounds width. 

This is correct for normal charts, but QuickReport QRChart is special as it has a Width of "1". That "1" small width was confusing the Legend when located horizontally at top or bottom.

This very small width (1) is necessary to hide it at design-time when pasted onto a QReport, otherwise we'll get two charts, the (hidden) design-time chart and the metafile chart that QRChart displays.
Comment 4 Bert Kreisel 2014-03-25 03:40:01 EDT
Could you give me the changed source lines please?

Thanks in advance.