data_xml.html.erb
来自「FusionCharts 是一个免费的图形显示组件」· ERB 代码 · 共 13 行
ERB
13 行
<% @page_title="FusionCharts Free - Simple Column 3D Chart using dataXML method" %>
<% @page_heading="Examples" %>
<% @page_subheading="Basic example using dataXML method (with XML data hard-coded in Builder Template itself)" %>
<p>If you view the source of this page, you'll see that the XML data
is present in this same page (inside HTML code). dataXML method is
ideal when you've to plot small amounts of data.</p>
<%
# The xml is obtained as a string from builder template.
str_xml = render "fusioncharts/basic_example/sampledata"
#Create the chart - Column 3D Chart with data from str_xml variable using dataXML method
render_chart '/FusionCharts/FCF_Column3D.swf', '', str_xml, 'myNext', 600, 300, false, false do-%>
<% end -%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?