![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Opening the series editor sets "XValues.Order" property to "loNone" | ||
|---|---|---|---|
| Product: | FireMonkey TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Editors | Assignee: | yeray alonso <yeray> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | yeray |
| Priority: | --- | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Fixed workaround here: https://stackoverflow.com/a/45432628/509369 |
Place a Chart, a Button, a Label and a TeeCommander on the Form. Then use this code to see how "XValues.Order" is "Ascending" after creating the Series: var Series1: TPointSeries; procedure TForm1.Button1Click(Sender: TObject); begin case Series1.XValues.Order of loNone: Label1.Text:='None'; loAscending: Label1.Text:='Ascending'; loDescending: Label1.Text:='Descending'; end; end; procedure TForm1.FormCreate(Sender: TObject); begin Series1:=TPointSeries.Create(Self); Chart1.AddSeries(Series1); end; Then, open the editor and go to "Series\General". You'll see "SortBy" combobox is set to "None".