Skip to content

Axis Background Grid #1

@volomike

Description

@volomike

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions