![]() | 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: | [TV52015820] Probably related to TV52015179, but probably a particular case not co... | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Axis | 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: | |
Probably related to TV52015179, but probably a particular case not contemplated in the fix for TV52015179. The follwing code produces overlapping labels in the bottom axis: procedure TForm1.FormCreate(Sender: TObject); var i: Integer; value: Double; begin Chart1.View3D := False; chart1.Axes.Bottom.DateTimeFormat := 'dd/mm/yy'; Chart1.AddSeries(TFastLineSeries); (Chart1.Series[0] as TFastLineSeries).TreatNulls := tnSkip; Chart1.Series[0].XValues.DateTime := False; value := 45; For i := 300 To 720 do begin value := value + 0.03 * (Random - random); Chart1.Series[0].AddXY(i, value, FormatDateTime('dd/mm/yy', Now - 365 + i)); end; Chart1.AddSeries(TFastLineSeries); (Chart1.Series[1] as TFastLineSeries).TreatNulls := tnSkip; Chart1.Series[1].XValues.DateTime := False; value := 45; For i := 1 To 720 do begin value := value + 0.03 * (Random - random); Chart1.Series[1].AddXY(i, value, FormatDateTime('dd/mm/yy', Now - 720 + i)); end; end; http://www.teechart.net/support/viewtopic.php?f=1&t=11916 [created:2011-11-08T13:13:04.000+01:00 reported by:yeray@steema.com reported in version:2011.03.30407 (TeeChart VCL)]