Prev | Current Page 314 | Next

David Berube

"Practical Reporting with Ruby and Rails"

In most cases, it??™s sufficient to check by guid alone. However, for news items, checking
by all three is a good idea, since you may eventually want to have more aggregators,
which may assign the guid or url for items differently.
Creating the News Tracker Report Application
Next, let??™s take a look at creating a Rails application that shows the report. As noted at the
beginning of the chapter, you??™ll use the CSS Graphs Helper plug-in to create the graphs.
This provides a simple way to graph data, by creating HTML graphs using CSS. In Chapter
7, you generated custom HTML and CSS graphs using Markaby, which is the most
flexible approach, but CSS Graphs Helper does this automatically.
In this example, you??™ll use the CSS Graphs Helper??™s complex_bar_graph method to
create a thermometer-like chart. Also available are a bar_graph method, which creates
vertical charts, and a horizontal_bar_chart method, which creates horizontal bar charts.
You can get more information about CSS Graphs Helper and its various charts at
http://nubyonrails.


Pages:
302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326
siatki tkane Brian McFadden wlatcy moch czujnik temperatury Matisyahu