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 1576

Summary: [TV52015721] If you order the values by Text (ascending or descending), when you o...
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: EditorsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2016-07-08 11:02:31 EDT
If you order the values by Text (ascending or descending), when you open the editor Series/General, the two "Sort" comboboxes (CBSortBy and CBSortOrder in TeeEdiSeri.pas) don't reflect your configuration.
For example, having this series and values:
uses Series;
procedure TForm1.FormCreate(Sender: TObject);
begin
  with Chart1.AddSeries(TBarSeries) as TBarSeries do
  begin
    Add(100, 'AB');
    Add(100, 'AA');
    Add(100, 'BB');
    Add(100, 'BA');
  end;
end;
If you set Text descending order by any of the following options:
1. call SortByLabels(loDescending) at runtime.
2. navigate through Series/General and select Text in the first "Sort" combobox and Descending in the second "Sort" combobox. Close the editor.
If you open the editor "Series/General", it still shows "X" and "Ascending" in the comboboxes. [created:2011-09-05T10:16:38.000+02:00 reported by:yeray reported in version:2011.03.30407 (TeeChart VCL)]