NodeJS application to render data arranged in sheets in XLS file as line or bar chart using ChartJS
Important Use npm install --legacy-peer-deps to avoid peer dependency issue with NPM >= 7.
ng serve -o - Starts the user interface in your browser.
- Browse and upload a sample data file (i.e.
./data/sample.xlsx) - Click
Plotbutton to render graphs
Will render data from XLSX workbooks with sheets named CamelPrefix_LineChart or CamelPrefix_BarChart, other tabs will be ignored.
./data/sample.xlsx- Two sheets correctly formatted, will not return errors../data/sample_corrupt.xlsx- Several correct sheets, corrupt sheets as follows:- Incorrect
hoursEndingsX column label (suffixsadded) - Missing Y data columns
- Incorrect sheet suffix (
_linchart)
- Incorrect