Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
Android
/
FusionChartsFree
/
Code
/
RoR
/
SampleApp
/
app
/
views
/
fusioncharts
/
basic_example
:
basic_data_xml.html.erb
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<% @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_html '/FusionCharts/FCF_Column3D.swf', '', str_xml, 'myNextHTML', 600, 300, false do-%> <% end -%>