PlotBand border on on three out of four sides of rect #5909

Closed
dbasner opened this Issue Oct 31, 2016 · 1 comment

Projects

None yet

2 participants

@dbasner
dbasner commented Oct 31, 2016

Unsure if this is purposeful or not, but having plotBorder give a three sided border is a little confusing. It kind of gives the impression that the rectangle runs longer than the length of the chart and just isn't being rendered properly. I feel like the border should either run on all four sides, or alternatively, run on the sides related to the axis that the plot band runs on (x axis plot bands on "left" and "right" side, y axis plot bands on the "top" and "bottom" of the rectangle).

Expected behaviour

A plotBand on either the x or y axis would draw a rectangle, and adding a border would show a visible border on all four sides (or two of them to indicate the bounds of that area).

Actual behaviour

Border only appears on three sides

Live demo with steps to reproduce

http://jsfiddle.net/dbasner/vpkv81au/1/

Affected browser(s)

@oysteinmoseng
Collaborator

Thank you for your feedback. Internally all four sides currently have a border, but because of z-indexing only three sides have visible borders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment