What I would like to do is to be able to render graphs dynamically giving defined set of parameters from a url. for example http://example.html?team=team1%chartype=pie.
This is my code for a simple 'column' http://jsfiddle.net/4mBWg/ This is my code for a simple 'pie' http://jsfiddle.net/YFdKt/
Code block (SO is not letting me post without code)
programmatically what would I need is to be able to accept a 'type' parameter example (pie, chart, line) and be able to plot the graph.
Simply changing the "type" is not sufficient. Looking at the two types of graphs I am assuming the plotOptions needs to be build dynamically...what would I need to do to accomplish this?