pivot.js
Advanced interactive Pivot table.
Objects
CSS classes
- .pivot_table
- .h1
- .h2
- .odd
- .even
Creates Pivot table. Arguments are explained below:
- div - table will be created as a child of this element
- chartDiv - pivot chart will be created as a child of this element
- filterDiv - 'paging' selects will go here
- headerRow - array of headings for dataRows
- dataRows - array of rows. Every row (array) must have the same number of elements as headerRow
- headerRowIndexes - array, containing indexes of columns which should be drawn as vertical aggregate columns
- headerColIndexes - array, containing indexes of columns which should be drawn as horizontal aggregate columns
- filterIndexes - array, containing indexes of columns which should be drawn as paging aggregate columns
- dataColumnIndex - index of data column
- optObj - object containing
- headingBefore - should we create headings before data?
- headingAfter - should we create headings after data?
- agg - constant, specifying appropriate aggregating function index
- showChart - show chart?