You can get a full list of parameters from http://teethgrinder.co.
uk/open-flash-chart/.
The final line of the code converts the hash into key=value pairs surrounded by
ampersands, which is the data format required by Open Flash Chart.
Summary
This chapter demonstrated how you can easily use Rails, along with the techniques
you??™ve already learned, to quickly create web applications that serve reports as textual
HTML or as Flash charts. Rails is a fast and easy way to create reporting software. The
Web is ubiquitous, which gives it implicit deployment advantages, and Rails is a great
way to create web applications.
CHAPTER 5 n CONNECTING YOUR REPORTS TO THE WORLD 107
CHAPTER 5 n CONNECTING YOUR REPORTS TO THE WORLD 108
However, while Rails takes care of many of the problems inherent in web applications,
it cannot address all software issues. You??™re still likely to encounter various
application-specific problems. The rest of this book is dedicated to examples of how
you can solve specific reporting problems with Ruby.
Pages:
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167