haskell-chart
haskell-chart copied to clipboard
chart doesn't draw lines with a single point
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.
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?