最后,在视图页中,render_chart函数将会渲染出图表。 这个函数的参数是swf图表名称、url、width、height、debugMode和registerWithJS。
Finally, in the view page, the chart is rendered using the function render_chart which takes the swf chart file name, url, xml, width, height, debugMode, registerWithJS as parameters.
在这个例子中所使用的约定是,使用一个和合成要素名称一致的类图表,并且在包含该合成要素的包中,显示它的外部视图。
The convention used in this example is to use a class diagram with a name that is the same as the component, and, in the package containing the component, to show its external view.
当您的绘图区上需要一个以上的图表类型时,名称作为标识符。
The name is the identifier when you want to have more than one plot type on your chart.
应用推荐