PMSI-AlignAlytics / dimple

An object-oriented API for business analytics
Other
2.73k stars 556 forks source link

Axes should be drawn last #60

Open jfeltesse opened 10 years ago

jfeltesse commented 10 years ago

For instance on that "official" bar chart example the drawing order is:

If you zoom in you will notice that the X axis line's color is alternating between the gray of the gridlines and the strokes of the bars when it really should be black all the way. This is caused by the fact that in the SVG world the last drawn thing ends on the top. I can fix the gridline color using a simple CSS :first-child selector to hide the very first line only but dealing with the bar themselves is another story... :cry:

johnkiernander commented 10 years ago

That's a good spot. I agree we should have axes on top of the bars.