A better design approach would be to expose chart creation with HTTP POST and JSON (for developers) and provide a graphical interface on top of it (for non-developers).
For all his sometimes plodding approach at home, Mr Wagoner had proved surprisingly fleet of foot abroad, where GM was making 65% of its sales (see chart 1).
You can implement this approach with Project Zero by encapsulating chart URL creation in a Groovy script and then making an Ajax-based Web interface that invokes that script via HTTP.
可以使用 Project Zero 实现这种方法,具体做法是将图表 URL 的创建封装在一个 Groovy 脚本中,然后创建一个基于 Ajax 的 Web 界面,该界面通过 HTTP 调用那个脚本。