![]() | 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: | Side by Side Bars overlap | ||
---|---|---|---|
Product: | FireMonkey TeeChart | Reporter: | yeray alonso <yeray> |
Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
Status: | CONFIRMED --- | ||
Severity: | major | CC: | marc, sandra |
Priority: | Normal | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows | ||
URL: | http://www.teechart.net/support/viewtopic.php?f=17&t=16485 | ||
Chart Series: | Bar | Delphi / C++ Builder RAD IDE Version: | RAD 10.1 Berlin |
Attachments: | test project |
Update. The problem occurs when is set the Xvalues property Order to Descending. E.g: Chart1[0].XValues.Order := loNone; Chart1[1].XValues.Order := loDescening; The problem appears when you set a Descending order to the XValues on the second bar series. Also happens in VCL: uses Series; var Series1, Series2: TBarSeries; procedure TForm1.FormCreate(Sender: TObject); begin Series1:=Chart1.AddSeries(TBarSeries) as TBarSeries; Series1.FillSampleValues; Series2:=Chart1.AddSeries(TBarSeries) as TBarSeries; Series2.XValues.Order := loDescending; Series2.FillSampleValues; end; The workaround is to set the order back to Ascending: procedure TForm1.Button1Click(Sender: TObject); begin Series2.XValues.Order:=loAscending; Series2.XValues.Sort; Chart1.Repaint; end; |
Created attachment 735 [details] test project As the customer shows in a screenshot, some of the bars overlap when side by side. See the attached project. It looks as if the bars were drawn in the wrong order. Works fine in VCL.