The Ext Javascript library has just released (as of v3.0) a new set of tools to generate Adobe Flash charts and graphs, just by programming in Javascript! It is all client-side, so you can use it with any backend webserver (Rails, PHP, ASP.NET, etc.)
Check out examples here:
ExtJS Flash Charting Examples
It is powerful and looks great. The nice thing is that since it is Javascript, you can create form fields that, once filled out, regenerate the graph using JSON/XML data from the server using the new data that the user just typed! It's pretty nifty.