![]() | 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: | [TV52016011] The Bar series width is calculated considering all the points in the ... | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | enhancement | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
The Bar series width is calculated considering all the points in the chart, not just the bar points. So having some bar series with a few points and a Line series with a lot of points, the bars width is calculated considering the line points and the bars will be very thin. This doesn't happen in .NET because the following snipped isn't present. In Series.pas, Procedure TCustomBarSeries.DoBeforeDrawChart; //... if SameClass(Series[t]) then begin //... end else begin if Series[t].YMandatory then begin tmp:=Series[t].Count; if (IMaxBarPoints=TeeAllValues) or (tmp>IMaxBarPoints) then IMaxBarPoints:=tmp; end; end; [created:2012-01-23T12:27:54.000+01:00 reported by:yeray@steema.com reported in version:2011.04.41118 (TeeChart VCL)]