haskell-chart icon indicating copy to clipboard operation
haskell-chart copied to clipboard

chart doesn't draw lines with a single point

Open ghorn opened this issue 10 years ago • 1 comments

I'm not sure if this is an intentional design decision, but drawing a line with a single point results in the axes changing to the correct range, but nothing being draw. I would suggest drawing a dot or something.

ghorn avatar Apr 29 '15 21:04 ghorn

It was intentional - I had been working with the idea that a zero length line is invisible.

But I guess it really should depend on the style of your lines. If your lines have rounded end caps, there should indeed be a dot drawn with diameter equal to the radius.

Is this important for you? Want to make a pull request?

timbod7 avatar Apr 30 '15 22:04 timbod7