stacked.html.erb
来自「FusionCharts 是一个免费的图形显示组件」· ERB 代码 · 共 19 行
ERB
19 行
<%
# The following three variables are used in the "common" layout
%>
<% @page_title="FusionCharts Free - Array Example using Stacked Column 3D Chart" %>
<% @page_heading="Examples" %>
<% @page_subheading="Plotting Stacked Chart from data contained in Array." %>
<%
#strCategories - Stores XML for the <categories> and child <category> elements
#strDataProdA - Stores XML for current year's sales
#strDataProdB - Stores XML for previous year's sales
#The xml is obtained as a string from builder template.
str_xml = render "fusioncharts/array_example/stacked_data",{:arr_data => @arr_data}
#Create the chart - Stacked Column 3D Chart with data contained in str_xml
render_chart "/FusionCharts/FCF_StackedColumn3D.swf", "", str_xml, "productSales", 600, 300, false, false do -%>
<% end -%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?