View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0035212 | Lazarus | TAChart | public | 2019-03-09 21:26 | 2019-03-10 00:01 |
Reporter | Marcin Wiazowski | Assigned To | wp | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.1 (SVN) | ||||
Target Version | 2.2 | ||||
Summary | 0035212: TAChart: trivial labeling issue in TFieldSeries | ||||
Description | Let's assume that TFieldSeries uses a data source having YCount = 6: - Y0 is a coordinate of the data point, - Y1 is a height of the vector (it's not a "normal" data point), - Y2 .. Y5 are not used. But marks for all Y0 .. Y5 coordinates are drawn, which is improper. The attached patch is a most trivial patch that can exist, and solves the problem. As I checked in the code, all the other existing series seem to handle the described case properly. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 60637 | ||||
LazTarget | 2.2 | ||||
Widgetset | Win32/Win64 | ||||
Attached Files |
|
|
|
|
|
|
patch.diff (413 bytes)
Index: components/tachart/tamultiseries.pas =================================================================== --- components/tachart/tamultiseries.pas (revision 60636) +++ components/tachart/tamultiseries.pas (working copy) @@ -1833,7 +1833,7 @@ DrawVector(ADrawer, p1, p2, lPen); end; end; - DrawLabels(ADrawer); + DrawLabels(ADrawer, 0); finally lPen.Free; end; |
|
Applied, thank you. |
|
Thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-03-09 21:26 | Marcin Wiazowski | New Issue | |
2019-03-09 21:26 | Marcin Wiazowski | File Added: Reproduce.zip | |
2019-03-09 21:27 | Marcin Wiazowski | File Added: Reproduce.png | |
2019-03-09 21:27 | Marcin Wiazowski | File Added: patch.diff | |
2019-03-09 22:51 | wp | Fixed in Revision | => 60637 |
2019-03-09 22:51 | wp | LazTarget | => 2.2 |
2019-03-09 22:51 | wp | Note Added: 0114747 | |
2019-03-09 22:51 | wp | Status | new => resolved |
2019-03-09 22:51 | wp | Resolution | open => fixed |
2019-03-09 22:51 | wp | Assigned To | => wp |
2019-03-09 22:51 | wp | Target Version | => 2.2 |
2019-03-10 00:01 | Marcin Wiazowski | Note Added: 0114752 | |
2019-03-10 00:01 | Marcin Wiazowski | Status | resolved => closed |