summaryrefslogtreecommitdiff
path: root/js/mv/chart.js
AgeCommit message (Collapse)AuthorFilesLines
2013-05-09Add pixel padding to the map chartgh-pagesFreeyorp1-1/+2
This closes #4.
2013-05-09Stretch wide charts to cover remaining spaceFreeyorp1-3/+6
This closes #2.
2013-05-03Relate Map bubble area to instancesFreeyorp1-2/+3
Also set a sane maximum bubble size. Previously, it operated on a logarithmic scale, which meant some bubbles weren't being given their due weight. Thanks to Nard for the suggestion!
2013-05-02Pack pie charts in tighterFreeyorp1-4/+10
2013-04-23Add initial stat trellis chartFreeyorp1-0/+3
This should now be implemented efficiently enough for everything else to still work. This currently does not allow filtering, but the dimensions are prepared in a manner that makes this a simple addition.
2013-04-14Fix a silly copy errorFreeyorp1-1/+1
2013-04-13Refactor mv.js into distinct modulesFreeyorp1-0/+107
There are five modules, as follows: load.js handles initialisation and management of files parse.js handles initialisation and management of records heap.js handles initialisation and management of dimensions chart.js handles initialisation and management of charts main.js manages the other modules and status Status and file loading have been decoupled; file loading no longer directly updates the status of the progress bars. This makes the limitations of the current status system more apparent, and should make the system also easier to maintain, as progress bars are now updated at more logical times. The parser remains mostly unchanged. It will need to be altered into a full stateful parser, but this can happen later. Dimension management is now simplified, due to the addition of monoGroup. Most dimension/groups consisted of a single dimension and a group reduced by count. This convenience function combines these and unifies their access, beyond mere naming convention. Charting management is also greatly simplified, adding in chain helpers to categorise types of charts, by aspects such as being wide, being thin, being short, as well as helpers to establish common properties for bar and pie charts. There is now also a helper to take advantage of the unified monoGroup accessors.