|
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.
|