คุณมีบอสที่ประทับใจง่ายด้วย visual tricks ไม่สน content? คุณ marketing guy? มีเว็บไซต์อยาก enliven pages ด้วย stunning flash graphs? ต้องการ online presentation tools ไป beyond static web pages? คุณควร看看 FusionCharts
FusionCharts = Flash charting software ให้ integrate aesthetically pleasant, animated Flash graphs และ charts เข้า Web projects มี wide range 2D และ 3D charts: area, bar, pie, column, scatter และอื่นๆ ใช้กับ plain HTML files หรือ ASP, PHP, Ruby on Rails, Python และ web technologies อื่นๆ ทำงานกับ databases เช่น SQL และ Oracle
FusionCharts = หนึ่งในหลาย products ของ InfoSoft อื่นๆ: Flash widgets for dashboards, Flash maps, interactive charts for Adobe Flash, Dreamweaver, FileMaker, Visual Basic, Google Gadgets
ทั้งหมดมีค่าใช้จ่าย แต่ FusionCharts มี free version! แม้ less powerful than payware FusionCharts Free > adequate สำหรับ home users mostly 而且 non-intrusive ไม่มี shareware-style watermark branding
Intrigued? มาโชว์วิธี setup FusionCharts ใน tutorial นี้ demo ด้วย FusionCharts v3 trial เหลือ legal aspects ให้คุณ สำหรับการเปรียบเทียบ ดูหน้าต่อไป
Download and setup
ต้อง register เพื่อดาวน์โหลด FusionCharts หลังดาวน์โหลด archive extract zip ไป folder ใดก็ได้
First steps
เปิด folder ที่ extract FusionCharts จะเห็นหลาย sub-folders

File = documentation/help file ช่วยสร้าง first Web project และใช้ FusionCharts ภายใน ควรอ่าน instruction แต่skim ผ่านบทความผมก็ได้
Create a project
สร้าง directory สำหรับ project คัดลอก files ทั้งหมดใน Charts sub-folder ไป project folder จะเห็น files เป็น SWF format ต่อไป คัดลอก FusionCharts.js จาก JSClass folder ไป project folder
Note: Freeware users มี script เหมือนกัน แต่ chart types น้อยกว่า ดู comparison ข้างต้น
ไม่จำเป็นต้องทำแบบนี้ ใช้ directory ไหนก็ได้ แล้ว relative paths ใน Web code point ไปไฟล์ที่ถูกต้อง เหมือน web project ใดๆ แต่ first time ใช้ FusionCharts 易กว่า如果 Web page, scripts, Flash charts 全部在同一個 folder
Next step: คัดลอกและสร้าง data สำหรับ chart FusionCharts ต้องการ XML as data container
Create data
Free version: สร้าง file เองด้วย text editor Full-featured v3: ใช้ XML Generator Utility handy มาก auto convert settings เป็น HTML หรือ related code
XML Generator ใน Tools sub-folder


Enter data อย่างไรก็ได้ คลิก Convert to XML

Data 显示为 XML format 如前所述 คุณอาจทำ file เองด้วย text editor เช่น Notepad ต้อง copy code 到 text editor save as something.xml
FusionCharts guide 建議 เรียก file Data.xml ถ้าไม่สบาย edit HTML เอง ใช้ default name มิฉะนั้น ใช้ชื่อไหนก็ได้

คลิก Configure Chart ปรับ look and feel เพิ่ม title/sub-title chart และ axes เปลี่ยน color palette show values in graph และ properties อื่นๆ

คลิก Generate HTML สร้าง file เลือก chart type ค่า point ตรงไปที่ SWF files ที่คัดลอก ถ้าคัดลอกแค่ subsection chart files จาก Charts sub-folder ต้องแน่ใจว่ามีใน project folder ไม่งั้น project won't work เหมือนไม่มี image file ที่ควรจะมี
เปลี่ยน width/height graph ได้ tweak นี้ภายหลาดด้วย manual HTML code

สุดท้าย copy contents 到 text editor สร้าง HTML file เอง 叫什麼都可以 詳細請參考 在 downloaded package
Review data
Data.xml file:

Standard XML แก้ไขโดยตรงได้ เปลี่ยน values, keys, chart caption
HTML file:

Code ที่ต้องการ อยู่ระหว่าง comments: Start Code for FusionCharts chart และ End code for FusionCharts chart Copy 去任何 project 留意 relative paths .js, .swf, chart size 等 customize as you see fit 現在來看 FusionCharts 能做什麼
Superb graphs
有了, really fancy stuff, 2D 和 3D pies:


另一個例子 3D bar:

看看這些 charts 整合在 webpage 裡 有文字前後 變成 very decent article:
最好的部分: 你可以 manipulate graphs, rotate, detach data bits, cool tricks 當然需要 Javascript enabled 和 Flash plugin installed
Graphs 有 lovely entrance animation 載入時 adds style 用 Wink 錄製:
Mini-summary
在 Conclusion 之前 short list of steps 為了 get FusionCharts up and running:
- Download 和 extract archive
- Copy Flash files (.swf 在 Charts) 和 Javascript file (.js 在 JSClass) 到 project file 可以用 single folder 或 several locations Less knowledgeable users 應該用 single unified project folder
- Create chart data, copy 到 text file save as Data.xml
- Create HTML code, customize, copy 到 text file save 名字隨意 使用 relative/absolute paths 所有 relevant files Advanced users 會 tweak setup 任何方式
- Load 新 HTML file 在 Web browser 享受 cool charts 改 keys, values, caption, size, type, palette 適合需求
Setup FusionCharts 不是 plug-and-play 但 definitely doable 如果熟悉 Web design (為什麼不熟悉如果 intend 使用 online presentation technology) FusionCharts = breeze 如果 newbie 有工作要做 希望 tutorial ทำมัน simple
Conclusion
FusionCharts = definitely useful, unique technology 豐富 online presentations 很快 很容易 最重要的是 不需要是 code master 工作難的部分做完了 你只讓 fancy graphs 坐好在 Web pages
Combined with Wink 和或許 Slidy 你在 for a treat 如果 serious 可能考慮買 full payware version
希望 enjoy tutorial See you around.
Cheers.