Had the pleasure of trying to debug why a chart came up very
incorrectly - it was the default column chart instead of the specified
chart.
Turns out that I had forgotten that I have a
before_filter :login_required in the controller, and the load_chart
code therefore failed.
It would be nice to have the chart produce an error message about this
rather than loading the wrong chart.
/S