| Ticket UUID: | ee430592d93de3bbd5428a0c0b3b9d86d56b0834 | |||
| Title: | Barchart data are drawn outside the area if the axis does not start at zero | |||
| Type: | Bug | Version: | 2.3.1 | |
| Submitter: | arjenmarkus | Created on: | 2014-12-11 07:34:17 | |
| Subsystem: | tklib :: plotchart | Assigned To: | arjenmarkus | |
| Priority: | 5 Medium | Severity: | Minor | |
| Status: | Open | Last Modified: | 2026-11-16 17:17:33 | |
| Resolution: | None | Closed By: | nobody | |
| Closed on: | ||||
| Description: |
The bars in a barchart may be drawn outside the area designated for the plot, if the axis does not start at zero. The attached program illustrates this effect (as well as an issue with the margins). Note that the problem is a trifle subtle: if the axis contains the origin, then the bars should be drawn from the origin. | |||
| User Comments: |
serhiy.storchaka added on 2026-11-16 17:17:33:
Proposed fix in branch plotchart-bars-clip-axis: the bars are clipped to the range of the axis. | |||
Attachments:
- barchart_test.tcl [download] added by arjenmarkus on 2014-12-11 07:35:14. [details]
