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 1483 - Request for Row and Column properties in Legend
Summary: Request for Row and Column properties in Legend
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Legend (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-30 06:27 EDT by christopher ireland
Modified: 2016-03-30 06:30 EDT (History)
0 users

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


Attachments
The Legend to obtain (53.32 KB, image/png)
2016-03-30 06:27 EDT, christopher ireland
Details
The Legend which needs to be produced. (3.31 KB, image/png)
2016-03-30 06:28 EDT, christopher ireland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description christopher ireland 2016-03-30 06:27:16 EDT
Created attachment 574 [details]
The Legend to obtain

To produce a Legend as per the attachment. 

Presently, code such as the following:

procedure TForm1.InitializeChart;
var t : Integer;
begin
   Chart1.View3D:=false;
   for t:=0 to 5 do
    Chart1.AddSeries(TLineSeries).FillSampleValues;

   With Chart1.Legend do
   begin
    ResizeChart:=false;
    Alignment:=laTop;
    CustomPosition:=true;
    Top:=100;
    Left:=100;
   end;
end;

produces a Legend whose number of columns cannot be specified programmatically.
Comment 1 christopher ireland 2016-03-30 06:28:45 EDT
Created attachment 575 [details]
The Legend which needs to be produced.
Comment 2 christopher ireland 2016-03-30 06:30:12 EDT
The Legend produced by this code:


procedure TForm1.InitializeChart;
var t : Integer;
begin
   Chart1.View3D:=false;
   for t:=0 to 5 do
    Chart1.AddSeries(TLineSeries).FillSampleValues;

   With Chart1.Legend do
   begin
    ResizeChart:=false;
    Alignment:=laTop;
    CustomPosition:=true;
    Top:=100;
    Left:=100;
   end;
end;

can be seen in the attachment called "The Legend to obtain". The Legend that instigated this feature request can be seen in the attachment called "The Legend which needs to be produced".