BDKD-46: Refactor: move all plotting code from webapp to library.
BDKD-46: Refactor: move all plotting code from webapp to library.

sirca/bdkd_datastore,sirca/bdkd_datastore,sirca/bdkd_datastore,sirca/bdkd_datastore,sirca/bdkd_datastore