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 - [TV52015721] If you order the values by Text (ascending or descending), when you o...
Summary: [TV52015721] If you order the values by Text (ascending or descending), when ...
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Editors (show other bugs)
Version: unspecified
Hardware: All All
: Normal enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-05 10:16 EDT by yeray alonso
Modified: 2016-07-08 11:02 EDT (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)]