fix(components.area) Another empty data check.
refactor(graphs.graph-builder) Moved generic functions.
fix(components.area) Fix null array bug in area.update() data check.
I broke this in my legend branch. Removed X and Y line generator functions from being directly configurable on the line component. Instead using the accessor functions defined in the data configuration. Fixed broken tests. Added new test to ensure data config X and Y accessors functions are called when supplied.
Other minor changes: - Modified the example to be more like the mocks. - Added 2nd smaller examlp graph to showcase scaling and make sure 2 graphs can be rendered simultaneously. - Updated line to pass color from its own config. - Fixed the code in graphs.graph that adds to legend. - Fixed bug in graph.component(). Added option to retrieve all components too. - Fixed bug in string spec.