Main Content

Using WC Graph Table

Chart Colors


Default Colors

By default, charts and graphs in Large Banner will assume the color scheme of the template.

Table 1.3. Media Usage: US Children, 8 to 18 Years Old, Average Hours Spent with Each Medium in a Typical Day
  Television Movies Music/Audio Print Computer Video Games
1999 227 18 108 43 27 26
2004 231 25 104 43 62 49
2009 269 25 151 38 89 73

Override Colors

You can override colors by adding a color class to rows. For example...

Table 1.3. Media Usage: US Children, 8 to 18 Years Old, Average Hours Spent with Each Medium in a Typical Day
  Television Movies Music/Audio Print Computer Video Games
1999 227 18 108 43 27 26
2004 231 25 104 43 62 49
2009 269 25 151 38 89 73
<table id="table2" summary="..."class="graphme barchart">
</caption>...</caption>
</thead>...</thead>
</tbody>
<tr class="colorCC0000">...</tr>
<tr class="color00CC00">...</tr>
<tr class="color0000CC">...</tr>
</tbody>
</table>
Styles for Overriding Default Colors
  Blue Green Red
If you want this color... #0000CC #00CC00 #CC0000
add this code to your <tr> tag... class="color0000CC" class="color00CC00" class="colorCC0000"

Top of page