youcef92 / flotr

Automatically exported from code.google.com/p/flotr
0 stars 0 forks source link

Call drawOutline before drawSeries in Flotr.Graph.draw [EASY] #138

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Draw a "points" graph with data points that are on the edge of the plot

What is the expected output? What do you see instead?

The points should be on top of the outline of the graph. Instead, the outline 
should be behind the points.

This is a very simple fix. Refactor Flotr.Graph.draw to call drawOutline 
immediately after drawTitles and before drawSeries instead of after.

Original issue reported on code.google.com by kau...@gmail.com on 10 Aug 2010 at 5:46

GoogleCodeExporter commented 8 years ago
I'm aware that this looks really easy, but the bars and the lines need to be 
drawn before the outline, as they overflow a little. To be able to do this, 
we'll need to change a little bit the line and bars drawing code.

Original comment by fabien.menager on 12 Aug 2010 at 12:41