WebRoot/FusionChartsFree/Contents/FirstChart.html
(开头部分) 18KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>FusionCharts Free Documentation</title>
<link rel="stylesheet" href="Style.css" type="text/css" />
</head>
<body>
<table width="98%" border="0" cellspacing="0" cellpadding="3" align="center">
<tr>
<td><h2 class="pageHeader">Creating your First Chart</h2></td>
</tr>
<tr>
<td valign="top" class="text"><p>Here, we'll guide you through the process
of creating your first chart. For a head start, we'll create a simple
3D Column Chart to visually depict Monthly Sales Summary. </p>
<p>To create any chart using FusionCharts, you need to assemble three things:</p>
<ol>
<li><strong>SWF File</strong> for the chart that you want to create. We
want to create a 3D Column Chart, whose SWF file is named
as <span class="codeInline">Column3D.swf</span>. All the chart SWF files
are present in <span class="codeInline">Download Package</span> >
<span class="codeInline">Charts</span> folder. </li>
<li><strong>XML Data File</strong>. FusionCharts accepts data only in
a pre-defined XML format. So, you'll need to convert your data to XML
format - either using a server side scripting language or manually.</li>
<li><strong>HTML Wrapper File</strong>. This HTML file would contain the
code to embed the chart.</li>
</ol>
<p>Before we get on to assemble the above items, let's create a new folder
that will serve as our playground for our trials and researches. Create
a new folder named as <span class="codeInline">c:\FusionCharts </span>on
your computer. We'll keep all our examples within this folder. </p>
<p>For our first chart example, we'll create another folder within the above
folder. Name the new folder as <span class="codeInline">MyFirstChart</span>
so that the structure now looks like <span class="codeInline">c:\FusionCharts\MyFirstChart</span>.</p></td>
</tr>
<tr>
<td valign="top"> </td>
</tr>
<tr>
<td valign="top" class="highlightBlock">All examples discussed in the documentation
are present in Download Package under <span class="codeInline">Code > MyFirstChart </span>
folder.</td>
</tr>
<tr>
<td valign="top" class="text"> </td>
</tr>
<tr>
<td valign="top" class="header">Setting the Chart SWF</td>
</tr>
<tr>
<td valign="top" class="text"><p>Now, to build the chart, we need to copy
chart SWF files within this folder. Before that, create another folder
<span class="codeInline">FusionCharts</span> under <span class="codeInline">c:\FusionCharts</span>,
so that the new folder looks like <span class="codeInline">c:\FusionCharts\FusionCharts</span>.
This folder would be our container for all the chart SWF files. </p>
<p>Copy all the chart SWF files (from Download Package > <span class="codeInline">Charts</span>
folder) into this newly created folder (<span class="codeInline">c:\FusionCharts\FusionCharts</span>\).</p>
后面还有 282 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。