Replace charting library Flotr2 with ChartJS using React. Fixes #3904
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f715373218002cea42d711c0abc6eb753c4efcab
Author: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Modified Files
--------------
DEPENDENCIES | 275 ++++---
docs/en_US/release_notes_4_25.rst | 3 +-
web/.eslintrc.js | 10 +
web/package.json | 11 +-
web/pgadmin/dashboard/static/css/dashboard.css | 5 -
web/pgadmin/dashboard/static/js/ChartsDOM.jsx | 51 ++
web/pgadmin/dashboard/static/js/Graphs.jsx | 388 ++++++++++
web/pgadmin/dashboard/static/js/charting.js | 121 ---
web/pgadmin/dashboard/static/js/dashboard.js | 389 +---------
.../dashboard/static/js/dashboard_components.jsx | 74 ++
web/pgadmin/dashboard/static/scss/_dashboard.scss | 14 +
.../templates/dashboard/database_dashboard.html | 57 +-
.../templates/dashboard/server_dashboard.html | 56 +-
web/pgadmin/static/js/chartjs/index.jsx | 95 +++
web/pgadmin/static/js/custom_hooks.js | 29 +
web/pgadmin/static/scss/pgadmin.scss | 1 +
.../javascript/dashboard/charting_spec.js | 100 ---
web/regression/javascript/dashboard/graphs_spec.js | 169 ++++
.../javascript/dashboard/graphs_wrapper_spec.js | 90 +++
web/regression/javascript/fake_endpoints.js | 1 +
web/regression/javascript/helper/enzyme.helper.js | 4 +
web/webpack.config.js | 17 +-
web/webpack.shim.js | 5 -
web/webpack.test.config.js | 9 +-
web/yarn.lock | 854 ++++++++++++++++++++-
25 files changed, 2003 insertions(+), 825 deletions(-)