Main Content
Using WC Graph Table
Advanced Options
However, the built-in charts and graphs have the following advanced options:
Default Mode
The default mode toggles between table and charts. It does not require a class.
Television | Movies | Music/Audio | 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="table1" summary="... class="graphme editdata"">
...</table>
Chart-Only Mode
The chartonly
class specifies a mode where charts appear on the same page and the table is hidden.
Television | Movies | Music/Audio | 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 chartonly"">
...</table>
Edit Data Mode
The editdata
class specifies a editable mode.
Television | Movies | Music/Audio | 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="table3" summary="..." class="graphme editdata">
...</table>