separates Chart.prototype fns from ChartInternal.prototype fns (api.flow and api.transform)
separates Chart.prototype fns from ChartInternal.prototype fns (api.flow and api.transform)
separates sources into 3 modules + core
moves API and inherit functions to their own file, inside axis folder
moves ChartInternal constructor from core.js to chartinternal/index.js file
moves Chart constructor from core.js to chart/index.js file
moves Chart constructor from core.js to chart/index.js file
separates core.js into start.js and end.js
separates remaining core.js logic into head.js and tail.js
polyfill should be in the global namespace
concatenate using the new paths
creates multitask to generate modules axis, chart and chartinternal
runs tests against new module structures
adds rollup script
module concat tasks also add their imports and exports
es6_modules folder, which also contains rollup.entry skeleton
adds rollup task
renames api_inherits
multitask build_rollup
The current Travis config won't ever pass newly-added unit tests because it doesn't do an actual build from the updated source files. This just replaces the
```- npm run lint
- npm test```
lines with `grunt`.
Code to access objects by path was taken from the solution of
http://stackoverflow.com/questions/6491463
When JSON objects are used to load chart data, nested / inner objects and
arrays can now be loaded, too.
See additional tests in spec/data-spec.js for examples, how to access nested
JSON object values
I often need to adjust the values presented to the user in the tooltip. Therefore I need information about all data points being displayed for the current point in time.
BTW: I mainly need this because I cannot format the contents of a bar chart depending on its sign.