![]() | 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: | Axis Labels not shown in some circumstances | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Axis | Assignee: | david berneda <david> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | --- | ||
| Version: | 20.170306 | ||
| Target Milestone: | v2017.20 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=16333#p72631 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
Depending on the Chart width and what points have labels, the bottom axis doesn't show the labels. uses Series; var Chart1: TChart; procedure TForm1.FormCreate(Sender: TObject); function IsNumberInArray(const ANumber: integer; const AArray: array of integer): boolean; var i: integer; begin for i := Low(AArray) to High(AArray) do if ANumber = AArray[i] then Exit(true); result := false; end; var i, c: Integer; begin Chart1:=TChart.Create(Self); Chart1.Parent:=Self; Chart1.Width:=538; Chart1.Height:=296; c:=0; with Chart1.AddSeries(TLineSeries) do for i:=1 to 723 do if IsNumberInArray(i, [2,36,96,156,216,276,336,396,455,515,575,635,695]) then begin Add(50,IntToStr(c)); Inc(c); end else Add(50); end; Reproduced in v2016.19. Works fine in v2016.18. "Speed fix" changes affecting this: ea504ca and 8b371e8 in git.