How to setup jpgraphs and wxgraphs

And that could be made selectable the same way the template pages work eg http://www.berdalweather.net/index.php?lang=en