![]() | 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: | [TV52015681] Some problems with BarSeries BarWidthPercent introduced in v2010.02. ... | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | major | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Some problems with BarSeries BarWidthPercent introduced in v2010.02. procedure TForm1.FormCreate(Sender: TObject); begin Chart1.View3D:=false; Chart1.Legend.Visible:=false; with Chart1.AddSeries(TBarSeries) as TBarSeries do begin FillSampleValues(); BarWidthPercent:=100; ColorEachPoint:=true; end; end; 1. See the picture "superposed" made with the code above. 2. If you zoom, the bars become separated. See the picture "zoomed_separated". If you have a lot of bars, AutoBarSize=true seems to fix the problem, but only for moderated zooms. 3. If you set AutoBarSize=true, the problems above still happen and a new one appears: if you scroll the chart, the bars become thinner and separated. See the picture "AutoBarSize_scrolled". In v2010.01 the problems #1 and #2 didn't happen at all, and the #3 was slightly different: with AutoBarSize=true, when you scroll the chart, the bars don't become separated but the last bar gets thinner. [created:2011-08-04T10:12:58.000+01:00 reported by:yeray@steema.com reported in version:2011.03.30407 (TeeChart VCL)]