Ticket #20 (closed defect: fixed)
range does not always work as expected
| Reported by: | aprzywecki@… | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | 0.5.0 |
| Component: | component1 | Version: | |
| Keywords: | Cc: |
Description
When I specify my own range for x as (0.0, 4.0) and I have 5 data points, I get 5 x ticks and 5 bars as expected.
With the same range, if I have 2 data points, I get 3 x ticks (taking up less than half the graph) and 3 bars (one over each x tick) as expected.
However, with the same range, if I have just one data point, I get one tick (taking up 1/5th of the graph as expected) but the one bar takes up most of the graph instead of being over the tick.
Please refer to the attached image. The range there is (0.0, 4.0) but the bar takes up most of the graph.
It is currently impossible to plot one bar with a range that is greater than (0.0, 0.0). No problem for 2 or more bars and oversized ranges.
