-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Can you suggest a way to add an axis background grid behind the bars?
Here's a simple strategy I was thinking of...
Do you know how you can generate a GIF with inline data URLs? Documentation is here:
http://www.websiteoptimization.com/speed/tweak/inline-images/
Therefore, you could create a repeating image pattern and place it behind the chart's main DIV. You could then provide an option where one selects the pixel height of the lines, or use the word 'auto' to have it decide the most optimal pixel height. From there, it would use the inline data URL technique to create a GIF and repeat it behind the chart.
The only catch is that this won't work with IE6 and IE7, so you'd have to caveat and say that this feature is not available for those. Works on IE8+, however. (And, of course, works in all browsers besides IE since the days of IE7's release.)