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 307 - [TV52015681] Some problems with BarSeries BarWidthPercent introduced in v2010.02. ...
Summary: [TV52015681] Some problems with BarSeries BarWidthPercent introduced in v2010...
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 11:12 EDT by yeray alonso
Modified: 2013-11-20 10:37 EST (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 2013-11-20 10:37:36 EST
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)]