Prev | Current Page 64 | Next

David Berube

"Practical Reporting with Ruby and Rails"

)
You can find out more about Scruffy??™s various chart types at the Scruffy home page
(http://scruffy.rubyforge.org/).
nTip A graphing plug-in for Rails called ZiYa offers very attractive graphs and is easy to use. Unfortunately,
it??™s based on a commercial SWF component, called XML/SWF Charts, so not only will your users need Flash,
but you??™ll also need to purchase the component. (Actually, you can use ZiYa without paying, but if your users
click the graph, they??™ll be taken to the XML/SWF Charts home page, which is unacceptable for many purposes.)
If you??™re looking for a commercially supported graphing library, ZiYa may be a good choice. Another
option is an open source Flash charting plug-in, one of which is covered in Chapter 5.
Now let??™s use Gruff to generate some interesting graphs.
Graphing Data
With Gruff, you can create bar charts, area charts, line charts, and more. To see how it
works, you??™ll create a couple of charts for Transmegtech Studios, the fictional game development
company used in the examples in Chapters 1 and 2.


Pages:
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
texas holdem zasady noclegi w górach PokerStars znaki drogowe pozycjonowanie