Warning: Can't synchronize with the repository (Unsupported version control system "svn". Check that the Python support libraries for "svn" are correctly installed.)

Ticket #25 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

'stroke': {'hide': True} option produces strange results

Reported by: aprzywecki@… Owned by: somebody
Priority: major Milestone: 0.5.0
Component: component1 Version:
Keywords: Cc:

Description

The 'stroke': {'hide': True} option has some problems:

1) It does not actually hide the stroke. The bars still get a grey outline.

2) The last bar colour is different from that of the others.

3) If more than 1 dataset is used, the last bar of the first dataset disappears.

Adam

Attachments

vbarchart.png (14.8 kB) - added by aprzywecki@… 4 years ago.
barchart.py (2.2 kB) - added by aprzywecki@… 4 years ago.
precip.py (1.2 kB) - added by aprzywecki@… 4 years ago.
stroke-shadow.patch (1.1 kB) - added by aprzywecki@… 4 years ago.
draws a real shadow and fixes stroke = hide
stroke.diff (0.6 kB) - added by aprzywecki@… 4 years ago.
fixes bar color changing with stroke hide = true

Change History

Changed 4 years ago by aprzywecki@…

Changed 4 years ago by aprzywecki@…

Changed 4 years ago by aprzywecki@…

Changed 4 years ago by aprzywecki@…

draws a real shadow and fixes stroke = hide

Changed 4 years ago by aprzywecki@…

The attached patch needs some work. The shadow does not work for really short bars. I'll attach a better patch soon.

Changed 4 years ago by aprzywecki@…

fixes bar color changing with stroke hide = true

Changed 4 years ago by aprzywecki@…

The new patch (stroke.diff) just fixes the bar color change with stroke hide = true. I'll open another bug for the shadow problem.

Steps to reproduce: 1. open chavier 2. generate random data 3. set "stroke -> hide" option to true

Expected result: The stroke is not shown. Actual result: The stroke is not shown but the color of the last bar is different from that of the others.

Changed 4 years ago by anonymous

  • milestone set to 0.5.0

Changed 4 years ago by lgs

  • status changed from new to closed
  • resolution set to fixed

Thanks for the bug and the (stroke.diff) patch. It's commited since [177]

Note: See TracTickets for help on using tickets.